[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 try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsiddharthgpta%2Felf-tools" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/siddharthgpta/elf-tools on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a359d2d2863c7bf8bd3b58f0b5c5ae57acc780071923229a26826a6727ea47bb [INFO] running `Command { std: "docker" "start" "-a" "a359d2d2863c7bf8bd3b58f0b5c5ae57acc780071923229a26826a6727ea47bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a359d2d2863c7bf8bd3b58f0b5c5ae57acc780071923229a26826a6727ea47bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a359d2d2863c7bf8bd3b58f0b5c5ae57acc780071923229a26826a6727ea47bb", kill_on_drop: false }` [INFO] [stdout] a359d2d2863c7bf8bd3b58f0b5c5ae57acc780071923229a26826a6727ea47bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 653e7046d99e23f61d27c4cb8941d609acbbb9c40083ae44ab85ed5d37d60c5f [INFO] running `Command { std: "docker" "start" "-a" "653e7046d99e23f61d27c4cb8941d609acbbb9c40083ae44ab85ed5d37d60c5f", kill_on_drop: false }` [INFO] [stderr] Checking elf-tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `mem` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mem`, use `cargo add mem` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [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 unresolved module or unlinked crate `fmt` [INFO] [stdout] --> src/Elf/Elf32.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | impl fmt::Display for elf32_ehdr { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `fmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `fmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `fmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [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 unresolved module or unlinked crate `fmt` [INFO] [stdout] --> src/Elf/Elf64.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | impl fmt::Display for elf64_ehdr { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `fmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `fmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `fmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [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] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `mem` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `mem`, use `cargo add mem` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [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] 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 unresolved module or unlinked crate `fmt` [INFO] [stdout] --> src/Elf/Elf32.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | impl fmt::Display for elf32_ehdr { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `fmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [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] 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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `fmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `fmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [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 unresolved module or unlinked crate `fmt` [INFO] [stdout] --> src/Elf/Elf64.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | impl fmt::Display for elf64_ehdr { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `fmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `fmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `fmt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fmt`, use `cargo add fmt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [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] 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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `elf_ehdr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elf_ehdr`, use `cargo add elf_ehdr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `elf_ehdr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elf_ehdr`, use `cargo add elf_ehdr` to add it to your `Cargo.toml` [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] 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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `elf_ehdr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elf_ehdr`, use `cargo add elf_ehdr` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `elf_ehdr` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `elf_ehdr`, use `cargo add elf_ehdr` to add it to your `Cargo.toml` [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 14 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 14 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "653e7046d99e23f61d27c4cb8941d609acbbb9c40083ae44ab85ed5d37d60c5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "653e7046d99e23f61d27c4cb8941d609acbbb9c40083ae44ab85ed5d37d60c5f", kill_on_drop: false }` [INFO] [stdout] 653e7046d99e23f61d27c4cb8941d609acbbb9c40083ae44ab85ed5d37d60c5f