[INFO] fetching crate binfarce 0.2.1... [INFO] testing binfarce-0.2.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate binfarce 0.2.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate binfarce 0.2.1 [INFO] finished tweaking crates.io crate binfarce 0.2.1 [INFO] tweaked toml for crates.io crate binfarce 0.2.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate binfarce 0.2.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e85dac69ce53377ac0d0ff8be21585a4a9ef818edd75e40d0ae5f414f3baa73 [INFO] running `Command { std: "docker" "start" "-a" "7e85dac69ce53377ac0d0ff8be21585a4a9ef818edd75e40d0ae5f414f3baa73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e85dac69ce53377ac0d0ff8be21585a4a9ef818edd75e40d0ae5f414f3baa73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e85dac69ce53377ac0d0ff8be21585a4a9ef818edd75e40d0ae5f414f3baa73", kill_on_drop: false }` [INFO] [stdout] 7e85dac69ce53377ac0d0ff8be21585a4a9ef818edd75e40d0ae5f414f3baa73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c7e0cf32cab2d01b85d9bae4332dc543eb8bc6b0e38651a0b779e5bb1dbcfc7 [INFO] running `Command { std: "docker" "start" "-a" "6c7e0cf32cab2d01b85d9bae4332dc543eb8bc6b0e38651a0b779e5bb1dbcfc7", kill_on_drop: false }` [INFO] [stderr] Compiling binfarce v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `flags`, `addr`, `info`, and `addralign` are never read [INFO] [stdout] --> src/elf32.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 129 | struct RawSection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 132 | flags: elf::Word, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 133 | addr: elf::Address, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | info: elf::Word, [INFO] [stdout] | ^^^^ [INFO] [stdout] 138 | addralign: elf::Word, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawSection` has derived impls for the traits `Clone` and `Debug`, but these are 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 `flags`, `addr`, `info`, and `addralign` are never read [INFO] [stdout] --> src/elf64.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 129 | struct RawSection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 132 | flags: elf::XWord, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 133 | addr: elf::Address, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | info: elf::Word, [INFO] [stdout] | ^^^^ [INFO] [stdout] 138 | addralign: elf::XWord, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawSection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cputype`, `cpusubtype`, `filetype`, `sizeofcmds`, and `flags` are never read [INFO] [stdout] --> src/macho.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct MachoHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 44 | cputype: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | cpusubtype: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | /// type of file - exec, dylib, ... [INFO] [stdout] 47 | filetype: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | sizeofcmds: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MachoHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `machine`, `time_date_stamp`, and `characteristics` are never read [INFO] [stdout] --> src/pe.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PeHeader { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 28 | machine: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | number_of_sections: u16, [INFO] [stdout] 30 | time_date_stamp: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | characteristics: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `virtual_size` is never read [INFO] [stdout] --> src/pe.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Section<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 38 | name: &'a str, [INFO] [stdout] 39 | virtual_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Section` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/demangle/mod.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn demangle(mut s: &str) -> Demangle { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | pub fn demangle(mut s: &str) -> Demangle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/demangle/legacy.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn demangle(s: &str) -> Result<(Demangle, &str), ()> { [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | pub fn demangle(s: &str) -> Result<(Demangle<'_>, &str), ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/demangle/v0.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn demangle(s: &str) -> Result<(Demangle, &str), Invalid> { [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn demangle(s: &str) -> Result<(Demangle<'_>, &str), Invalid> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/elf32.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/elf64.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/macho.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn parse(data: &[u8]) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/macho.rs:126:49 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn find_section bool>(&self, callback: F) -> Result, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn find_section bool>(&self, callback: F) -> Result>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/macho.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn section_with_name(&self, segment_name: &str, section_name: &str) -> Result, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 171 | pub fn section_with_name(&self, segment_name: &str, section_name: &str) -> Result>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/macho.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | fn commands(&self) -> MachoCommandsIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 178 | fn commands(&self) -> MachoCommandsIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pe.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse(data: &[u8]) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pe.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn section_with_name(&self, name: &str) -> Result, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn section_with_name(&self, name: &str) -> Result>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pe.rs:99:49 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn find_section bool>(&self, callback: F) -> Result, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | pub fn find_section bool>(&self, callback: F) -> Result>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "6c7e0cf32cab2d01b85d9bae4332dc543eb8bc6b0e38651a0b779e5bb1dbcfc7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c7e0cf32cab2d01b85d9bae4332dc543eb8bc6b0e38651a0b779e5bb1dbcfc7", kill_on_drop: false }` [INFO] [stdout] 6c7e0cf32cab2d01b85d9bae4332dc543eb8bc6b0e38651a0b779e5bb1dbcfc7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcf96276599d318162ad1b928a0a692951d0057ce5ef2fe52c511ade27cbcdf2 [INFO] running `Command { std: "docker" "start" "-a" "fcf96276599d318162ad1b928a0a692951d0057ce5ef2fe52c511ade27cbcdf2", kill_on_drop: false }` [INFO] [stdout] warning: fields `flags`, `addr`, `info`, and `addralign` are never read [INFO] [stdout] --> src/elf32.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 129 | struct RawSection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 132 | flags: elf::Word, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 133 | addr: elf::Address, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | info: elf::Word, [INFO] [stdout] | ^^^^ [INFO] [stdout] 138 | addralign: elf::Word, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawSection` has derived impls for the traits `Clone` and `Debug`, but these are 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 `flags`, `addr`, `info`, and `addralign` are never read [INFO] [stdout] --> src/elf64.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 129 | struct RawSection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 132 | flags: elf::XWord, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 133 | addr: elf::Address, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | info: elf::Word, [INFO] [stdout] | ^^^^ [INFO] [stdout] 138 | addralign: elf::XWord, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawSection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cputype`, `cpusubtype`, `filetype`, `sizeofcmds`, and `flags` are never read [INFO] [stdout] --> src/macho.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct MachoHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 44 | cputype: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | cpusubtype: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | /// type of file - exec, dylib, ... [INFO] [stdout] 47 | filetype: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | sizeofcmds: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MachoHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `machine`, `time_date_stamp`, and `characteristics` are never read [INFO] [stdout] --> src/pe.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PeHeader { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 28 | machine: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | number_of_sections: u16, [INFO] [stdout] 30 | time_date_stamp: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | characteristics: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `virtual_size` is never read [INFO] [stdout] --> src/pe.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Section<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 38 | name: &'a str, [INFO] [stdout] 39 | virtual_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Section` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/demangle/mod.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn demangle(mut s: &str) -> Demangle { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | pub fn demangle(mut s: &str) -> Demangle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/demangle/legacy.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn demangle(s: &str) -> Result<(Demangle, &str), ()> { [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | pub fn demangle(s: &str) -> Result<(Demangle<'_>, &str), ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/demangle/v0.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn demangle(s: &str) -> Result<(Demangle, &str), Invalid> { [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn demangle(s: &str) -> Result<(Demangle<'_>, &str), Invalid> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/elf32.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/elf64.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/macho.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn parse(data: &[u8]) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/macho.rs:126:49 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn find_section bool>(&self, callback: F) -> Result, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn find_section bool>(&self, callback: F) -> Result>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/macho.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn section_with_name(&self, segment_name: &str, section_name: &str) -> Result, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 171 | pub fn section_with_name(&self, segment_name: &str, section_name: &str) -> Result>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/macho.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | fn commands(&self) -> MachoCommandsIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 178 | fn commands(&self) -> MachoCommandsIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pe.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse(data: &[u8]) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling binfarce v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pe.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn section_with_name(&self, name: &str) -> Result, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn section_with_name(&self, name: &str) -> Result>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pe.rs:99:49 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn find_section bool>(&self, callback: F) -> Result, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | pub fn find_section bool>(&self, callback: F) -> Result>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `flags`, `addr`, `info`, and `addralign` are never read [INFO] [stdout] --> src/elf32.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 129 | struct RawSection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 132 | flags: elf::Word, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 133 | addr: elf::Address, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | info: elf::Word, [INFO] [stdout] | ^^^^ [INFO] [stdout] 138 | addralign: elf::Word, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawSection` has derived impls for the traits `Clone` and `Debug`, but these are 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 `flags`, `addr`, `info`, and `addralign` are never read [INFO] [stdout] --> src/elf64.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 129 | struct RawSection { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 132 | flags: elf::XWord, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 133 | addr: elf::Address, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | info: elf::Word, [INFO] [stdout] | ^^^^ [INFO] [stdout] 138 | addralign: elf::XWord, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawSection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cputype`, `cpusubtype`, `filetype`, `sizeofcmds`, and `flags` are never read [INFO] [stdout] --> src/macho.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 43 | pub struct MachoHeader { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 44 | cputype: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 45 | cpusubtype: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | /// type of file - exec, dylib, ... [INFO] [stdout] 47 | filetype: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | sizeofcmds: u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 52 | flags: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MachoHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `machine`, `time_date_stamp`, and `characteristics` are never read [INFO] [stdout] --> src/pe.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct PeHeader { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 28 | machine: u16, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 29 | number_of_sections: u16, [INFO] [stdout] 30 | time_date_stamp: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | characteristics: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PeHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `virtual_size` is never read [INFO] [stdout] --> src/pe.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Section<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 38 | name: &'a str, [INFO] [stdout] 39 | virtual_size: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Section` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/demangle/mod.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn demangle(mut s: &str) -> Demangle { [INFO] [stdout] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | pub fn demangle(mut s: &str) -> Demangle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/demangle/legacy.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn demangle(s: &str) -> Result<(Demangle, &str), ()> { [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 49 | pub fn demangle(s: &str) -> Result<(Demangle<'_>, &str), ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/demangle/v0.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn demangle(s: &str) -> Result<(Demangle, &str), Invalid> { [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn demangle(s: &str) -> Result<(Demangle<'_>, &str), Invalid> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/elf32.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/elf64.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/macho.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn parse(data: &[u8]) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/macho.rs:126:49 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn find_section bool>(&self, callback: F) -> Result, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn find_section bool>(&self, callback: F) -> Result>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/macho.rs:171:30 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn section_with_name(&self, segment_name: &str, section_name: &str) -> Result, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 171 | pub fn section_with_name(&self, segment_name: &str, section_name: &str) -> Result>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/macho.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | fn commands(&self) -> MachoCommandsIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 178 | fn commands(&self) -> MachoCommandsIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pe.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse(data: &[u8]) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pe.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn section_with_name(&self, name: &str) -> Result, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn section_with_name(&self, name: &str) -> Result>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pe.rs:99:49 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn find_section bool>(&self, callback: F) -> Result, ParseError> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | pub fn find_section bool>(&self, callback: F) -> Result>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "fcf96276599d318162ad1b928a0a692951d0057ce5ef2fe52c511ade27cbcdf2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf96276599d318162ad1b928a0a692951d0057ce5ef2fe52c511ade27cbcdf2", kill_on_drop: false }` [INFO] [stdout] fcf96276599d318162ad1b928a0a692951d0057ce5ef2fe52c511ade27cbcdf2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 99d4dda07fce7427702d84022e00a6619979d5f57356b715b2f1c25f1a7c7d95 [INFO] running `Command { std: "docker" "start" "-a" "99d4dda07fce7427702d84022e00a6619979d5f57356b715b2f1c25f1a7c7d95", kill_on_drop: false }` [INFO] [stderr] warning: fields `flags`, `addr`, `info`, and `addralign` are never read [INFO] [stderr] --> src/elf32.rs:132:5 [INFO] [stderr] | [INFO] [stderr] 129 | struct RawSection { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 132 | flags: elf::Word, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 133 | addr: elf::Address, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 137 | info: elf::Word, [INFO] [stderr] | ^^^^ [INFO] [stderr] 138 | addralign: elf::Word, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RawSection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `flags`, `addr`, `info`, and `addralign` are never read [INFO] [stderr] --> src/elf64.rs:132:5 [INFO] [stderr] | [INFO] [stderr] 129 | struct RawSection { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 132 | flags: elf::XWord, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 133 | addr: elf::Address, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 137 | info: elf::Word, [INFO] [stderr] | ^^^^ [INFO] [stderr] 138 | addralign: elf::XWord, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RawSection` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `cputype`, `cpusubtype`, `filetype`, `sizeofcmds`, and `flags` are never read [INFO] [stderr] --> src/macho.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 43 | pub struct MachoHeader { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 44 | cputype: u32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 45 | cpusubtype: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 46 | /// type of file - exec, dylib, ... [INFO] [stderr] 47 | filetype: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | sizeofcmds: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 52 | flags: u32, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MachoHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `machine`, `time_date_stamp`, and `characteristics` are never read [INFO] [stderr] --> src/pe.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct PeHeader { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 28 | machine: u16, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 29 | number_of_sections: u16, [INFO] [stderr] 30 | time_date_stamp: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 34 | characteristics: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PeHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `virtual_size` is never read [INFO] [stderr] --> src/pe.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct Section<'a> { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 38 | name: &'a str, [INFO] [stderr] 39 | virtual_size: u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Section` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/demangle/mod.rs:96:24 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn demangle(mut s: &str) -> Demangle { [INFO] [stderr] | ^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 96 | pub fn demangle(mut s: &str) -> Demangle<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/demangle/legacy.rs:49:20 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn demangle(s: &str) -> Result<(Demangle, &str), ()> { [INFO] [stderr] | ^^^^ ^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 49 | pub fn demangle(s: &str) -> Result<(Demangle<'_>, &str), ()> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/demangle/v0.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn demangle(s: &str) -> Result<(Demangle, &str), Invalid> { [INFO] [stderr] | ^^^^ ^^^^^^^^ ^^^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 14 | pub fn demangle(s: &str) -> Result<(Demangle<'_>, &str), Invalid> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/elf32.rs:142:20 [INFO] [stderr] | [INFO] [stderr] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result, ParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/elf64.rs:142:20 [INFO] [stderr] | [INFO] [stderr] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result, ParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/macho.rs:112:20 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn parse(data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 112 | pub fn parse(data: &[u8]) -> Result, ParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/macho.rs:126:49 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn find_section bool>(&self, callback: F) -> Result, ParseError> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 126 | pub fn find_section bool>(&self, callback: F) -> Result>, ParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/macho.rs:171:30 [INFO] [stderr] | [INFO] [stderr] 171 | pub fn section_with_name(&self, segment_name: &str, section_name: &str) -> Result, ParseError> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 171 | pub fn section_with_name(&self, segment_name: &str, section_name: &str) -> Result>, ParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/macho.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | fn commands(&self) -> MachoCommandsIterator { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 178 | fn commands(&self) -> MachoCommandsIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pe.rs:73:20 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn parse(data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^ ^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 73 | pub fn parse(data: &[u8]) -> Result, ParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pe.rs:92:30 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn section_with_name(&self, name: &str) -> Result, ParseError> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 92 | pub fn section_with_name(&self, name: &str) -> Result>, ParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/pe.rs:99:49 [INFO] [stderr] | [INFO] [stderr] 99 | pub fn find_section bool>(&self, callback: F) -> Result, ParseError> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 99 | pub fn find_section bool>(&self, callback: F) -> Result>, ParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `binfarce` (lib) generated 17 warnings (run `cargo fix --lib -p binfarce` to apply 12 suggestions) [INFO] [stderr] warning: `binfarce` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/binfarce-a05c36a66bf405de) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test demangle::v0::tests::demangle_const_generics ... ok [INFO] [stdout] test demangle::v0::tests::demangle_closure ... ok [INFO] [stdout] test demangle::v0::tests::demangle_crate_with_leading_digit ... ok [INFO] [stdout] test demangle::v0::tests::demangle_thinlto ... ok [INFO] [stdout] test demangle::v0::tests::demangle_exponential_explosion ... ok [INFO] [stdout] test demangle::v0::tests::demangle_dyn_trait ... ok [INFO] [stdout] test demangle::v0::tests::demangle_utf8_idents ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests binfarce [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/demangle/legacy.rs - demangle::legacy::demangle (line 24) ... ignored [INFO] [stdout] test src/demangle/mod.rs - demangle::demangle (line 89) ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "99d4dda07fce7427702d84022e00a6619979d5f57356b715b2f1c25f1a7c7d95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99d4dda07fce7427702d84022e00a6619979d5f57356b715b2f1c25f1a7c7d95", kill_on_drop: false }` [INFO] [stdout] 99d4dda07fce7427702d84022e00a6619979d5f57356b715b2f1c25f1a7c7d95