[INFO] cloning repository https://github.com/Pedrocasf/elf-loader-for-emulators [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Pedrocasf/elf-loader-for-emulators" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPedrocasf%2Felf-loader-for-emulators", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPedrocasf%2Felf-loader-for-emulators'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 383721f098983872ad41859d1002033a2453226c [INFO] testing Pedrocasf/elf-loader-for-emulators against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPedrocasf%2Felf-loader-for-emulators" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Pedrocasf/elf-loader-for-emulators 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 git repo https://github.com/Pedrocasf/elf-loader-for-emulators [INFO] finished tweaking git repo https://github.com/Pedrocasf/elf-loader-for-emulators [INFO] tweaked toml for git repo https://github.com/Pedrocasf/elf-loader-for-emulators written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/Pedrocasf/elf-loader-for-emulators 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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] f32d79c76dc509db55eaee873bedd56368811c8c6174d7f34bd0d5e9dbc80a68 [INFO] running `Command { std: "docker" "start" "-a" "f32d79c76dc509db55eaee873bedd56368811c8c6174d7f34bd0d5e9dbc80a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f32d79c76dc509db55eaee873bedd56368811c8c6174d7f34bd0d5e9dbc80a68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f32d79c76dc509db55eaee873bedd56368811c8c6174d7f34bd0d5e9dbc80a68", kill_on_drop: false }` [INFO] [stdout] f32d79c76dc509db55eaee873bedd56368811c8c6174d7f34bd0d5e9dbc80a68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 074784d3c70b8a563a807fb312b32b8b366d18e242e385b42d5247b26ebc6132 [INFO] running `Command { std: "docker" "start" "-a" "074784d3c70b8a563a807fb312b32b8b366d18e242e385b42d5247b26ebc6132", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling conv v0.0.1 (https://github.com/Pedrocasf/conv?rev=33e1b9#33e1b9ac) [INFO] [stderr] Compiling inter v0.0.2 (https://github.com/Pedrocasf/inter?branch=BigEndian#92d44a0c) [INFO] [stderr] Compiling emu-elf-loader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/lib.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | if let Some(sh) = sh{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `elf_ident` [INFO] [stdout] --> src/file_header.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | elf_ident:ElfIdent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_type` [INFO] [stdout] --> src/file_header.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | e_type:u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_machine` [INFO] [stdout] --> src/file_header.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | e_machine:u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_version` [INFO] [stdout] --> src/file_header.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | e_version:u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_phoff` [INFO] [stdout] --> src/file_header.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | e_phoff:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_flags` [INFO] [stdout] --> src/file_header.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | e_flags:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_ehsize` [INFO] [stdout] --> src/file_header.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | e_ehsize:u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_phentsize` [INFO] [stdout] --> src/file_header.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | e_phentsize:u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_phnum` [INFO] [stdout] --> src/file_header.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | e_phnum:u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_shstrndx` [INFO] [stdout] --> src/file_header.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | e_shstrndx:u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_mag` [INFO] [stdout] --> src/file_header.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | ei_mag:u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_class` [INFO] [stdout] --> src/file_header.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | ei_class:u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_data` [INFO] [stdout] --> src/file_header.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | ei_data:u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_version` [INFO] [stdout] --> src/file_header.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | ei_version:u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_osabi` [INFO] [stdout] --> src/file_header.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | ei_osabi:u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_abiversion` [INFO] [stdout] --> src/file_header.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | ei_abiversion:u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `p_type` [INFO] [stdout] --> src/program_header.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | p_type:u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/program_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `p_vaddr` [INFO] [stdout] --> src/program_header.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | p_vaddr:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/program_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `p_filesz` [INFO] [stdout] --> src/program_header.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | p_filesz:u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/program_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `p_flags` [INFO] [stdout] --> src/program_header.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | p_flags:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/program_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `p_align` [INFO] [stdout] --> src/program_header.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | p_align:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/program_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `sh_link` [INFO] [stdout] --> src/section/section_header.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | sh_link:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SectionHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/section/section_header.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy,Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `sh_info` [INFO] [stdout] --> src/section/section_header.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | sh_info:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SectionHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/section/section_header.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy,Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `sh_addralign` [INFO] [stdout] --> src/section/section_header.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | sh_addralign:u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SectionHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/section/section_header.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy,Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `sh_entsize` [INFO] [stdout] --> src/section/section_header.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | sh_entsize:u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SectionHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/section/section_header.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy,Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.66s [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "074784d3c70b8a563a807fb312b32b8b366d18e242e385b42d5247b26ebc6132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "074784d3c70b8a563a807fb312b32b8b366d18e242e385b42d5247b26ebc6132", kill_on_drop: false }` [INFO] [stdout] 074784d3c70b8a563a807fb312b32b8b366d18e242e385b42d5247b26ebc6132 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 0266196b7aed6eb055e2bf0035e5595cec6e263e50e4a55c7abab37ae02d1332 [INFO] running `Command { std: "docker" "start" "-a" "0266196b7aed6eb055e2bf0035e5595cec6e263e50e4a55c7abab37ae02d1332", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/lib.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | if let Some(sh) = sh{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `elf_ident` [INFO] [stdout] --> src/file_header.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | elf_ident:ElfIdent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_type` [INFO] [stdout] --> src/file_header.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | e_type:u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_machine` [INFO] [stdout] --> src/file_header.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | e_machine:u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_version` [INFO] [stdout] --> src/file_header.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | e_version:u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_phoff` [INFO] [stdout] --> src/file_header.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | e_phoff:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_flags` [INFO] [stdout] --> src/file_header.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | e_flags:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_ehsize` [INFO] [stdout] --> src/file_header.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | e_ehsize:u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_phentsize` [INFO] [stdout] --> src/file_header.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | e_phentsize:u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_phnum` [INFO] [stdout] --> src/file_header.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | e_phnum:u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_shstrndx` [INFO] [stdout] --> src/file_header.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | e_shstrndx:u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_mag` [INFO] [stdout] --> src/file_header.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | ei_mag:u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_class` [INFO] [stdout] --> src/file_header.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | ei_class:u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_data` [INFO] [stdout] --> src/file_header.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | ei_data:u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_version` [INFO] [stdout] --> src/file_header.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | ei_version:u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_osabi` [INFO] [stdout] --> src/file_header.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | ei_osabi:u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_abiversion` [INFO] [stdout] --> src/file_header.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | ei_abiversion:u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `p_type` [INFO] [stdout] --> src/program_header.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | p_type:u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/program_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `p_vaddr` [INFO] [stdout] --> src/program_header.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | p_vaddr:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/program_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `p_filesz` [INFO] [stdout] --> src/program_header.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | p_filesz:u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/program_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `p_flags` [INFO] [stdout] --> src/program_header.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | p_flags:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/program_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `p_align` [INFO] [stdout] --> src/program_header.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | p_align:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/program_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `sh_link` [INFO] [stdout] --> src/section/section_header.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | sh_link:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SectionHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/section/section_header.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy,Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `sh_info` [INFO] [stdout] --> src/section/section_header.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | sh_info:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SectionHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/section/section_header.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy,Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `sh_addralign` [INFO] [stdout] --> src/section/section_header.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | sh_addralign:u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SectionHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/section/section_header.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy,Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `sh_entsize` [INFO] [stdout] --> src/section/section_header.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | sh_entsize:u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SectionHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/section/section_header.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy,Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling emu-elf-loader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `sh` [INFO] [stdout] --> src/lib.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | if let Some(sh) = sh{ [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `elf_ident` [INFO] [stdout] --> src/file_header.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | elf_ident:ElfIdent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_type` [INFO] [stdout] --> src/file_header.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | e_type:u16, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_machine` [INFO] [stdout] --> src/file_header.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | e_machine:u16, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_version` [INFO] [stdout] --> src/file_header.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | e_version:u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_phoff` [INFO] [stdout] --> src/file_header.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | e_phoff:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_flags` [INFO] [stdout] --> src/file_header.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | e_flags:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_ehsize` [INFO] [stdout] --> src/file_header.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | e_ehsize:u16, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_phentsize` [INFO] [stdout] --> src/file_header.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | e_phentsize:u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_phnum` [INFO] [stdout] --> src/file_header.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | e_phnum:u16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `e_shstrndx` [INFO] [stdout] --> src/file_header.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | e_shstrndx:u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_mag` [INFO] [stdout] --> src/file_header.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | ei_mag:u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_class` [INFO] [stdout] --> src/file_header.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | ei_class:u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_data` [INFO] [stdout] --> src/file_header.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | ei_data:u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_version` [INFO] [stdout] --> src/file_header.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | ei_version:u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_osabi` [INFO] [stdout] --> src/file_header.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | ei_osabi:u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `ei_abiversion` [INFO] [stdout] --> src/file_header.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | ei_abiversion:u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/file_header.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `p_type` [INFO] [stdout] --> src/program_header.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | p_type:u32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/program_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `p_vaddr` [INFO] [stdout] --> src/program_header.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | p_vaddr:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/program_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `p_filesz` [INFO] [stdout] --> src/program_header.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | p_filesz:u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/program_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `p_flags` [INFO] [stdout] --> src/program_header.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | p_flags:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/program_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `p_align` [INFO] [stdout] --> src/program_header.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | p_align:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/program_header.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Clone, Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `sh_link` [INFO] [stdout] --> src/section/section_header.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | sh_link:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SectionHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/section/section_header.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy,Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `sh_info` [INFO] [stdout] --> src/section/section_header.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | sh_info:u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SectionHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/section/section_header.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy,Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `sh_addralign` [INFO] [stdout] --> src/section/section_header.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | sh_addralign:u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SectionHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/section/section_header.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy,Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: field is never read: `sh_entsize` [INFO] [stdout] --> src/section/section_header.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | sh_entsize:u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `SectionHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/section/section_header.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | #[derive(Copy,Clone,Debug)] [INFO] [stdout] | ^^^^^ ^^^^^ [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: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.56s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/emu_elf_loader-8674cc445c5fc823) [INFO] running `Command { std: "docker" "inspect" "0266196b7aed6eb055e2bf0035e5595cec6e263e50e4a55c7abab37ae02d1332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0266196b7aed6eb055e2bf0035e5595cec6e263e50e4a55c7abab37ae02d1332", kill_on_drop: false }` [INFO] [stdout] 0266196b7aed6eb055e2bf0035e5595cec6e263e50e4a55c7abab37ae02d1332 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] af11fadcc1c849361f72d1218a080f8188e8c563350df8f89ac88623d3d4f697 [INFO] running `Command { std: "docker" "start" "-a" "af11fadcc1c849361f72d1218a080f8188e8c563350df8f89ac88623d3d4f697", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `sh` [INFO] [stderr] --> src/lib.rs:52:21 [INFO] [stderr] | [INFO] [stderr] 52 | if let Some(sh) = sh{ [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_sh` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `elf_ident` [INFO] [stderr] --> src/file_header.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | elf_ident:ElfIdent, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/file_header.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `e_type` [INFO] [stderr] --> src/file_header.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | e_type:u16, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/file_header.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `e_machine` [INFO] [stderr] --> src/file_header.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | e_machine:u16, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/file_header.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `e_version` [INFO] [stderr] --> src/file_header.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | e_version:u32, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/file_header.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `e_phoff` [INFO] [stderr] --> src/file_header.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | e_phoff:u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/file_header.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `e_flags` [INFO] [stderr] --> src/file_header.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | e_flags:u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/file_header.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `e_ehsize` [INFO] [stderr] --> src/file_header.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | e_ehsize:u16, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/file_header.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `e_phentsize` [INFO] [stderr] --> src/file_header.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | e_phentsize:u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/file_header.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `e_phnum` [INFO] [stderr] --> src/file_header.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | e_phnum:u16, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/file_header.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `e_shstrndx` [INFO] [stderr] --> src/file_header.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | e_shstrndx:u16, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `FileHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/file_header.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `ei_mag` [INFO] [stderr] --> src/file_header.rs:53:5 [INFO] [stderr] | [INFO] [stderr] 53 | ei_mag:u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/file_header.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `ei_class` [INFO] [stderr] --> src/file_header.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | ei_class:u8, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/file_header.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `ei_data` [INFO] [stderr] --> src/file_header.rs:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | ei_data:u8, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/file_header.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `ei_version` [INFO] [stderr] --> src/file_header.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | ei_version:u8, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/file_header.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `ei_osabi` [INFO] [stderr] --> src/file_header.rs:57:5 [INFO] [stderr] | [INFO] [stderr] 57 | ei_osabi:u8, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/file_header.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `ei_abiversion` [INFO] [stderr] --> src/file_header.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | ei_abiversion:u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ElfIdent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/file_header.rs:51:10 [INFO] [stderr] | [INFO] [stderr] 51 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `p_type` [INFO] [stderr] --> src/program_header.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | p_type:u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/program_header.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `p_vaddr` [INFO] [stderr] --> src/program_header.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | p_vaddr:u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/program_header.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `p_filesz` [INFO] [stderr] --> src/program_header.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | p_filesz:u32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/program_header.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `p_flags` [INFO] [stderr] --> src/program_header.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | p_flags:u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/program_header.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `p_align` [INFO] [stderr] --> src/program_header.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | p_align:u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ProgramHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/program_header.rs:2:10 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Clone, Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `sh_link` [INFO] [stderr] --> src/section/section_header.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | sh_link:u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SectionHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/section/section_header.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Copy,Clone,Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `sh_info` [INFO] [stderr] --> src/section/section_header.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | sh_info:u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SectionHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/section/section_header.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Copy,Clone,Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `sh_addralign` [INFO] [stderr] --> src/section/section_header.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | sh_addralign:u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SectionHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/section/section_header.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Copy,Clone,Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: field is never read: `sh_entsize` [INFO] [stderr] --> src/section/section_header.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | sh_entsize:u32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SectionHeader` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/section/section_header.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | #[derive(Copy,Clone,Debug)] [INFO] [stderr] | ^^^^^ ^^^^^ [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: `emu-elf-loader` (lib) generated 26 warnings [INFO] [stderr] warning: `emu-elf-loader` (lib test) generated 26 warnings (26 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.90s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/emu_elf_loader-8674cc445c5fc823) [INFO] [stdout] [INFO] [stderr] Doc-tests emu-elf-loader [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] [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" "af11fadcc1c849361f72d1218a080f8188e8c563350df8f89ac88623d3d4f697", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af11fadcc1c849361f72d1218a080f8188e8c563350df8f89ac88623d3d4f697", kill_on_drop: false }` [INFO] [stdout] af11fadcc1c849361f72d1218a080f8188e8c563350df8f89ac88623d3d4f697