[INFO] cloning repository https://github.com/AnderEnder/rpm-utils-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnderEnder/rpm-utils-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnderEnder%2Frpm-utils-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnderEnder%2Frpm-utils-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 26ecf354da92a6b7f966f3da6e3299b77694007e
[INFO] building AnderEnder/rpm-utils-rs against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnderEnder%2Frpm-utils-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AnderEnder/rpm-utils-rs on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AnderEnder/rpm-utils-rs
[INFO] finished tweaking git repo https://github.com/AnderEnder/rpm-utils-rs
[INFO] tweaked toml for git repo https://github.com/AnderEnder/rpm-utils-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/AnderEnder/rpm-utils-rs 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quote v1.0.3
[INFO] [stderr]   Downloaded filetime v0.2.14
[INFO] [stderr]   Downloaded redox_syscall v0.2.4
[INFO] [stderr]   Downloaded bzip2 v0.4.3
[INFO] [stderr]   Downloaded structopt v0.3.23
[INFO] [stderr]   Downloaded proc-macro2 v1.0.10
[INFO] [stderr]   Downloaded getrandom v0.2.1
[INFO] [stderr]   Downloaded rand v0.8.1
[INFO] [stderr]   Downloaded rand_core v0.6.1
[INFO] [stderr]   Downloaded zstd-safe v4.1.1+zstd.1.5.0
[INFO] [stderr]   Downloaded syn v1.0.17
[INFO] [stderr]   Downloaded zstd v0.9.0+zstd.1.5.0
[INFO] [stderr]   Downloaded wasi v0.10.1+wasi-snapshot-preview1
[INFO] [stderr]   Downloaded jobserver v0.1.21
[INFO] [stderr]   Downloaded adler v0.2.2
[INFO] [stderr]   Downloaded omnom v3.0.0
[INFO] [stderr]   Downloaded structopt-derive v0.4.16
[INFO] [stderr]   Downloaded zstd-sys v1.6.1+zstd.1.5.0
[INFO] [stderr]   Downloaded hermit-abi v0.1.11
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 15bf65566157d608ef0745642df0437f9c5380372e3d912ebc4dd156a3db0f41
[INFO] running `Command { std: "docker" "start" "-a" "15bf65566157d608ef0745642df0437f9c5380372e3d912ebc4dd156a3db0f41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "15bf65566157d608ef0745642df0437f9c5380372e3d912ebc4dd156a3db0f41", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "15bf65566157d608ef0745642df0437f9c5380372e3d912ebc4dd156a3db0f41", kill_on_drop: false }`
[INFO] [stdout] 15bf65566157d608ef0745642df0437f9c5380372e3d912ebc4dd156a3db0f41
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] af5ffe69010f023ab397fe633b2a02fb13caeca1019a356a43a4f1b87891885f
[INFO] running `Command { std: "docker" "start" "-a" "af5ffe69010f023ab397fe633b2a02fb13caeca1019a356a43a4f1b87891885f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.102
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]    Compiling version_check v0.9.1
[INFO] [stderr]    Compiling pkg-config v0.3.17
[INFO] [stderr]    Compiling unicode-segmentation v1.6.0
[INFO] [stderr]    Compiling zstd-safe v4.1.1+zstd.1.5.0
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling unicode-width v0.1.7
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling adler v0.2.2
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling vec_map v0.8.1
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling miniz_oxide v0.4.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling itertools v0.9.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.2
[INFO] [stderr]    Compiling omnom v3.0.0
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]    Compiling jobserver v0.1.21
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling time v0.1.43
[INFO] [stderr]    Compiling filetime v0.2.14
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling flate2 v1.0.22
[INFO] [stderr]    Compiling nix v0.23.0
[INFO] [stderr]    Compiling clap v2.33.0
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling zstd-sys v1.6.1+zstd.1.5.0
[INFO] [stderr]    Compiling lzma-sys v0.1.15
[INFO] [stderr]    Compiling bzip2-sys v0.1.11+1.0.8
[INFO] [stderr]    Compiling xz2 v0.1.6
[INFO] [stderr]    Compiling bzip2 v0.4.3
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling strum_macros v0.21.1
[INFO] [stderr]    Compiling structopt-derive v0.4.16
[INFO] [stderr]    Compiling structopt v0.3.23
[INFO] [stderr]    Compiling zstd v0.9.0+zstd.1.5.0
[INFO] [stderr]    Compiling rpm-utils v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `CpioFiles` is never constructed
[INFO] [stdout]    --> src/payload/cpio.rs:335:8
[INFO] [stdout]     |
[INFO] [stdout] 335 | struct CpioFiles<T> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/payload/cpio.rs:340:12
[INFO] [stdout]     |
[INFO] [stdout] 339 | impl<T: Read + Seek> CpioFiles<T> {
[INFO] [stdout]     | --------------------------------- associated function in this implementation
[INFO] [stdout] 340 |     pub fn new(reader: T) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CpioEntries` is never constructed
[INFO] [stdout]    --> src/payload/cpio.rs:359:8
[INFO] [stdout]     |
[INFO] [stdout] 359 | struct CpioEntries<T> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/payload/cpio.rs:364:12
[INFO] [stdout]     |
[INFO] [stdout] 363 | impl<T: Read + Seek> CpioEntries<T> {
[INFO] [stdout]     | ----------------------------------- associated function in this implementation
[INFO] [stdout] 364 |     pub fn new(reader: T) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InnerPath` is never constructed
[INFO] [stdout]   --> src/rpm/builder.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct InnerPath {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `packager`, `os`, `distribution`, `vendor`, `url`, and `package_type` are never read
[INFO] [stdout]   --> src/rpm/builder.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct RPMBuilder {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     packager: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 37 |     os: Option<String>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 38 |     distribution: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 39 |     vendor: Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 40 |     url: Option<String>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     package_type: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RPMBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/header/index.rs:9:28
[INFO] [stdout]    |
[INFO] [stdout] 9  | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive, Display, Clone)]
[INFO] [stdout]    |                            ^------------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `FromPrimitive` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type`
[INFO] [stdout] 10 | pub enum Type {
[INFO] [stdout]    |          ---- `Type` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/header/index.rs:9:43
[INFO] [stdout]    |
[INFO] [stdout] 9  | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive, Display, Clone)]
[INFO] [stdout]    |                                           ^----------
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           `ToPrimitive` is not local
[INFO] [stdout]    |                                           move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Type`
[INFO] [stdout] 10 | pub enum Type {
[INFO] [stdout]    |          ---- `Type` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/header/tags.rs:4:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive, Display, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                              ^------------
[INFO] [stdout]   |                              |
[INFO] [stdout]   |                              `FromPrimitive` is not local
[INFO] [stdout]   |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Tag`
[INFO] [stdout] 5 | pub enum Tag {
[INFO] [stdout]   |          --- `Tag` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/header/tags.rs:4:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive, Display, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                             ^----------
[INFO] [stdout]   |                                             |
[INFO] [stdout]   |                                             `ToPrimitive` is not local
[INFO] [stdout]   |                                             move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Tag`
[INFO] [stdout] 5 | pub enum Tag {
[INFO] [stdout]   |          --- `Tag` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/header/tags.rs:282:30
[INFO] [stdout]     |
[INFO] [stdout] 282 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive, Display, PartialEq, Eq, Hash)]
[INFO] [stdout]     |                              ^------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              `FromPrimitive` is not local
[INFO] [stdout]     |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SignatureTag`
[INFO] [stdout] 283 | pub enum SignatureTag {
[INFO] [stdout]     |          ------------ `SignatureTag` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/header/tags.rs:282:45
[INFO] [stdout]     |
[INFO] [stdout] 282 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive, Display, PartialEq, Eq, Hash)]
[INFO] [stdout]     |                                             ^----------
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             `ToPrimitive` is not local
[INFO] [stdout]     |                                             move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SignatureTag`
[INFO] [stdout] 283 | pub enum SignatureTag {
[INFO] [stdout]     |          ------------ `SignatureTag` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/lead.rs:12:28
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive, Display, Clone)]
[INFO] [stdout]    |                            ^------------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `FromPrimitive` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type`
[INFO] [stdout] 13 | pub enum Type {
[INFO] [stdout]    |          ---- `Type` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/lead.rs:12:43
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive, Display, Clone)]
[INFO] [stdout]    |                                           ^----------
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           `ToPrimitive` is not local
[INFO] [stdout]    |                                           move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Type`
[INFO] [stdout] 13 | pub enum Type {
[INFO] [stdout]    |          ---- `Type` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 08s
[INFO] running `Command { std: "docker" "inspect" "af5ffe69010f023ab397fe633b2a02fb13caeca1019a356a43a4f1b87891885f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "af5ffe69010f023ab397fe633b2a02fb13caeca1019a356a43a4f1b87891885f", kill_on_drop: false }`
[INFO] [stdout] af5ffe69010f023ab397fe633b2a02fb13caeca1019a356a43a4f1b87891885f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fb02344bdbf68775693bd37cbd62421b484d16fa7acbb87dc9f2249339c0c0b3
[INFO] running `Command { std: "docker" "start" "-a" "fb02344bdbf68775693bd37cbd62421b484d16fa7acbb87dc9f2249339c0c0b3", kill_on_drop: false }`
[INFO] [stderr]    Compiling getrandom v0.2.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling remove_dir_all v0.5.2
[INFO] [stdout] warning: struct `CpioFiles` is never constructed
[INFO] [stdout]    --> src/payload/cpio.rs:335:8
[INFO] [stdout]     |
[INFO] [stdout] 335 | struct CpioFiles<T> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/payload/cpio.rs:340:12
[INFO] [stdout]     |
[INFO] [stdout] 339 | impl<T: Read + Seek> CpioFiles<T> {
[INFO] [stdout]     | --------------------------------- associated function in this implementation
[INFO] [stdout] 340 |     pub fn new(reader: T) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CpioEntries` is never constructed
[INFO] [stdout]    --> src/payload/cpio.rs:359:8
[INFO] [stdout]     |
[INFO] [stdout] 359 | struct CpioEntries<T> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/payload/cpio.rs:364:12
[INFO] [stdout]     |
[INFO] [stdout] 363 | impl<T: Read + Seek> CpioEntries<T> {
[INFO] [stdout]     | ----------------------------------- associated function in this implementation
[INFO] [stdout] 364 |     pub fn new(reader: T) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InnerPath` is never constructed
[INFO] [stdout]   --> src/rpm/builder.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct InnerPath {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `packager`, `os`, `distribution`, `vendor`, `url`, and `package_type` are never read
[INFO] [stdout]   --> src/rpm/builder.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct RPMBuilder {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     packager: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 37 |     os: Option<String>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 38 |     distribution: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 39 |     vendor: Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 40 |     url: Option<String>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     package_type: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RPMBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/header/index.rs:9:28
[INFO] [stdout]    |
[INFO] [stdout] 9  | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive, Display, Clone)]
[INFO] [stdout]    |                            ^------------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `FromPrimitive` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type`
[INFO] [stdout] 10 | pub enum Type {
[INFO] [stdout]    |          ---- `Type` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/header/index.rs:9:43
[INFO] [stdout]    |
[INFO] [stdout] 9  | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive, Display, Clone)]
[INFO] [stdout]    |                                           ^----------
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           `ToPrimitive` is not local
[INFO] [stdout]    |                                           move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Type`
[INFO] [stdout] 10 | pub enum Type {
[INFO] [stdout]    |          ---- `Type` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/header/tags.rs:4:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive, Display, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                              ^------------
[INFO] [stdout]   |                              |
[INFO] [stdout]   |                              `FromPrimitive` is not local
[INFO] [stdout]   |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Tag`
[INFO] [stdout] 5 | pub enum Tag {
[INFO] [stdout]   |          --- `Tag` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/header/tags.rs:4:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive, Display, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                             ^----------
[INFO] [stdout]   |                                             |
[INFO] [stdout]   |                                             `ToPrimitive` is not local
[INFO] [stdout]   |                                             move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Tag`
[INFO] [stdout] 5 | pub enum Tag {
[INFO] [stdout]   |          --- `Tag` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/header/tags.rs:282:30
[INFO] [stdout]     |
[INFO] [stdout] 282 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive, Display, PartialEq, Eq, Hash)]
[INFO] [stdout]     |                              ^------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              `FromPrimitive` is not local
[INFO] [stdout]     |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SignatureTag`
[INFO] [stdout] 283 | pub enum SignatureTag {
[INFO] [stdout]     |          ------------ `SignatureTag` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/header/tags.rs:282:45
[INFO] [stdout]     |
[INFO] [stdout] 282 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive, Display, PartialEq, Eq, Hash)]
[INFO] [stdout]     |                                             ^----------
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             `ToPrimitive` is not local
[INFO] [stdout]     |                                             move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SignatureTag`
[INFO] [stdout] 283 | pub enum SignatureTag {
[INFO] [stdout]     |          ------------ `SignatureTag` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/lead.rs:12:28
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive, Display, Clone)]
[INFO] [stdout]    |                            ^------------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `FromPrimitive` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type`
[INFO] [stdout] 13 | pub enum Type {
[INFO] [stdout]    |          ---- `Type` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/lead.rs:12:43
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive, Display, Clone)]
[INFO] [stdout]    |                                           ^----------
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           `ToPrimitive` is not local
[INFO] [stdout]    |                                           move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Type`
[INFO] [stdout] 13 | pub enum Type {
[INFO] [stdout]    |          ---- `Type` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rand_core v0.6.1
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling rand v0.8.1
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]    Compiling rpm-utils v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `CpioFiles` is never constructed
[INFO] [stdout]    --> src/payload/cpio.rs:335:8
[INFO] [stdout]     |
[INFO] [stdout] 335 | struct CpioFiles<T> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/payload/cpio.rs:340:12
[INFO] [stdout]     |
[INFO] [stdout] 339 | impl<T: Read + Seek> CpioFiles<T> {
[INFO] [stdout]     | --------------------------------- associated function in this implementation
[INFO] [stdout] 340 |     pub fn new(reader: T) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CpioEntries` is never constructed
[INFO] [stdout]    --> src/payload/cpio.rs:359:8
[INFO] [stdout]     |
[INFO] [stdout] 359 | struct CpioEntries<T> {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/payload/cpio.rs:364:12
[INFO] [stdout]     |
[INFO] [stdout] 363 | impl<T: Read + Seek> CpioEntries<T> {
[INFO] [stdout]     | ----------------------------------- associated function in this implementation
[INFO] [stdout] 364 |     pub fn new(reader: T) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `InnerPath` is never constructed
[INFO] [stdout]   --> src/rpm/builder.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct InnerPath {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `packager`, `os`, `distribution`, `vendor`, `url`, and `package_type` are never read
[INFO] [stdout]   --> src/rpm/builder.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct RPMBuilder {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     packager: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 37 |     os: Option<String>,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 38 |     distribution: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 39 |     vendor: Option<String>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 40 |     url: Option<String>,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     package_type: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RPMBuilder` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/header/index.rs:9:28
[INFO] [stdout]    |
[INFO] [stdout] 9  | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive, Display, Clone)]
[INFO] [stdout]    |                            ^------------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `FromPrimitive` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type`
[INFO] [stdout] 10 | pub enum Type {
[INFO] [stdout]    |          ---- `Type` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/header/index.rs:9:43
[INFO] [stdout]    |
[INFO] [stdout] 9  | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive, Display, Clone)]
[INFO] [stdout]    |                                           ^----------
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           `ToPrimitive` is not local
[INFO] [stdout]    |                                           move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Type`
[INFO] [stdout] 10 | pub enum Type {
[INFO] [stdout]    |          ---- `Type` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/header/tags.rs:4:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive, Display, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                              ^------------
[INFO] [stdout]   |                              |
[INFO] [stdout]   |                              `FromPrimitive` is not local
[INFO] [stdout]   |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Tag`
[INFO] [stdout] 5 | pub enum Tag {
[INFO] [stdout]   |          --- `Tag` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/header/tags.rs:4:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive, Display, PartialEq, Eq, Hash)]
[INFO] [stdout]   |                                             ^----------
[INFO] [stdout]   |                                             |
[INFO] [stdout]   |                                             `ToPrimitive` is not local
[INFO] [stdout]   |                                             move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Tag`
[INFO] [stdout] 5 | pub enum Tag {
[INFO] [stdout]   |          --- `Tag` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/header/tags.rs:282:30
[INFO] [stdout]     |
[INFO] [stdout] 282 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive, Display, PartialEq, Eq, Hash)]
[INFO] [stdout]     |                              ^------------
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              `FromPrimitive` is not local
[INFO] [stdout]     |                              move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_SignatureTag`
[INFO] [stdout] 283 | pub enum SignatureTag {
[INFO] [stdout]     |          ------------ `SignatureTag` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/header/tags.rs:282:45
[INFO] [stdout]     |
[INFO] [stdout] 282 | #[derive(Debug, Copy, Clone, FromPrimitive, ToPrimitive, Display, PartialEq, Eq, Hash)]
[INFO] [stdout]     |                                             ^----------
[INFO] [stdout]     |                                             |
[INFO] [stdout]     |                                             `ToPrimitive` is not local
[INFO] [stdout]     |                                             move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_SignatureTag`
[INFO] [stdout] 283 | pub enum SignatureTag {
[INFO] [stdout]     |          ------------ `SignatureTag` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/lead.rs:12:28
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive, Display, Clone)]
[INFO] [stdout]    |                            ^------------
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            `FromPrimitive` is not local
[INFO] [stdout]    |                            move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Type`
[INFO] [stdout] 13 | pub enum Type {
[INFO] [stdout]    |          ---- `Type` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/lead.rs:12:43
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, PartialEq, FromPrimitive, ToPrimitive, Display, Clone)]
[INFO] [stdout]    |                                           ^----------
[INFO] [stdout]    |                                           |
[INFO] [stdout]    |                                           `ToPrimitive` is not local
[INFO] [stdout]    |                                           move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_Type`
[INFO] [stdout] 13 | pub enum Type {
[INFO] [stdout]    |          ---- `Type` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 3.90s
[INFO] running `Command { std: "docker" "inspect" "fb02344bdbf68775693bd37cbd62421b484d16fa7acbb87dc9f2249339c0c0b3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb02344bdbf68775693bd37cbd62421b484d16fa7acbb87dc9f2249339c0c0b3", kill_on_drop: false }`
[INFO] [stdout] fb02344bdbf68775693bd37cbd62421b484d16fa7acbb87dc9f2249339c0c0b3
