[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] checking AnderEnder/rpm-utils-rs against try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnderEnder%2Frpm-utils-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AnderEnder/rpm-utils-rs on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "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-3-tc2/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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a08f28d15856197f68994c155518a5e91d93238bc94b4a401308eb6677df96bd
[INFO] running `Command { std: "docker" "start" "-a" "a08f28d15856197f68994c155518a5e91d93238bc94b4a401308eb6677df96bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a08f28d15856197f68994c155518a5e91d93238bc94b4a401308eb6677df96bd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a08f28d15856197f68994c155518a5e91d93238bc94b4a401308eb6677df96bd", kill_on_drop: false }`
[INFO] [stdout] a08f28d15856197f68994c155518a5e91d93238bc94b4a401308eb6677df96bd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 25f0eda3fd43dba652a094d423cb65042ca2022cc261a94004294bf4d86405fb
[INFO] running `Command { std: "docker" "start" "-a" "25f0eda3fd43dba652a094d423cb65042ca2022cc261a94004294bf4d86405fb", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.102
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[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 memchr v2.3.3
[INFO] [stderr]    Compiling zstd-safe v4.1.1+zstd.1.5.0
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking unicode-width v0.1.7
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking adler v0.2.2
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]    Compiling getrandom v0.2.1
[INFO] [stderr]     Checking match_cfg v0.1.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking miniz_oxide v0.4.0
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking ppv-lite86 v0.2.10
[INFO] [stderr]     Checking remove_dir_all v0.5.2
[INFO] [stderr]     Checking itertools v0.9.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.2
[INFO] [stderr]    Compiling heck v0.3.1
[INFO] [stderr]     Checking omnom v3.0.0
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking filetime v0.2.14
[INFO] [stderr]     Checking nix v0.23.0
[INFO] [stderr]     Checking flate2 v1.0.22
[INFO] [stderr]     Checking hostname v0.3.1
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]    Compiling jobserver v0.1.21
[INFO] [stderr]     Checking rand_core v0.6.1
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]     Checking rand_chacha v0.3.0
[INFO] [stderr]     Checking rand v0.8.1
[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]     Checking xz2 v0.1.6
[INFO] [stderr]     Checking tempfile v3.2.0
[INFO] [stderr]     Checking bzip2 v0.4.3
[INFO] [stderr]    Compiling syn-mid v0.5.0
[INFO] [stderr]    Compiling strum_macros v0.21.1
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling structopt-derive v0.4.16
[INFO] [stderr]     Checking structopt v0.3.23
[INFO] [stderr]     Checking zstd v0.9.0+zstd.1.5.0
[INFO] [stderr]     Checking 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] [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 56.89s
[INFO] running `Command { std: "docker" "inspect" "25f0eda3fd43dba652a094d423cb65042ca2022cc261a94004294bf4d86405fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "25f0eda3fd43dba652a094d423cb65042ca2022cc261a94004294bf4d86405fb", kill_on_drop: false }`
[INFO] [stdout] 25f0eda3fd43dba652a094d423cb65042ca2022cc261a94004294bf4d86405fb
