[INFO] fetching crate rELF 0.1.0... [INFO] checking rELF-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate rELF 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate rELF 0.1.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rELF 0.1.0 [INFO] finished tweaking crates.io crate rELF 0.1.0 [INFO] tweaked toml for crates.io crate rELF 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate rELF 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1cd9b02f178e87210bdab7fd18b722b234a1de5e96e127b897a4322e49e6f9a8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1cd9b02f178e87210bdab7fd18b722b234a1de5e96e127b897a4322e49e6f9a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cd9b02f178e87210bdab7fd18b722b234a1de5e96e127b897a4322e49e6f9a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cd9b02f178e87210bdab7fd18b722b234a1de5e96e127b897a4322e49e6f9a8", kill_on_drop: false }` [INFO] [stdout] 1cd9b02f178e87210bdab7fd18b722b234a1de5e96e127b897a4322e49e6f9a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fbab152d6e576e8b8c73c1e5b98967a090eebdbb26085511e7ae8bdfcdb6d79d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fbab152d6e576e8b8c73c1e5b98967a090eebdbb26085511e7ae8bdfcdb6d79d", kill_on_drop: false }` [INFO] [stderr] Checking rELF v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/relf/parser.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub const PF_X: u32 = (1 << 0); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/relf/parser.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | pub const PF_W: u32 = (1 << 1); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/relf/parser.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | pub const PF_R: u32 = (1 << 2); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf64_Half` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | type Elf64_Half = u16; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf64Half` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf64_Word` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | type Elf64_Word = u32; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf64Word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf64_Addr` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | type Elf64_Addr = u64; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf64Addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf64_Off` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | type Elf64_Off = u64; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Elf64Off` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf64_Xword` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 81 | type Elf64_Xword = u64; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf64Xword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf32_Half` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:271:6 [INFO] [stdout] | [INFO] [stdout] 271 | type Elf32_Half = u16; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf32Half` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf32_Word` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:272:6 [INFO] [stdout] | [INFO] [stdout] 272 | type Elf32_Word = u32; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf32Word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf32_Addr` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:273:6 [INFO] [stdout] | [INFO] [stdout] 273 | type Elf32_Addr = u32; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf32Addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf32_Off` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:274:6 [INFO] [stdout] | [INFO] [stdout] 274 | type Elf32_Off = u32; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Elf32Off` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf32_Xword` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:275:6 [INFO] [stdout] | [INFO] [stdout] 275 | type Elf32_Xword = u64; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf32Xword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PT_NULL` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | PT_NULL [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/relf/parser.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | pub const PF_X: u32 = (1 << 0); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/relf/parser.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | pub const PF_W: u32 = (1 << 1); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/relf/parser.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | pub const PF_R: u32 = (1 << 2); [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf64_Half` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | type Elf64_Half = u16; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf64Half` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf64_Word` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | type Elf64_Word = u32; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf64Word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf64_Addr` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | type Elf64_Addr = u64; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf64Addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf64_Off` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | type Elf64_Off = u64; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Elf64Off` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf64_Xword` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 81 | type Elf64_Xword = u64; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf64Xword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf32_Half` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:271:6 [INFO] [stdout] | [INFO] [stdout] 271 | type Elf32_Half = u16; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf32Half` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf32_Word` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:272:6 [INFO] [stdout] | [INFO] [stdout] 272 | type Elf32_Word = u32; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf32Word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf32_Addr` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:273:6 [INFO] [stdout] | [INFO] [stdout] 273 | type Elf32_Addr = u32; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf32Addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf32_Off` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:274:6 [INFO] [stdout] | [INFO] [stdout] 274 | type Elf32_Off = u32; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Elf32Off` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Elf32_Xword` should have an upper camel case name [INFO] [stdout] --> src/relf/parser.rs:275:6 [INFO] [stdout] | [INFO] [stdout] 275 | type Elf32_Xword = u64; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf32Xword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PT_NULL` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | PT_NULL [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:278:10 [INFO] [stdout] | [INFO] [stdout] 278 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:332:10 [INFO] [stdout] | [INFO] [stdout] 332 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:376:10 [INFO] [stdout] | [INFO] [stdout] 376 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_NULL` [INFO] [stdout] --> src/relf/parser.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const PT_NULL: u32 = 0x0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_LOAD` [INFO] [stdout] --> src/relf/parser.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const PT_LOAD: u32 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_DYNAMIC` [INFO] [stdout] --> src/relf/parser.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const PT_DYNAMIC: u32 = 0x2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_INTERP` [INFO] [stdout] --> src/relf/parser.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PT_INTERP: u32 = 0x3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_NOTE` [INFO] [stdout] --> src/relf/parser.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const PT_NOTE: u32 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_SHLIB` [INFO] [stdout] --> src/relf/parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const PT_SHLIB: u32 = 0x5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_PHDR` [INFO] [stdout] --> src/relf/parser.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const PT_PHDR: u32 = 0x6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_TLS` [INFO] [stdout] --> src/relf/parser.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const PT_TLS: u32 = 0x7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_NUM` [INFO] [stdout] --> src/relf/parser.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub const PT_NUM: u32 = 0x8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_LOOS` [INFO] [stdout] --> src/relf/parser.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub const PT_LOOS: u32 = 0x60000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_GNU_EH_FRAME` [INFO] [stdout] --> src/relf/parser.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub const PT_GNU_EH_FRAME: u32 = 0x6474e550; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_GNU_STACK` [INFO] [stdout] --> src/relf/parser.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub const PT_GNU_STACK: u32 = 0x6474e551; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_GNU_RELRO` [INFO] [stdout] --> src/relf/parser.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub const PT_GNU_RELRO: u32 = 0x6474e552; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:138:10 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_LOSUNW` [INFO] [stdout] --> src/relf/parser.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub const PT_LOSUNW: u32 = 0x6ffffffa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_SUNWBSS` [INFO] [stdout] --> src/relf/parser.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub const PT_SUNWBSS: u32 = 0x6ffffffa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_SUNWSTACK` [INFO] [stdout] --> src/relf/parser.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub const PT_SUNWSTACK: u32 = 0x6ffffffb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:182:10 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_HISUNW` [INFO] [stdout] --> src/relf/parser.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub const PT_HISUNW: u32 = 0x6fffffff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_HIOS` [INFO] [stdout] --> src/relf/parser.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub const PT_HIOS: u32 = 0x6fffffff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_LOPROC` [INFO] [stdout] --> src/relf/parser.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const PT_LOPROC: u32 = 0x70000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_HIPROC` [INFO] [stdout] --> src/relf/parser.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub const PT_HIPROC: u32 = 0x7fffffff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:278:10 [INFO] [stdout] | [INFO] [stdout] 278 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PF_X` [INFO] [stdout] --> src/relf/parser.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub const PF_X: u32 = (1 << 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PF_W` [INFO] [stdout] --> src/relf/parser.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub const PF_W: u32 = (1 << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:332:10 [INFO] [stdout] | [INFO] [stdout] 332 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PF_R` [INFO] [stdout] --> src/relf/parser.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub const PF_R: u32 = (1 << 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PF_MASKOS` [INFO] [stdout] --> src/relf/parser.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub const PF_MASKOS: u32 = 0x0ff00000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 332 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PF_MASKPROC` [INFO] [stdout] --> src/relf/parser.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub const PF_MASKPROC: u32 = 0xf0000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/relf/parser.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | fn new() -> Elf64_Ehdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:376:10 [INFO] [stdout] | [INFO] [stdout] 376 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/relf/parser.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn new() -> Elf64_Phdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stdout] --> src/relf/parser.rs:376:17 [INFO] [stdout] | [INFO] [stdout] 376 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: this warning originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/relf/parser.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | fn new() -> Elf64_Shdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ehdr64` [INFO] [stdout] --> src/relf/parser.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn parse_ehdr64(fbuf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_phdr64` [INFO] [stdout] --> src/relf/parser.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn parse_phdr64(fbuf: &[u8], ehdr: &Elf64_Ehdr) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_shdr64` [INFO] [stdout] --> src/relf/parser.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn parse_shdr64(fbuf: &[u8], ehdr: &Elf64_Ehdr) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_NULL` [INFO] [stdout] --> src/relf/parser.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | pub const PT_NULL: u32 = 0x0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Elf32_Xword` [INFO] [stdout] --> src/relf/parser.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | type Elf32_Xword = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_LOAD` [INFO] [stdout] --> src/relf/parser.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub const PT_LOAD: u32 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_DYNAMIC` [INFO] [stdout] --> src/relf/parser.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub const PT_DYNAMIC: u32 = 0x2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_INTERP` [INFO] [stdout] --> src/relf/parser.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PT_INTERP: u32 = 0x3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/relf/parser.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | fn new() -> Elf64_Ehdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_NOTE` [INFO] [stdout] --> src/relf/parser.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub const PT_NOTE: u32 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_SHLIB` [INFO] [stdout] --> src/relf/parser.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub const PT_SHLIB: u32 = 0x5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_PHDR` [INFO] [stdout] --> src/relf/parser.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub const PT_PHDR: u32 = 0x6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_TLS` [INFO] [stdout] --> src/relf/parser.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | pub const PT_TLS: u32 = 0x7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_NUM` [INFO] [stdout] --> src/relf/parser.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub const PT_NUM: u32 = 0x8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/relf/parser.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | fn new() -> Elf64_Phdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_LOOS` [INFO] [stdout] --> src/relf/parser.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 | pub const PT_LOOS: u32 = 0x60000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_GNU_EH_FRAME` [INFO] [stdout] --> src/relf/parser.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | pub const PT_GNU_EH_FRAME: u32 = 0x6474e550; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_GNU_STACK` [INFO] [stdout] --> src/relf/parser.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | pub const PT_GNU_STACK: u32 = 0x6474e551; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_GNU_RELRO` [INFO] [stdout] --> src/relf/parser.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | pub const PT_GNU_RELRO: u32 = 0x6474e552; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/relf/parser.rs:391:8 [INFO] [stdout] | [INFO] [stdout] 391 | fn new() -> Elf64_Shdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_LOSUNW` [INFO] [stdout] --> src/relf/parser.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | pub const PT_LOSUNW: u32 = 0x6ffffffa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_SUNWBSS` [INFO] [stdout] --> src/relf/parser.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub const PT_SUNWBSS: u32 = 0x6ffffffa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_SUNWSTACK` [INFO] [stdout] --> src/relf/parser.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | pub const PT_SUNWSTACK: u32 = 0x6ffffffb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_HISUNW` [INFO] [stdout] --> src/relf/parser.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | pub const PT_HISUNW: u32 = 0x6fffffff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_HIOS` [INFO] [stdout] --> src/relf/parser.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | pub const PT_HIOS: u32 = 0x6fffffff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_LOPROC` [INFO] [stdout] --> src/relf/parser.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub const PT_LOPROC: u32 = 0x70000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PT_HIPROC` [INFO] [stdout] --> src/relf/parser.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub const PT_HIPROC: u32 = 0x7fffffff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PF_X` [INFO] [stdout] --> src/relf/parser.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | pub const PF_X: u32 = (1 << 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PF_W` [INFO] [stdout] --> src/relf/parser.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | pub const PF_W: u32 = (1 << 1); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PF_R` [INFO] [stdout] --> src/relf/parser.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub const PF_R: u32 = (1 << 2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PF_MASKOS` [INFO] [stdout] --> src/relf/parser.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | pub const PF_MASKOS: u32 = 0x0ff00000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PF_MASKPROC` [INFO] [stdout] --> src/relf/parser.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | pub const PF_MASKPROC: u32 = 0xf0000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/relf/parser.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | fn new() -> Elf64_Ehdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/relf/parser.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn new() -> Elf64_Phdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/relf/parser.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | fn new() -> Elf64_Shdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_ehdr64` [INFO] [stdout] --> src/relf/parser.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn parse_ehdr64(fbuf: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_phdr64` [INFO] [stdout] --> src/relf/parser.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn parse_phdr64(fbuf: &[u8], ehdr: &Elf64_Ehdr) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_shdr64` [INFO] [stdout] --> src/relf/parser.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | pub fn parse_shdr64(fbuf: &[u8], ehdr: &Elf64_Ehdr) -> Result, ()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Elf32_Xword` [INFO] [stdout] --> src/relf/parser.rs:275:1 [INFO] [stdout] | [INFO] [stdout] 275 | type Elf32_Xword = u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/relf/parser.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 297 | fn new() -> Elf64_Ehdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/relf/parser.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | fn new() -> Elf64_Phdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/relf/parser.rs:391:8 [INFO] [stdout] | [INFO] [stdout] 391 | fn new() -> Elf64_Shdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `rELF` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `r_elf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `rELF` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `r_elf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "fbab152d6e576e8b8c73c1e5b98967a090eebdbb26085511e7ae8bdfcdb6d79d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fbab152d6e576e8b8c73c1e5b98967a090eebdbb26085511e7ae8bdfcdb6d79d", kill_on_drop: false }` [INFO] [stdout] fbab152d6e576e8b8c73c1e5b98967a090eebdbb26085511e7ae8bdfcdb6d79d