[INFO] fetching crate rELF 0.1.0... [INFO] checking rELF-0.1.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate rELF 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate rELF 0.1.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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-7-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cbf9f863e1b7d6c2e38f8ad3ce42f5b5add3c509f1fe97f98a6d8e454d52afc [INFO] running `Command { std: "docker" "start" "-a" "3cbf9f863e1b7d6c2e38f8ad3ce42f5b5add3c509f1fe97f98a6d8e454d52afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cbf9f863e1b7d6c2e38f8ad3ce42f5b5add3c509f1fe97f98a6d8e454d52afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cbf9f863e1b7d6c2e38f8ad3ce42f5b5add3c509f1fe97f98a6d8e454d52afc", kill_on_drop: false }` [INFO] [stdout] 3cbf9f863e1b7d6c2e38f8ad3ce42f5b5add3c509f1fe97f98a6d8e454d52afc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82107c72a6ffe60e61fd311dd918f35c71fe686f3171cc62d213c7e9a69bb0aa [INFO] running `Command { std: "docker" "start" "-a" "82107c72a6ffe60e61fd311dd918f35c71fe686f3171cc62d213c7e9a69bb0aa", 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - pub const PF_X: u32 = (1 << 0); [INFO] [stdout] 32 + pub const PF_X: u32 = 1 << 0; [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - pub const PF_W: u32 = (1 << 1); [INFO] [stdout] 33 + pub const PF_W: u32 = 1 << 1; [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - pub const PF_R: u32 = (1 << 2); [INFO] [stdout] 34 + pub const PF_R: u32 = 1 << 2; [INFO] [stdout] | [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: constant `PT_NULL` is never used [INFO] [stdout] --> src/relf/parser.rs:9:11 [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 `PT_LOAD` is never used [INFO] [stdout] --> src/relf/parser.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const PT_LOAD: u32 = 0x1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_DYNAMIC` is never used [INFO] [stdout] --> src/relf/parser.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const PT_DYNAMIC: u32 = 0x2; [INFO] [stdout] | ^^^^^^^^^^ [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 32 - pub const PF_X: u32 = (1 << 0); [INFO] [stdout] 32 + pub const PF_X: u32 = 1 << 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_INTERP` is never used [INFO] [stdout] --> src/relf/parser.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PT_INTERP: u32 = 0x3; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_NOTE` is never used [INFO] [stdout] --> src/relf/parser.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const PT_NOTE: u32 = 0x4; [INFO] [stdout] | ^^^^^^^ [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 33 - pub const PF_W: u32 = (1 << 1); [INFO] [stdout] 33 + pub const PF_W: u32 = 1 << 1; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_SHLIB` is never used [INFO] [stdout] --> src/relf/parser.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const PT_SHLIB: u32 = 0x5; [INFO] [stdout] | ^^^^^^^^ [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 34 - pub const PF_R: u32 = (1 << 2); [INFO] [stdout] 34 + pub const PF_R: u32 = 1 << 2; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_PHDR` is never used [INFO] [stdout] --> src/relf/parser.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const PT_PHDR: u32 = 0x6; [INFO] [stdout] | ^^^^^^^ [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: constant `PT_TLS` is never used [INFO] [stdout] --> src/relf/parser.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const PT_TLS: u32 = 0x7; [INFO] [stdout] | ^^^^^^ [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: constant `PT_NUM` is never used [INFO] [stdout] --> src/relf/parser.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const PT_NUM: u32 = 0x8; [INFO] [stdout] | ^^^^^^ [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: constant `PT_LOOS` is never used [INFO] [stdout] --> src/relf/parser.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const PT_LOOS: u32 = 0x60000000; [INFO] [stdout] | ^^^^^^^ [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: constant `PT_GNU_EH_FRAME` is never used [INFO] [stdout] --> src/relf/parser.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const PT_GNU_EH_FRAME: u32 = 0x6474e550; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [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: constant `PT_GNU_STACK` is never used [INFO] [stdout] --> src/relf/parser.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const PT_GNU_STACK: u32 = 0x6474e551; [INFO] [stdout] | ^^^^^^^^^^^^ [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: constant `PT_GNU_RELRO` is never used [INFO] [stdout] --> src/relf/parser.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const PT_GNU_RELRO: u32 = 0x6474e552; [INFO] [stdout] | ^^^^^^^^^^^^ [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: constant `PT_LOSUNW` is never used [INFO] [stdout] --> src/relf/parser.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const PT_LOSUNW: u32 = 0x6ffffffa; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_SUNWBSS` is never used [INFO] [stdout] --> src/relf/parser.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const PT_SUNWBSS: u32 = 0x6ffffffa; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_SUNWSTACK` is never used [INFO] [stdout] --> src/relf/parser.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const PT_SUNWSTACK: u32 = 0x6ffffffb; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_HISUNW` is never used [INFO] [stdout] --> src/relf/parser.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const PT_HISUNW: u32 = 0x6fffffff; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_HIOS` is never used [INFO] [stdout] --> src/relf/parser.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const PT_HIOS: u32 = 0x6fffffff; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_LOPROC` is never used [INFO] [stdout] --> src/relf/parser.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const PT_LOPROC: u32 = 0x70000000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_HIPROC` is never used [INFO] [stdout] --> src/relf/parser.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const PT_HIPROC: u32 = 0x7fffffff; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PF_X` is never used [INFO] [stdout] --> src/relf/parser.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const PF_X: u32 = (1 << 0); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PF_W` is never used [INFO] [stdout] --> src/relf/parser.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const PF_W: u32 = (1 << 1); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PF_R` is never used [INFO] [stdout] --> src/relf/parser.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const PF_R: u32 = (1 << 2); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PF_MASKOS` is never used [INFO] [stdout] --> src/relf/parser.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const PF_MASKOS: u32 = 0x0ff00000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PF_MASKPROC` is never used [INFO] [stdout] --> src/relf/parser.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const PF_MASKPROC: u32 = 0xf0000000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Elf64_Half` is never used [INFO] [stdout] --> src/relf/parser.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | type Elf64_Half = u16; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Elf64_Word` is never used [INFO] [stdout] --> src/relf/parser.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | type Elf64_Word = u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Elf64_Addr` is never used [INFO] [stdout] --> src/relf/parser.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | type Elf64_Addr = u64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Elf64_Off` is never used [INFO] [stdout] --> src/relf/parser.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | type Elf64_Off = u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Elf64_Xword` is never used [INFO] [stdout] --> src/relf/parser.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 81 | type Elf64_Xword = u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Elf64_Ehdr` is never constructed [INFO] [stdout] --> src/relf/parser.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Elf64_Ehdr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Elf64_Ehdr` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/relf/parser.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 102 | impl Elf64_Ehdr { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 103 | fn new() -> Elf64_Ehdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Elf64_Phdr` is never constructed [INFO] [stdout] --> src/relf/parser.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Elf64_Phdr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Elf64_Phdr` 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: associated function `new` is never used [INFO] [stdout] --> src/relf/parser.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 150 | impl Elf64_Phdr { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 151 | fn new() -> Elf64_Phdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Elf64_Shdr` is never constructed [INFO] [stdout] --> src/relf/parser.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct Elf64_Shdr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Elf64_Shdr` 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: associated function `new` is never used [INFO] [stdout] --> src/relf/parser.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 196 | impl Elf64_Shdr { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 197 | fn new() -> Elf64_Shdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ehdr64` is never used [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 `parse_phdr64` is never used [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 `parse_shdr64` is never used [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 `Elf32_Xword` is never used [INFO] [stdout] --> src/relf/parser.rs:275:6 [INFO] [stdout] | [INFO] [stdout] 275 | type Elf32_Xword = u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/relf/parser.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 296 | impl Elf32_Ehdr { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 297 | fn new() -> Elf64_Ehdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/relf/parser.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 344 | impl Elf32_Phdr { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 345 | fn new() -> Elf64_Phdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/relf/parser.rs:391:8 [INFO] [stdout] | [INFO] [stdout] 390 | impl Elf32_Shdr { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 391 | fn new() -> Elf64_Shdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/relf/parser.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 42 | let mut fd_w: File = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | match fd_w.read_to_end(&mut tbytes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rELF` (bin "rELF" test) due to 2 previous errors; 57 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `PT_NULL` is never used [INFO] [stdout] --> src/relf/parser.rs:9:11 [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 `PT_LOAD` is never used [INFO] [stdout] --> src/relf/parser.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const PT_LOAD: u32 = 0x1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_DYNAMIC` is never used [INFO] [stdout] --> src/relf/parser.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const PT_DYNAMIC: u32 = 0x2; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_INTERP` is never used [INFO] [stdout] --> src/relf/parser.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const PT_INTERP: u32 = 0x3; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_NOTE` is never used [INFO] [stdout] --> src/relf/parser.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const PT_NOTE: u32 = 0x4; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_SHLIB` is never used [INFO] [stdout] --> src/relf/parser.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const PT_SHLIB: u32 = 0x5; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_PHDR` is never used [INFO] [stdout] --> src/relf/parser.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const PT_PHDR: u32 = 0x6; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_TLS` is never used [INFO] [stdout] --> src/relf/parser.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const PT_TLS: u32 = 0x7; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_NUM` is never used [INFO] [stdout] --> src/relf/parser.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const PT_NUM: u32 = 0x8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_LOOS` is never used [INFO] [stdout] --> src/relf/parser.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const PT_LOOS: u32 = 0x60000000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_GNU_EH_FRAME` is never used [INFO] [stdout] --> src/relf/parser.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const PT_GNU_EH_FRAME: u32 = 0x6474e550; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_GNU_STACK` is never used [INFO] [stdout] --> src/relf/parser.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const PT_GNU_STACK: u32 = 0x6474e551; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_GNU_RELRO` is never used [INFO] [stdout] --> src/relf/parser.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const PT_GNU_RELRO: u32 = 0x6474e552; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_LOSUNW` is never used [INFO] [stdout] --> src/relf/parser.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const PT_LOSUNW: u32 = 0x6ffffffa; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_SUNWBSS` is never used [INFO] [stdout] --> src/relf/parser.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const PT_SUNWBSS: u32 = 0x6ffffffa; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_SUNWSTACK` is never used [INFO] [stdout] --> src/relf/parser.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const PT_SUNWSTACK: u32 = 0x6ffffffb; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_HISUNW` is never used [INFO] [stdout] --> src/relf/parser.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const PT_HISUNW: u32 = 0x6fffffff; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_HIOS` is never used [INFO] [stdout] --> src/relf/parser.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const PT_HIOS: u32 = 0x6fffffff; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_LOPROC` is never used [INFO] [stdout] --> src/relf/parser.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const PT_LOPROC: u32 = 0x70000000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PT_HIPROC` is never used [INFO] [stdout] --> src/relf/parser.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const PT_HIPROC: u32 = 0x7fffffff; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PF_X` is never used [INFO] [stdout] --> src/relf/parser.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const PF_X: u32 = (1 << 0); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PF_W` is never used [INFO] [stdout] --> src/relf/parser.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const PF_W: u32 = (1 << 1); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PF_R` is never used [INFO] [stdout] --> src/relf/parser.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const PF_R: u32 = (1 << 2); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PF_MASKOS` is never used [INFO] [stdout] --> src/relf/parser.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const PF_MASKOS: u32 = 0x0ff00000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PF_MASKPROC` is never used [INFO] [stdout] --> src/relf/parser.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const PF_MASKPROC: u32 = 0xf0000000; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Elf64_Half` is never used [INFO] [stdout] --> src/relf/parser.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | type Elf64_Half = u16; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Elf64_Word` is never used [INFO] [stdout] --> src/relf/parser.rs:78:6 [INFO] [stdout] | [INFO] [stdout] 78 | type Elf64_Word = u32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Elf64_Addr` is never used [INFO] [stdout] --> src/relf/parser.rs:79:6 [INFO] [stdout] | [INFO] [stdout] 79 | type Elf64_Addr = u64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Elf64_Off` is never used [INFO] [stdout] --> src/relf/parser.rs:80:6 [INFO] [stdout] | [INFO] [stdout] 80 | type Elf64_Off = u64; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Elf64_Xword` is never used [INFO] [stdout] --> src/relf/parser.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 81 | type Elf64_Xword = u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Elf64_Ehdr` is never constructed [INFO] [stdout] --> src/relf/parser.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct Elf64_Ehdr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Elf64_Ehdr` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/relf/parser.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 102 | impl Elf64_Ehdr { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 103 | fn new() -> Elf64_Ehdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Elf64_Phdr` is never constructed [INFO] [stdout] --> src/relf/parser.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 139 | pub struct Elf64_Phdr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Elf64_Phdr` 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: associated function `new` is never used [INFO] [stdout] --> src/relf/parser.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 150 | impl Elf64_Phdr { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 151 | fn new() -> Elf64_Phdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Elf64_Shdr` is never constructed [INFO] [stdout] --> src/relf/parser.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct Elf64_Shdr { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Elf64_Shdr` 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: associated function `new` is never used [INFO] [stdout] --> src/relf/parser.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 196 | impl Elf64_Shdr { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 197 | fn new() -> Elf64_Shdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_ehdr64` is never used [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 `parse_phdr64` is never used [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 `parse_shdr64` is never used [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 `Elf32_Xword` is never used [INFO] [stdout] --> src/relf/parser.rs:275:6 [INFO] [stdout] | [INFO] [stdout] 275 | type Elf32_Xword = u64; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/relf/parser.rs:297:8 [INFO] [stdout] | [INFO] [stdout] 296 | impl Elf32_Ehdr { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 297 | fn new() -> Elf64_Ehdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/relf/parser.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 344 | impl Elf32_Phdr { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 345 | fn new() -> Elf64_Phdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/relf/parser.rs:391:8 [INFO] [stdout] | [INFO] [stdout] 390 | impl Elf32_Shdr { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 391 | fn new() -> Elf64_Shdr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/relf/parser.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 42 | let mut fd_w: File = OpenOptions::new() [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 49 | match fd_w.read_to_end(&mut tbytes) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rELF` (bin "rELF") due to 2 previous errors; 57 warnings emitted [INFO] running `Command { std: "docker" "inspect" "82107c72a6ffe60e61fd311dd918f35c71fe686f3171cc62d213c7e9a69bb0aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82107c72a6ffe60e61fd311dd918f35c71fe686f3171cc62d213c7e9a69bb0aa", kill_on_drop: false }` [INFO] [stdout] 82107c72a6ffe60e61fd311dd918f35c71fe686f3171cc62d213c7e9a69bb0aa