[INFO] fetching crate rELF 0.1.0... [INFO] testing rELF-0.1.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate rELF 0.1.0 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate rELF 0.1.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-20/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23d44c0e85f86c2751b7eaeb1fb63d64e69a3ccd3735fe560013caf7ea53f3a4 [INFO] running `Command { std: "docker" "start" "-a" "23d44c0e85f86c2751b7eaeb1fb63d64e69a3ccd3735fe560013caf7ea53f3a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23d44c0e85f86c2751b7eaeb1fb63d64e69a3ccd3735fe560013caf7ea53f3a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23d44c0e85f86c2751b7eaeb1fb63d64e69a3ccd3735fe560013caf7ea53f3a4", kill_on_drop: false }` [INFO] [stdout] 23d44c0e85f86c2751b7eaeb1fb63d64e69a3ccd3735fe560013caf7ea53f3a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6ecf7d78de5f19f68a4396e0860c87d67c0f176aca46d29358734916b35258e [INFO] running `Command { std: "docker" "start" "-a" "b6ecf7d78de5f19f68a4396e0860c87d67c0f176aca46d29358734916b35258e", kill_on_drop: false }` [INFO] [stderr] Compiling 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: `#[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(unaligned_references)]` 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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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: 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: 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: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.01s [INFO] running `Command { std: "docker" "inspect" "b6ecf7d78de5f19f68a4396e0860c87d67c0f176aca46d29358734916b35258e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6ecf7d78de5f19f68a4396e0860c87d67c0f176aca46d29358734916b35258e", kill_on_drop: false }` [INFO] [stdout] b6ecf7d78de5f19f68a4396e0860c87d67c0f176aca46d29358734916b35258e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e39d9a66e684f57bb59d088c20bd10edb4d91b8b72af027cfe59e5bf586d6f69 [INFO] running `Command { std: "docker" "start" "-a" "e39d9a66e684f57bb59d088c20bd10edb4d91b8b72af027cfe59e5bf586d6f69", kill_on_drop: false }` [INFO] [stderr] Compiling 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: `#[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(unaligned_references)]` 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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (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 #82523 [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (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: 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: 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: 60 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rELF-e77c2e2d4f7d6de9) [INFO] running `Command { std: "docker" "inspect" "e39d9a66e684f57bb59d088c20bd10edb4d91b8b72af027cfe59e5bf586d6f69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e39d9a66e684f57bb59d088c20bd10edb4d91b8b72af027cfe59e5bf586d6f69", kill_on_drop: false }` [INFO] [stdout] e39d9a66e684f57bb59d088c20bd10edb4d91b8b72af027cfe59e5bf586d6f69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 52337e4b192be71218f125463f82bc1af5e0927e75481193b182d20c4ad38543 [INFO] running `Command { std: "docker" "start" "-a" "52337e4b192be71218f125463f82bc1af5e0927e75481193b182d20c4ad38543", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/relf/parser.rs:32:23 [INFO] [stderr] | [INFO] [stderr] 32 | pub const PF_X: u32 = (1 << 0); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 32 - pub const PF_X: u32 = (1 << 0); [INFO] [stderr] 32 + pub const PF_X: u32 = 1 << 0; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/relf/parser.rs:33:23 [INFO] [stderr] | [INFO] [stderr] 33 | pub const PF_W: u32 = (1 << 1); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 33 - pub const PF_W: u32 = (1 << 1); [INFO] [stderr] 33 + pub const PF_W: u32 = 1 << 1; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/relf/parser.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | pub const PF_R: u32 = (1 << 2); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 34 - pub const PF_R: u32 = (1 << 2); [INFO] [stderr] 34 + pub const PF_R: u32 = 1 << 2; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: type `Elf64_Half` should have an upper camel case name [INFO] [stderr] --> src/relf/parser.rs:77:6 [INFO] [stderr] | [INFO] [stderr] 77 | type Elf64_Half = u16; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf64Half` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `Elf64_Word` should have an upper camel case name [INFO] [stderr] --> src/relf/parser.rs:78:6 [INFO] [stderr] | [INFO] [stderr] 78 | type Elf64_Word = u32; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf64Word` [INFO] [stderr] [INFO] [stderr] warning: type `Elf64_Addr` should have an upper camel case name [INFO] [stderr] --> src/relf/parser.rs:79:6 [INFO] [stderr] | [INFO] [stderr] 79 | type Elf64_Addr = u64; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf64Addr` [INFO] [stderr] [INFO] [stderr] warning: type `Elf64_Off` should have an upper camel case name [INFO] [stderr] --> src/relf/parser.rs:80:6 [INFO] [stderr] | [INFO] [stderr] 80 | type Elf64_Off = u64; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Elf64Off` [INFO] [stderr] [INFO] [stderr] warning: type `Elf64_Xword` should have an upper camel case name [INFO] [stderr] --> src/relf/parser.rs:81:6 [INFO] [stderr] | [INFO] [stderr] 81 | type Elf64_Xword = u64; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf64Xword` [INFO] [stderr] [INFO] [stderr] warning: type `Elf32_Half` should have an upper camel case name [INFO] [stderr] --> src/relf/parser.rs:271:6 [INFO] [stderr] | [INFO] [stderr] 271 | type Elf32_Half = u16; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf32Half` [INFO] [stderr] [INFO] [stderr] warning: type `Elf32_Word` should have an upper camel case name [INFO] [stderr] --> src/relf/parser.rs:272:6 [INFO] [stderr] | [INFO] [stderr] 272 | type Elf32_Word = u32; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf32Word` [INFO] [stderr] [INFO] [stderr] warning: type `Elf32_Addr` should have an upper camel case name [INFO] [stderr] --> src/relf/parser.rs:273:6 [INFO] [stderr] | [INFO] [stderr] 273 | type Elf32_Addr = u32; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf32Addr` [INFO] [stderr] [INFO] [stderr] warning: type `Elf32_Off` should have an upper camel case name [INFO] [stderr] --> src/relf/parser.rs:274:6 [INFO] [stderr] | [INFO] [stderr] 274 | type Elf32_Off = u32; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Elf32Off` [INFO] [stderr] [INFO] [stderr] warning: type `Elf32_Xword` should have an upper camel case name [INFO] [stderr] --> src/relf/parser.rs:275:6 [INFO] [stderr] | [INFO] [stderr] 275 | type Elf32_Xword = u64; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `Elf32Xword` [INFO] [stderr] [INFO] [stderr] warning: unused import: `PT_NULL` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | PT_NULL [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/relf/parser.rs:84:10 [INFO] [stderr] | [INFO] [stderr] 84 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unaligned_references)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/relf/parser.rs:138:10 [INFO] [stderr] | [INFO] [stderr] 138 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/relf/parser.rs:138:17 [INFO] [stderr] | [INFO] [stderr] 138 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/relf/parser.rs:182:10 [INFO] [stderr] | [INFO] [stderr] 182 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/relf/parser.rs:182:17 [INFO] [stderr] | [INFO] [stderr] 182 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/relf/parser.rs:278:10 [INFO] [stderr] | [INFO] [stderr] 278 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/relf/parser.rs:332:10 [INFO] [stderr] | [INFO] [stderr] 332 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/relf/parser.rs:332:17 [INFO] [stderr] | [INFO] [stderr] 332 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/relf/parser.rs:376:10 [INFO] [stderr] | [INFO] [stderr] 376 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `#[derive]` can't be used on a `#[repr(packed)]` struct that does not derive Copy (error E0133) [INFO] [stderr] --> src/relf/parser.rs:376:17 [INFO] [stderr] | [INFO] [stderr] 376 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #82523 [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_NULL` [INFO] [stderr] --> src/relf/parser.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | pub const PT_NULL: u32 = 0x0; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_LOAD` [INFO] [stderr] --> src/relf/parser.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | pub const PT_LOAD: u32 = 0x1; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_DYNAMIC` [INFO] [stderr] --> src/relf/parser.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub const PT_DYNAMIC: u32 = 0x2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_INTERP` [INFO] [stderr] --> src/relf/parser.rs:12:1 [INFO] [stderr] | [INFO] [stderr] 12 | pub const PT_INTERP: u32 = 0x3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_NOTE` [INFO] [stderr] --> src/relf/parser.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | pub const PT_NOTE: u32 = 0x4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_SHLIB` [INFO] [stderr] --> src/relf/parser.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub const PT_SHLIB: u32 = 0x5; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_PHDR` [INFO] [stderr] --> src/relf/parser.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | pub const PT_PHDR: u32 = 0x6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_TLS` [INFO] [stderr] --> src/relf/parser.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | pub const PT_TLS: u32 = 0x7; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_NUM` [INFO] [stderr] --> src/relf/parser.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | pub const PT_NUM: u32 = 0x8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_LOOS` [INFO] [stderr] --> src/relf/parser.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 | pub const PT_LOOS: u32 = 0x60000000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_GNU_EH_FRAME` [INFO] [stderr] --> src/relf/parser.rs:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | pub const PT_GNU_EH_FRAME: u32 = 0x6474e550; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_GNU_STACK` [INFO] [stderr] --> src/relf/parser.rs:20:1 [INFO] [stderr] | [INFO] [stderr] 20 | pub const PT_GNU_STACK: u32 = 0x6474e551; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_GNU_RELRO` [INFO] [stderr] --> src/relf/parser.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | pub const PT_GNU_RELRO: u32 = 0x6474e552; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_LOSUNW` [INFO] [stderr] --> src/relf/parser.rs:22:1 [INFO] [stderr] | [INFO] [stderr] 22 | pub const PT_LOSUNW: u32 = 0x6ffffffa; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_SUNWBSS` [INFO] [stderr] --> src/relf/parser.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | pub const PT_SUNWBSS: u32 = 0x6ffffffa; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_SUNWSTACK` [INFO] [stderr] --> src/relf/parser.rs:24:1 [INFO] [stderr] | [INFO] [stderr] 24 | pub const PT_SUNWSTACK: u32 = 0x6ffffffb; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_HISUNW` [INFO] [stderr] --> src/relf/parser.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | pub const PT_HISUNW: u32 = 0x6fffffff; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_HIOS` [INFO] [stderr] --> src/relf/parser.rs:26:1 [INFO] [stderr] | [INFO] [stderr] 26 | pub const PT_HIOS: u32 = 0x6fffffff; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_LOPROC` [INFO] [stderr] --> src/relf/parser.rs:27:1 [INFO] [stderr] | [INFO] [stderr] 27 | pub const PT_LOPROC: u32 = 0x70000000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PT_HIPROC` [INFO] [stderr] --> src/relf/parser.rs:28:1 [INFO] [stderr] | [INFO] [stderr] 28 | pub const PT_HIPROC: u32 = 0x7fffffff; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PF_X` [INFO] [stderr] --> src/relf/parser.rs:32:1 [INFO] [stderr] | [INFO] [stderr] 32 | pub const PF_X: u32 = (1 << 0); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PF_W` [INFO] [stderr] --> src/relf/parser.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | pub const PF_W: u32 = (1 << 1); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PF_R` [INFO] [stderr] --> src/relf/parser.rs:34:1 [INFO] [stderr] | [INFO] [stderr] 34 | pub const PF_R: u32 = (1 << 2); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PF_MASKOS` [INFO] [stderr] --> src/relf/parser.rs:35:1 [INFO] [stderr] | [INFO] [stderr] 35 | pub const PF_MASKOS: u32 = 0x0ff00000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `PF_MASKPROC` [INFO] [stderr] --> src/relf/parser.rs:36:1 [INFO] [stderr] | [INFO] [stderr] 36 | pub const PF_MASKPROC: u32 = 0xf0000000; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/relf/parser.rs:103:8 [INFO] [stderr] | [INFO] [stderr] 103 | fn new() -> Elf64_Ehdr { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/relf/parser.rs:151:8 [INFO] [stderr] | [INFO] [stderr] 151 | fn new() -> Elf64_Phdr { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/relf/parser.rs:197:8 [INFO] [stderr] | [INFO] [stderr] 197 | fn new() -> Elf64_Shdr { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_ehdr64` [INFO] [stderr] --> src/relf/parser.rs:213:8 [INFO] [stderr] | [INFO] [stderr] 213 | pub fn parse_ehdr64(fbuf: &[u8]) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_phdr64` [INFO] [stderr] --> src/relf/parser.rs:219:8 [INFO] [stderr] | [INFO] [stderr] 219 | pub fn parse_phdr64(fbuf: &[u8], ehdr: &Elf64_Ehdr) -> Result, ()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_shdr64` [INFO] [stderr] --> src/relf/parser.rs:233:8 [INFO] [stderr] | [INFO] [stderr] 233 | pub fn parse_shdr64(fbuf: &[u8], ehdr: &Elf64_Ehdr) -> Result, ()> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `Elf32_Xword` [INFO] [stderr] --> src/relf/parser.rs:275:1 [INFO] [stderr] | [INFO] [stderr] 275 | type Elf32_Xword = u64; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/relf/parser.rs:297:8 [INFO] [stderr] | [INFO] [stderr] 297 | fn new() -> Elf64_Ehdr { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/relf/parser.rs:345:8 [INFO] [stderr] | [INFO] [stderr] 345 | fn new() -> Elf64_Phdr { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/relf/parser.rs:391:8 [INFO] [stderr] | [INFO] [stderr] 391 | fn new() -> Elf64_Shdr { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `rELF` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `r_elf` [INFO] [stderr] [INFO] [stderr] warning: `rELF` (bin "rELF" test) generated 60 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rELF-e77c2e2d4f7d6de9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "52337e4b192be71218f125463f82bc1af5e0927e75481193b182d20c4ad38543", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52337e4b192be71218f125463f82bc1af5e0927e75481193b182d20c4ad38543", kill_on_drop: false }` [INFO] [stdout] 52337e4b192be71218f125463f82bc1af5e0927e75481193b182d20c4ad38543