[INFO] fetching crate binfarce 0.2.1... [INFO] testing binfarce-0.2.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate binfarce 0.2.1 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate binfarce 0.2.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f91ab4457e7b50f5f4693db18560b283dbce656f3f53b74ce42a3e8a6a2322e5 [INFO] running `Command { std: "docker" "start" "-a" "f91ab4457e7b50f5f4693db18560b283dbce656f3f53b74ce42a3e8a6a2322e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f91ab4457e7b50f5f4693db18560b283dbce656f3f53b74ce42a3e8a6a2322e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f91ab4457e7b50f5f4693db18560b283dbce656f3f53b74ce42a3e8a6a2322e5", kill_on_drop: false }` [INFO] [stdout] f91ab4457e7b50f5f4693db18560b283dbce656f3f53b74ce42a3e8a6a2322e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ce7ce397246651506c741cd6488abf3fb6b9a4ef73b37c7f501bff774c0d5a24 [INFO] running `Command { std: "docker" "start" "-a" "ce7ce397246651506c741cd6488abf3fb6b9a4ef73b37c7f501bff774c0d5a24", 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 `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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 `Debug` and `Clone`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/demangle/mod.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn demangle(mut s: &str) -> Demangle { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 96 | pub fn demangle(mut s: &str) -> Demangle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 49 | pub fn demangle(s: &str) -> Result<(Demangle<'_>, &str), ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn demangle(s: &str) -> Result<(Demangle<'_>, &str), Invalid> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/elf32.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/elf64.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/macho.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn parse(data: &[u8]) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/macho.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | fn commands(&self) -> MachoCommandsIterator { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 178 | fn commands(&self) -> MachoCommandsIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pe.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ -- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse(data: &[u8]) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.93s [INFO] running `Command { std: "docker" "inspect" "ce7ce397246651506c741cd6488abf3fb6b9a4ef73b37c7f501bff774c0d5a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce7ce397246651506c741cd6488abf3fb6b9a4ef73b37c7f501bff774c0d5a24", kill_on_drop: false }` [INFO] [stdout] ce7ce397246651506c741cd6488abf3fb6b9a4ef73b37c7f501bff774c0d5a24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] dbf4b51ff5d3bc602dfe9e8aa713b488f76e888e9b01f1ce61a725c6fbfe3f0d [INFO] running `Command { std: "docker" "start" "-a" "dbf4b51ff5d3bc602dfe9e8aa713b488f76e888e9b01f1ce61a725c6fbfe3f0d", 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 `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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 `Debug` and `Clone`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/demangle/mod.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn demangle(mut s: &str) -> Demangle { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 96 | pub fn demangle(mut s: &str) -> Demangle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 49 | pub fn demangle(s: &str) -> Result<(Demangle<'_>, &str), ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn demangle(s: &str) -> Result<(Demangle<'_>, &str), Invalid> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/elf32.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/elf64.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/macho.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn parse(data: &[u8]) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 126 | pub fn find_section bool>(&self, callback: F) -> Result>, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling binfarce v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/macho.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | fn commands(&self) -> MachoCommandsIterator { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 178 | fn commands(&self) -> MachoCommandsIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pe.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ -- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse(data: &[u8]) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` 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 `Debug` and `Clone`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/demangle/mod.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn demangle(mut s: &str) -> Demangle { [INFO] [stdout] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 96 | pub fn demangle(mut s: &str) -> Demangle<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 49 | pub fn demangle(s: &str) -> Result<(Demangle<'_>, &str), ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn demangle(s: &str) -> Result<(Demangle<'_>, &str), Invalid> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/elf32.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/elf64.rs:142:20 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/macho.rs:112:20 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn parse(data: &[u8]) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/macho.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | fn commands(&self) -> MachoCommandsIterator { [INFO] [stdout] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 178 | fn commands(&self) -> MachoCommandsIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/pe.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse(data: &[u8]) -> Result { [INFO] [stdout] | ^^^^^ -- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 73 | pub fn parse(data: &[u8]) -> Result, ParseError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 1.04s [INFO] running `Command { std: "docker" "inspect" "dbf4b51ff5d3bc602dfe9e8aa713b488f76e888e9b01f1ce61a725c6fbfe3f0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbf4b51ff5d3bc602dfe9e8aa713b488f76e888e9b01f1ce61a725c6fbfe3f0d", kill_on_drop: false }` [INFO] [stdout] dbf4b51ff5d3bc602dfe9e8aa713b488f76e888e9b01f1ce61a725c6fbfe3f0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2cd588b429224fd80e1aaabe7e52f4d346508b702f3542c6b81c954ff9860c4c [INFO] running `Command { std: "docker" "start" "-a" "2cd588b429224fd80e1aaabe7e52f4d346508b702f3542c6b81c954ff9860c4c", 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 `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` 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 `Debug` and `Clone`, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/demangle/mod.rs:96:24 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn demangle(mut s: &str) -> Demangle { [INFO] [stderr] | ^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 96 | pub fn demangle(mut s: &str) -> Demangle<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 49 | pub fn demangle(s: &str) -> Result<(Demangle<'_>, &str), ()> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 14 | pub fn demangle(s: &str) -> Result<(Demangle<'_>, &str), Invalid> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/elf32.rs:142:20 [INFO] [stderr] | [INFO] [stderr] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result, ParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/elf64.rs:142:20 [INFO] [stderr] | [INFO] [stderr] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ----- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 142 | pub fn parse(data: &[u8], byte_order: ByteOrder) -> Result, ParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/macho.rs:112:20 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn parse(data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 112 | pub fn parse(data: &[u8]) -> Result, ParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 126 | pub fn find_section bool>(&self, callback: F) -> Result>, ParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/macho.rs:178:17 [INFO] [stderr] | [INFO] [stderr] 178 | fn commands(&self) -> MachoCommandsIterator { [INFO] [stderr] | ^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 178 | fn commands(&self) -> MachoCommandsIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/pe.rs:73:20 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn parse(data: &[u8]) -> Result { [INFO] [stderr] | ^^^^^ -- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 73 | pub fn parse(data: &[u8]) -> Result, ParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 92 | pub fn section_with_name(&self, name: &str) -> Result>, ParseError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be 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 gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/binfarce-764bc9a10b68a26f) [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_thinlto ... ok [INFO] [stdout] test demangle::v0::tests::demangle_crate_with_leading_digit ... ok [INFO] [stdout] test demangle::v0::tests::demangle_dyn_trait ... ok [INFO] [stdout] test demangle::v0::tests::demangle_exponential_explosion ... 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] running `Command { std: "docker" "inspect" "2cd588b429224fd80e1aaabe7e52f4d346508b702f3542c6b81c954ff9860c4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cd588b429224fd80e1aaabe7e52f4d346508b702f3542c6b81c954ff9860c4c", kill_on_drop: false }` [INFO] [stdout] 2cd588b429224fd80e1aaabe7e52f4d346508b702f3542c6b81c954ff9860c4c