[INFO] fetching crate elfy 0.2.2... [INFO] checking elfy-0.2.2 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate elfy 0.2.2 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate elfy 0.2.2 [INFO] finished tweaking crates.io crate elfy 0.2.2 [INFO] tweaked toml for crates.io crate elfy 0.2.2 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate elfy 0.2.2 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48c40a4e9e7be43a0aa23475044b17949d412659376c9de9a50291e9903357b5 [INFO] running `Command { std: "docker" "start" "-a" "48c40a4e9e7be43a0aa23475044b17949d412659376c9de9a50291e9903357b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48c40a4e9e7be43a0aa23475044b17949d412659376c9de9a50291e9903357b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48c40a4e9e7be43a0aa23475044b17949d412659376c9de9a50291e9903357b5", kill_on_drop: false }` [INFO] [stdout] 48c40a4e9e7be43a0aa23475044b17949d412659376c9de9a50291e9903357b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79f6a44b59ba021c58d8cad33546bb2e1582a7acc6dc95f39174b739332e2085 [INFO] running `Command { std: "docker" "start" "-a" "79f6a44b59ba021c58d8cad33546bb2e1582a7acc6dc95f39174b739332e2085", kill_on_drop: false }` [INFO] [stderr] Checking elfy v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `ident`, `version`, `flags`, `ehsize`, `phentsize`, and `shentsize` are never read [INFO] [stdout] --> src/types.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ElfHeader { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 15 | ident: Identifier, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | version: Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | flags: Flags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 23 | ehsize: Short, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | phentsize: Short, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | phnum: Short, [INFO] [stdout] 26 | shentsize: Short, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElfHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `magic`, `version`, `os_abi`, and `abi_ver` are never read [INFO] [stdout] --> src/types.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Identifier { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 110 | magic: Magic, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | version: IdentVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 114 | os_abi: OsAbi, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 115 | abi_ver: AbiVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Identifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name_index` and `link` are never read [INFO] [stdout] --> src/types.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 397 | pub struct SectionHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 398 | name_index: Size, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | link: Word, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SectionHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn sections(&self) -> SectionIter { [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] 210 | pub fn sections(&self) -> SectionIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn segments(&self) -> SegmentIter { [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] 218 | pub fn segments(&self) -> SegmentIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | __temp = std::mem::transmute::<[u8; 2], u16>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:281:15 [INFO] [stdout] | [INFO] [stdout] 281 | match read_u16!(reader, descriptor) { [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `read_u16` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | __temp = std::mem::transmute::<[u8; 2], u16>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 310 | match read_u16!(reader, descriptor) { [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u16` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | __temp = std::mem::transmute::<[u8; 4], u32>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:331:15 [INFO] [stdout] | [INFO] [stdout] 331 | match read_u32!(reader, descriptor) { [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | __temp = std::mem::transmute::<[u8; 4], u32>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:343:15 [INFO] [stdout] | [INFO] [stdout] 343 | match read_u32!(reader, descriptor) { [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | __temp = std::mem::transmute::<[u8; 4], u32>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:538:15 [INFO] [stdout] | [INFO] [stdout] 538 | match read_u32!(reader, descriptor) { [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | __temp = std::mem::transmute::<[u8; 4], u32>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:848:15 [INFO] [stdout] | [INFO] [stdout] 848 | match read_u32!(reader, descriptor) { [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | __temp = std::mem::transmute::<[u8; 4], u32>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:889:15 [INFO] [stdout] | [INFO] [stdout] 889 | match read_u32!(reader, descriptor) { [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | __temp = std::mem::transmute::<[u8; 2], u16>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/numeric.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | Ok(Short(read_u16!(reader, descriptor))) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u16` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | __temp = std::mem::transmute::<[u8; 4], u32>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/numeric.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(Word(read_u32!(reader, descriptor))) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | __temp = std::mem::transmute::<[u8; 4], u32>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/numeric.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | DataClass::Elf32 => Ok(Size::Elf32Size(read_u32!(reader, descriptor))), [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | __temp = std::mem::transmute::<[u8; 8], u64>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/numeric.rs:93:52 [INFO] [stdout] | [INFO] [stdout] 93 | DataClass::Elf64 => Ok(Size::Elf64Size(read_u64!(reader, descriptor))), [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u64` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | __temp = std::mem::transmute::<[u8; 4], u32>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/numeric.rs:137:55 [INFO] [stdout] | [INFO] [stdout] 137 | DataClass::Elf32 => Ok(Address::Elf32Addr(read_u32!(reader, descriptor))), [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | __temp = std::mem::transmute::<[u8; 8], u64>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/numeric.rs:138:55 [INFO] [stdout] | [INFO] [stdout] 138 | DataClass::Elf64 => Ok(Address::Elf64Addr(read_u64!(reader, descriptor))), [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u64` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `flags` is never read [INFO] [stdout] --> src/types.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct ElfHeader { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | flags: Flags, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElfHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/types.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct Identifier { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 113 | version: IdentVersion, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Identifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name_index` and `link` are never read [INFO] [stdout] --> src/types.rs:398:5 [INFO] [stdout] | [INFO] [stdout] 397 | pub struct SectionHeader { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 398 | name_index: Size, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | link: Word, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SectionHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | pub fn sections(&self) -> SectionIter { [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] 210 | pub fn sections(&self) -> SectionIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:218:21 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn segments(&self) -> SegmentIter { [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] 218 | pub fn segments(&self) -> SegmentIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | __temp = std::mem::transmute::<[u8; 2], u16>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:281:15 [INFO] [stdout] | [INFO] [stdout] 281 | match read_u16!(reader, descriptor) { [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `read_u16` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | __temp = std::mem::transmute::<[u8; 2], u16>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:310:15 [INFO] [stdout] | [INFO] [stdout] 310 | match read_u16!(reader, descriptor) { [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u16` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | __temp = std::mem::transmute::<[u8; 4], u32>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:331:15 [INFO] [stdout] | [INFO] [stdout] 331 | match read_u32!(reader, descriptor) { [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | __temp = std::mem::transmute::<[u8; 4], u32>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:343:15 [INFO] [stdout] | [INFO] [stdout] 343 | match read_u32!(reader, descriptor) { [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | __temp = std::mem::transmute::<[u8; 4], u32>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:538:15 [INFO] [stdout] | [INFO] [stdout] 538 | match read_u32!(reader, descriptor) { [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | __temp = std::mem::transmute::<[u8; 4], u32>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:848:15 [INFO] [stdout] | [INFO] [stdout] 848 | match read_u32!(reader, descriptor) { [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | __temp = std::mem::transmute::<[u8; 4], u32>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/types.rs:889:15 [INFO] [stdout] | [INFO] [stdout] 889 | match read_u32!(reader, descriptor) { [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:34:26 [INFO] [stdout] | [INFO] [stdout] 34 | __temp = std::mem::transmute::<[u8; 2], u16>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/numeric.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | Ok(Short(read_u16!(reader, descriptor))) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u16` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | __temp = std::mem::transmute::<[u8; 4], u32>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/numeric.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | Ok(Word(read_u32!(reader, descriptor))) [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | __temp = std::mem::transmute::<[u8; 4], u32>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/numeric.rs:92:52 [INFO] [stdout] | [INFO] [stdout] 92 | DataClass::Elf32 => Ok(Size::Elf32Size(read_u32!(reader, descriptor))), [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | __temp = std::mem::transmute::<[u8; 8], u64>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/numeric.rs:93:52 [INFO] [stdout] | [INFO] [stdout] 93 | DataClass::Elf64 => Ok(Size::Elf64Size(read_u64!(reader, descriptor))), [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u64` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | __temp = std::mem::transmute::<[u8; 4], u32>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/numeric.rs:137:55 [INFO] [stdout] | [INFO] [stdout] 137 | DataClass::Elf32 => Ok(Address::Elf32Addr(read_u32!(reader, descriptor))), [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u32` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/macros.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 70 | __temp = std::mem::transmute::<[u8; 8], u64>(__bytes); [INFO] [stdout] | -----------------------------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] | [INFO] [stdout] ::: src/numeric.rs:138:55 [INFO] [stdout] | [INFO] [stdout] 138 | DataClass::Elf64 => Ok(Address::Elf64Addr(read_u64!(reader, descriptor))), [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `read_u64` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "79f6a44b59ba021c58d8cad33546bb2e1582a7acc6dc95f39174b739332e2085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79f6a44b59ba021c58d8cad33546bb2e1582a7acc6dc95f39174b739332e2085", kill_on_drop: false }` [INFO] [stdout] 79f6a44b59ba021c58d8cad33546bb2e1582a7acc6dc95f39174b739332e2085