[INFO] cloning repository https://github.com/siddharthgpta/elf-tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/siddharthgpta/elf-tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsiddharthgpta%2Felf-tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsiddharthgpta%2Felf-tools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cb3b3fd54645c1d6e7333f117d2f3ca8db8cb44 [INFO] checking siddharthgpta/elf-tools against master#568f6a8641e391ffcdcdb03e79d0901731d8d399 for pr-117164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsiddharthgpta%2Felf-tools" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/siddharthgpta/elf-tools on toolchain 568f6a8641e391ffcdcdb03e79d0901731d8d399 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568f6a8641e391ffcdcdb03e79d0901731d8d399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/siddharthgpta/elf-tools [INFO] finished tweaking git repo https://github.com/siddharthgpta/elf-tools [INFO] tweaked toml for git repo https://github.com/siddharthgpta/elf-tools written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/siddharthgpta/elf-tools already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+568f6a8641e391ffcdcdb03e79d0901731d8d399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking siddharthgpta/elf-tools against try#eb3956d47f58f1c7c0a5694b1d3401945bc41dce for pr-117164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsiddharthgpta%2Felf-tools" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/siddharthgpta/elf-tools on toolchain eb3956d47f58f1c7c0a5694b1d3401945bc41dce [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/siddharthgpta/elf-tools [INFO] finished tweaking git repo https://github.com/siddharthgpta/elf-tools [INFO] tweaked toml for git repo https://github.com/siddharthgpta/elf-tools written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/siddharthgpta/elf-tools already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25830dc1b7a1af9c7f4094fad6737bccea36095ddffe2ffcce76fa5728866b59 [INFO] running `Command { std: "docker" "start" "-a" "25830dc1b7a1af9c7f4094fad6737bccea36095ddffe2ffcce76fa5728866b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25830dc1b7a1af9c7f4094fad6737bccea36095ddffe2ffcce76fa5728866b59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25830dc1b7a1af9c7f4094fad6737bccea36095ddffe2ffcce76fa5728866b59", kill_on_drop: false }` [INFO] [stdout] 25830dc1b7a1af9c7f4094fad6737bccea36095ddffe2ffcce76fa5728866b59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+eb3956d47f58f1c7c0a5694b1d3401945bc41dce" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4ddf62bc818d8ea7c6e31df06a453057414030b6ff3ef1f42becf8714095f2b [INFO] running `Command { std: "docker" "start" "-a" "a4ddf62bc818d8ea7c6e31df06a453057414030b6ff3ef1f42becf8714095f2b", kill_on_drop: false }` [INFO] [stderr] Checking elf-tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mem` [INFO] [stdout] --> src/Elf/Elf32.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | e_ehsize: mem::size_of::() as u16, [INFO] [stdout] | ^^^ use of undeclared crate or module `mem` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use core::mem; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::Elf::Elf32::mem; [INFO] [stdout] | [INFO] [stdout] 5 + use std::mem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/Elf/Elf32.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | impl fmt::Display for elf32_ehdr { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use core::fmt; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::Elf::fmt; [INFO] [stdout] | [INFO] [stdout] 5 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/Elf/Elf32.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use core::fmt; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::Elf::fmt; [INFO] [stdout] | [INFO] [stdout] 5 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/Elf/Elf32.rs:127:50 [INFO] [stdout] | [INFO] [stdout] 127 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use core::fmt; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::Elf::fmt; [INFO] [stdout] | [INFO] [stdout] 5 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/Elf/Elf64.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | impl fmt::Display for elf64_ehdr { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use core::fmt; [INFO] [stdout] | [INFO] [stdout] 4 + use crate::Elf::fmt; [INFO] [stdout] | [INFO] [stdout] 4 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/Elf/Elf64.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use core::fmt; [INFO] [stdout] | [INFO] [stdout] 4 + use crate::Elf::fmt; [INFO] [stdout] | [INFO] [stdout] 4 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/Elf/Elf64.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use core::fmt; [INFO] [stdout] | [INFO] [stdout] 4 + use crate::Elf::fmt; [INFO] [stdout] | [INFO] [stdout] 4 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elf_ehdr` in this scope [INFO] [stdout] --> src/Elf.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl elf_ehdr { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elf_ehdr` in this scope [INFO] [stdout] --> src/Elf.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open() -> elf_ehdr { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elf_ehdr` in this scope [INFO] [stdout] --> src/Elf.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | impl fmt::Display for elf_ehdr { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/Elf/Elf32.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/Elf/Elf32.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/Elf/Elf64.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mem` [INFO] [stdout] --> src/Elf/Elf32.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | e_ehsize: mem::size_of::() as u16, [INFO] [stdout] | ^^^ use of undeclared crate or module `mem` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use core::mem; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::Elf::Elf32::mem; [INFO] [stdout] | [INFO] [stdout] 5 + use std::mem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/Elf/Elf32.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | impl fmt::Display for elf32_ehdr { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use core::fmt; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::Elf::fmt; [INFO] [stdout] | [INFO] [stdout] 5 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/Elf/Elf32.rs:127:31 [INFO] [stdout] | [INFO] [stdout] 127 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use core::fmt; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::Elf::fmt; [INFO] [stdout] | [INFO] [stdout] 5 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/Elf/Elf32.rs:127:50 [INFO] [stdout] | [INFO] [stdout] 127 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 + use core::fmt; [INFO] [stdout] | [INFO] [stdout] 5 + use crate::Elf::fmt; [INFO] [stdout] | [INFO] [stdout] 5 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/Elf/Elf64.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | impl fmt::Display for elf64_ehdr { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use core::fmt; [INFO] [stdout] | [INFO] [stdout] 4 + use crate::Elf::fmt; [INFO] [stdout] | [INFO] [stdout] 4 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/Elf/Elf64.rs:76:31 [INFO] [stdout] | [INFO] [stdout] 76 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use core::fmt; [INFO] [stdout] | [INFO] [stdout] 4 + use crate::Elf::fmt; [INFO] [stdout] | [INFO] [stdout] 4 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fmt` [INFO] [stdout] --> src/Elf/Elf64.rs:76:50 [INFO] [stdout] | [INFO] [stdout] 76 | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^ use of undeclared crate or module `fmt` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 + use core::fmt; [INFO] [stdout] | [INFO] [stdout] 4 + use crate::Elf::fmt; [INFO] [stdout] | [INFO] [stdout] 4 + use std::fmt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elf_ehdr` in this scope [INFO] [stdout] --> src/Elf.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl elf_ehdr { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elf_ehdr` in this scope [INFO] [stdout] --> src/Elf.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn open() -> elf_ehdr { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `elf_ehdr` in this scope [INFO] [stdout] --> src/Elf.rs:21:23 [INFO] [stdout] | [INFO] [stdout] 21 | impl fmt::Display for elf_ehdr { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/Elf/Elf32.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem` [INFO] [stdout] --> src/Elf/Elf32.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::mem; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `e_ident` should have an upper camel case name [INFO] [stdout] --> src/Elf.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum e_ident { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `EIdent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/Elf/Elf64.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Elf` [INFO] [stdout] --> src/Elf.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | ELF32(Elf::Elf32), [INFO] [stdout] | ^^^ use of undeclared type `Elf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Elf` [INFO] [stdout] --> src/Elf.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | ELF64(Elf::Elf64), [INFO] [stdout] | ^^^ use of undeclared type `Elf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `elf_ehdr` [INFO] [stdout] --> src/Elf.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | elf_ehdr::ELF32(ehdr) => write!(f, "{}", ehdr), [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `elf_ehdr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `elf_ehdr` [INFO] [stdout] --> src/Elf.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | elf_ehdr::ELF64(ehdr) => write!(f, "{}", ehdr), [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `elf_ehdr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] warning: type `e_ident` should have an upper camel case name [INFO] [stdout] --> src/Elf.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum e_ident { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `EIdent` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Elf` [INFO] [stdout] --> src/Elf.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | ELF32(Elf::Elf32), [INFO] [stdout] | ^^^ use of undeclared type `Elf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Elf` [INFO] [stdout] --> src/Elf.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | ELF64(Elf::Elf64), [INFO] [stdout] | ^^^ use of undeclared type `Elf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `elf_ehdr` [INFO] [stdout] --> src/Elf.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | elf_ehdr::ELF32(ehdr) => write!(f, "{}", ehdr), [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `elf_ehdr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `elf_ehdr` [INFO] [stdout] --> src/Elf.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | elf_ehdr::ELF64(ehdr) => write!(f, "{}", ehdr), [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `elf_ehdr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `elf-tools` (bin "elf-tools") due to 15 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `elf-tools` (bin "elf-tools" test) due to 15 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a4ddf62bc818d8ea7c6e31df06a453057414030b6ff3ef1f42becf8714095f2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4ddf62bc818d8ea7c6e31df06a453057414030b6ff3ef1f42becf8714095f2b", kill_on_drop: false }` [INFO] [stdout] a4ddf62bc818d8ea7c6e31df06a453057414030b6ff3ef1f42becf8714095f2b