[INFO] fetching crate mender_artifact 0.1.3...
[INFO] checking mender_artifact-0.1.3 against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] extracting crate mender_artifact 0.1.3 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate mender_artifact 0.1.3 on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate mender_artifact 0.1.3
[INFO] finished tweaking crates.io crate mender_artifact 0.1.3
[INFO] tweaked toml for crates.io crate mender_artifact 0.1.3 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate crates.io crate mender_artifact 0.1.3 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded filetime v0.2.7
[INFO] [stderr]   Downloaded rgb v0.8.14
[INFO] [stderr]   Downloaded colored v1.8.0
[INFO] [stderr]   Downloaded flate2 v1.0.11
[INFO] [stderr]   Downloaded simple_logger v1.3.0
[INFO] [stderr]   Downloaded cgmath v0.16.1
[INFO] [stderr]   Downloaded miniz_oxide v0.3.2
[INFO] [stderr]   Downloaded winconsole v0.10.0
[INFO] [stderr]   Downloaded tar v0.4.26
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 56e5d2246567e51924afb6800f4c11be0f7d2442aeec0fe5e1f8253542da849e
[INFO] running `Command { std: "docker" "start" "-a" "56e5d2246567e51924afb6800f4c11be0f7d2442aeec0fe5e1f8253542da849e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "56e5d2246567e51924afb6800f4c11be0f7d2442aeec0fe5e1f8253542da849e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56e5d2246567e51924afb6800f4c11be0f7d2442aeec0fe5e1f8253542da849e", kill_on_drop: false }`
[INFO] [stdout] 56e5d2246567e51924afb6800f4c11be0f7d2442aeec0fe5e1f8253542da849e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f6f1b468dd989c1a3bcf5ad752784cc16730eaf967d7bf5ba7babea90df89d3a
[INFO] running `Command { std: "docker" "start" "-a" "f6f1b468dd989c1a3bcf5ad752784cc16730eaf967d7bf5ba7babea90df89d3a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]    Compiling autocfg v0.1.6
[INFO] [stderr]    Compiling proc-macro2 v1.0.4
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]    Compiling cgmath v0.16.1
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]     Checking approx v0.1.1
[INFO] [stderr]    Compiling cc v1.0.45
[INFO] [stderr]     Checking rgb v0.8.14
[INFO] [stderr]    Compiling serde v1.0.101
[INFO] [stderr]    Compiling ryu v1.0.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]     Checking crc32fast v1.2.0
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling miniz-sys v0.1.12
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking xattr v0.2.2
[INFO] [stderr]     Checking filetime v0.2.7
[INFO] [stderr]     Checking tar v0.4.26
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking flate2 v1.0.11
[INFO] [stderr]     Checking chrono v0.4.9
[INFO] [stderr]     Checking winconsole v0.10.0
[INFO] [stderr]     Checking colored v1.8.0
[INFO] [stderr]     Checking simple_logger v1.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.101
[INFO] [stderr]     Checking serde_json v1.0.40
[INFO] [stderr]     Checking mender_artifact v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `info`, `trace`, `warn`
[INFO] [stdout]  --> src/lib.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{debug, info, trace, warn};
[INFO] [stdout]   |                  ^^^^  ^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/lib.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `info`, `trace`, `warn`
[INFO] [stdout]  --> src/lib.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{debug, info, trace, warn};
[INFO] [stdout]   |                  ^^^^  ^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/lib.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:272:35
[INFO] [stdout]     |
[INFO] [stdout] 272 |     archive: tar::Archive<&'a mut std::io::Read>,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 272 |     archive: tar::Archive<&'a mut dyn std::io::Read>,
[INFO] [stdout]     |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:272:35
[INFO] [stdout]     |
[INFO] [stdout] 272 |     archive: tar::Archive<&'a mut std::io::Read>,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 272 |     archive: tar::Archive<&'a mut dyn std::io::Read>,
[INFO] [stdout]     |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:276:32
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn new(reader: &'a mut std::io::Read) -> MenderArtifact {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn new(reader: &'a mut dyn std::io::Read) -> MenderArtifact {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:276:32
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn new(reader: &'a mut std::io::Read) -> MenderArtifact {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn new(reader: &'a mut dyn std::io::Read) -> MenderArtifact {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:293:47
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let mut entry: tar::Entry<'a, &'a mut std::io::Read> = entries.next().unwrap().unwrap();
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let mut entry: tar::Entry<'a, &'a mut dyn std::io::Read> = entries.next().unwrap().unwrap();
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:293:47
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let mut entry: tar::Entry<'a, &'a mut std::io::Read> = entries.next().unwrap().unwrap();
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let mut entry: tar::Entry<'a, &'a mut dyn std::io::Read> = entries.next().unwrap().unwrap();
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |             ^^^^^^^^^^^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |             ^^^^^^^^^^^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `IOError`
[INFO] [stdout]   --> src/lib.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IOError`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `IOError`
[INFO] [stdout]   --> src/lib.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IOError`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ParseError`
[INFO] [stdout]   --> src/lib.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ParseError`
[INFO] [stdout]   --> src/lib.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `JSONParseError`
[INFO] [stdout]   --> src/lib.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_JSONParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `JSONParseError`
[INFO] [stdout]   --> src/lib.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_JSONParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |             ^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |             ^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `IOError`
[INFO] [stdout]   --> src/lib.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IOError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `IOError`
[INFO] [stdout]   --> src/lib.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IOError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ParseError`
[INFO] [stdout]   --> src/lib.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ParseError`
[INFO] [stdout]   --> src/lib.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `JSONParseError`
[INFO] [stdout]   --> src/lib.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_JSONParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `JSONParseError`
[INFO] [stdout]   --> src/lib.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_JSONParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/lib.rs:242:24
[INFO] [stdout]     |
[INFO] [stdout] 242 |     fn read(&mut self, buf: &mut [u8]) -> Result<usize, std::io::Error> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let mut n: usize = 0;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |         let mut archive = Archive::new(reader);
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:278:13
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let mut m = MenderArtifact {
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/lib.rs:242:24
[INFO] [stdout]     |
[INFO] [stdout] 242 |     fn read(&mut self, buf: &mut [u8]) -> Result<usize, std::io::Error> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let mut n: usize = 0;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |         let mut archive = Archive::new(reader);
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:278:13
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let mut m = MenderArtifact {
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:343:13
[INFO] [stdout]     |
[INFO] [stdout] 343 |         let mut decoder = GzDecoder::new(&mut entry);
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:343:13
[INFO] [stdout]     |
[INFO] [stdout] 343 |         let mut decoder = GzDecoder::new(&mut entry);
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `format` and `version` are never read
[INFO] [stdout]   --> src/lib.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Version {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 53 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 54 |     version: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Version` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `artifact_name`, `device_type`, and `artifact_group` are never read
[INFO] [stdout]   --> src/lib.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct ArtifactDepends {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 86 |     artifact_name: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 87 |     device_type: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 88 |     artifact_group: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArtifactDepends` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `artifact_name` and `artifact_group` are never read
[INFO] [stdout]   --> src/lib.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct ArtifactProvides {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 93 |     artifact_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 94 |     artifact_group: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArtifactProvides` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `payloads`, `artifact_provides`, and `artifact_depends` are never read
[INFO] [stdout]    --> src/lib.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout] 98  | pub struct HeaderInfo {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 99  |     payloads: Vec<std::collections::HashMap<String, String>>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 100 |     artifact_provides: ArtifactProvides,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 101 |     artifact_depends: ArtifactDepends,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HeaderInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `type`, `artifact_provides`, and `artifact_depends` are never read
[INFO] [stdout]    --> src/lib.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct TypeInfo {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 115 |     r#type: String,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 116 |     artifact_provides: Option<TypeInfoArtifactProvides>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 117 |     artifact_depends: Option<TypeInfoArtifactDepends>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rootfs_image_checksum` is never read
[INFO] [stdout]    --> src/lib.rs:122:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub struct TypeInfoArtifactProvides {
[INFO] [stdout]     |            ------------------------ field in this struct
[INFO] [stdout] 122 |     rootfs_image_checksum: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfoArtifactProvides` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rootfs_image_checksum` is never read
[INFO] [stdout]    --> src/lib.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct TypeInfoArtifactDepends {
[INFO] [stdout]     |            ----------------------- field in this struct
[INFO] [stdout] 127 |     rootfs_image_checksum: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfoArtifactDepends` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `type_info` and `meta_data` are never read
[INFO] [stdout]    --> src/lib.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub struct SubHeader {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 132 |     type_info: TypeInfo,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 133 |     meta_data: Option<std::collections::HashMap<String, String>>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SubHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header_info` is never read
[INFO] [stdout]    --> src/lib.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub struct Header {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] 138 |     header_info: HeaderInfo,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cur_archive` and `entry` are never read
[INFO] [stdout]    --> src/lib.rs:194:5
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub struct Payload<'a> {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 194 |     cur_archive: tar::Archive<flate2::read::GzDecoder<&'a mut tar::Entry<'a, &'a mut (dyn std::io::Read + 'a)>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     entry: tar::Entry<'a, flate2::read::GzDecoder<&'a mut tar::Entry<'a, &'a mut (dyn std::io::Read + 'a)>>>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version`, `manifest`, and `header` are never read
[INFO] [stdout]    --> src/lib.rs:269:5
[INFO] [stdout]     |
[INFO] [stdout] 268 | pub struct MenderArtifact<'a> {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 269 |     version: Option<Version>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 270 |     manifest: Option<Manifest>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 271 |     header: Option<Header>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `format` and `version` are never read
[INFO] [stdout]   --> src/lib.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Version {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 53 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 54 |     version: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Version` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IOError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |              ^^^^^^^ help: convert the identifier to snake case: `ioerror`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |              ^^^^^^^^^^ help: convert the identifier to snake case: `parse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `JSONParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jsonparse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `artifact_name`, `device_type`, and `artifact_group` are never read
[INFO] [stdout]   --> src/lib.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct ArtifactDepends {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 86 |     artifact_name: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 87 |     device_type: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 88 |     artifact_group: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArtifactDepends` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IOError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |              ^^^^^^^ help: convert the identifier to snake case: `ioerror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `artifact_name` and `artifact_group` are never read
[INFO] [stdout]   --> src/lib.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct ArtifactProvides {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 93 |     artifact_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 94 |     artifact_group: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArtifactProvides` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^ help: convert the identifier to snake case: `parse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `JSONParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jsonparse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `payloads`, `artifact_provides`, and `artifact_depends` are never read
[INFO] [stdout]    --> src/lib.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout] 98  | pub struct HeaderInfo {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 99  |     payloads: Vec<std::collections::HashMap<String, String>>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 100 |     artifact_provides: ArtifactProvides,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 101 |     artifact_depends: ArtifactDepends,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HeaderInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `type`, `artifact_provides`, and `artifact_depends` are never read
[INFO] [stdout]    --> src/lib.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct TypeInfo {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 115 |     r#type: String,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 116 |     artifact_provides: Option<TypeInfoArtifactProvides>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 117 |     artifact_depends: Option<TypeInfoArtifactDepends>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rootfs_image_checksum` is never read
[INFO] [stdout]    --> src/lib.rs:122:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub struct TypeInfoArtifactProvides {
[INFO] [stdout]     |            ------------------------ field in this struct
[INFO] [stdout] 122 |     rootfs_image_checksum: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfoArtifactProvides` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rootfs_image_checksum` is never read
[INFO] [stdout]    --> src/lib.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct TypeInfoArtifactDepends {
[INFO] [stdout]     |            ----------------------- field in this struct
[INFO] [stdout] 127 |     rootfs_image_checksum: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfoArtifactDepends` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `type_info` and `meta_data` are never read
[INFO] [stdout]    --> src/lib.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub struct SubHeader {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 132 |     type_info: TypeInfo,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 133 |     meta_data: Option<std::collections::HashMap<String, String>>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SubHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header_info` is never read
[INFO] [stdout]    --> src/lib.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub struct Header {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] 138 |     header_info: HeaderInfo,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cur_archive` and `entry` are never read
[INFO] [stdout]    --> src/lib.rs:194:5
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub struct Payload<'a> {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 194 |     cur_archive: tar::Archive<flate2::read::GzDecoder<&'a mut tar::Entry<'a, &'a mut (dyn std::io::Read + 'a)>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     entry: tar::Entry<'a, flate2::read::GzDecoder<&'a mut tar::Entry<'a, &'a mut (dyn std::io::Read + 'a)>>>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version`, `manifest`, and `header` are never read
[INFO] [stdout]    --> src/lib.rs:269:5
[INFO] [stdout]     |
[INFO] [stdout] 268 | pub struct MenderArtifact<'a> {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 269 |     version: Option<Version>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 270 |     manifest: Option<Manifest>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 271 |     header: Option<Header>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IOError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |              ^^^^^^^ help: convert the identifier to snake case: `ioerror`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |              ^^^^^^^^^^ help: convert the identifier to snake case: `parse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `JSONParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jsonparse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IOError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |              ^^^^^^^ help: convert the identifier to snake case: `ioerror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^ help: convert the identifier to snake case: `parse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `JSONParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jsonparse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 38 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 38 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `flate2::read::GzDecoder`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use flate2::read::GzDecoder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `info`, `trace`, `warn`
[INFO] [stdout]  --> src/main.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{debug, info, trace, warn};
[INFO] [stdout]   |                  ^^^^  ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]  --> src/main.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tar::Archive`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tar::Archive;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `info`, `trace`, `warn`
[INFO] [stdout]  --> src/lib.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{debug, info, trace, warn};
[INFO] [stdout]   |                  ^^^^  ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/lib.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:9:1
[INFO] [stdout]   |
[INFO] [stdout] 9 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `flate2::read::GzDecoder`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use flate2::read::GzDecoder;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `info`, `trace`, `warn`
[INFO] [stdout]  --> src/main.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{debug, info, trace, warn};
[INFO] [stdout]   |                  ^^^^  ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize`
[INFO] [stdout]  --> src/main.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude::*`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tar::Archive`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use tar::Archive;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `info`, `trace`, `warn`
[INFO] [stdout]  --> src/lib.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{debug, info, trace, warn};
[INFO] [stdout]   |                  ^^^^  ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/lib.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:272:35
[INFO] [stdout]     |
[INFO] [stdout] 272 |     archive: tar::Archive<&'a mut std::io::Read>,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 272 |     archive: tar::Archive<&'a mut dyn std::io::Read>,
[INFO] [stdout]     |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:276:32
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn new(reader: &'a mut std::io::Read) -> MenderArtifact {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn new(reader: &'a mut dyn std::io::Read) -> MenderArtifact {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:272:35
[INFO] [stdout]     |
[INFO] [stdout] 272 |     archive: tar::Archive<&'a mut std::io::Read>,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 272 |     archive: tar::Archive<&'a mut dyn std::io::Read>,
[INFO] [stdout]     |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:276:32
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn new(reader: &'a mut std::io::Read) -> MenderArtifact {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn new(reader: &'a mut dyn std::io::Read) -> MenderArtifact {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:293:47
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let mut entry: tar::Entry<'a, &'a mut std::io::Read> = entries.next().unwrap().unwrap();
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let mut entry: tar::Entry<'a, &'a mut dyn std::io::Read> = entries.next().unwrap().unwrap();
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:293:47
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let mut entry: tar::Entry<'a, &'a mut std::io::Read> = entries.next().unwrap().unwrap();
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let mut entry: tar::Entry<'a, &'a mut dyn std::io::Read> = entries.next().unwrap().unwrap();
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |             ^^^^^^^^^^^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `IOError`
[INFO] [stdout]   --> src/lib.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IOError`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ParseError`
[INFO] [stdout]   --> src/lib.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `JSONParseError`
[INFO] [stdout]   --> src/lib.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_JSONParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |             ^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `IOError`
[INFO] [stdout]   --> src/lib.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IOError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ParseError`
[INFO] [stdout]   --> src/lib.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `JSONParseError`
[INFO] [stdout]   --> src/lib.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_JSONParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |             ^^^^^^^^^^^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `IOError`
[INFO] [stdout]   --> src/lib.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IOError`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ParseError`
[INFO] [stdout]   --> src/lib.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `JSONParseError`
[INFO] [stdout]   --> src/lib.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_JSONParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |             ^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `IOError`
[INFO] [stdout]   --> src/lib.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IOError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ParseError`
[INFO] [stdout]   --> src/lib.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `JSONParseError`
[INFO] [stdout]   --> src/lib.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_JSONParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/lib.rs:242:24
[INFO] [stdout]     |
[INFO] [stdout] 242 |     fn read(&mut self, buf: &mut [u8]) -> Result<usize, std::io::Error> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let mut n: usize = 0;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |         let mut archive = Archive::new(reader);
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:278:13
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let mut m = MenderArtifact {
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/lib.rs:242:24
[INFO] [stdout]     |
[INFO] [stdout] 242 |     fn read(&mut self, buf: &mut [u8]) -> Result<usize, std::io::Error> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let mut n: usize = 0;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |         let mut archive = Archive::new(reader);
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:278:13
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let mut m = MenderArtifact {
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:343:13
[INFO] [stdout]     |
[INFO] [stdout] 343 |         let mut decoder = GzDecoder::new(&mut entry);
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payloads`
[INFO] [stdout]   --> src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut payloads = ma.parse(&outfile).unwrap();
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payloads`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut payloads = ma.parse(&outfile).unwrap();
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `format` and `version` are never read
[INFO] [stdout]   --> src/lib.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Version {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 53 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 54 |     version: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Version` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `artifact_name`, `device_type`, and `artifact_group` are never read
[INFO] [stdout]   --> src/lib.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct ArtifactDepends {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 86 |     artifact_name: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 87 |     device_type: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 88 |     artifact_group: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArtifactDepends` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `artifact_name` and `artifact_group` are never read
[INFO] [stdout]   --> src/lib.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct ArtifactProvides {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 93 |     artifact_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 94 |     artifact_group: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArtifactProvides` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:343:13
[INFO] [stdout]     |
[INFO] [stdout] 343 |         let mut decoder = GzDecoder::new(&mut entry);
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `payloads`, `artifact_provides`, and `artifact_depends` are never read
[INFO] [stdout]    --> src/lib.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout] 98  | pub struct HeaderInfo {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 99  |     payloads: Vec<std::collections::HashMap<String, String>>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 100 |     artifact_provides: ArtifactProvides,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 101 |     artifact_depends: ArtifactDepends,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HeaderInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `type`, `artifact_provides`, and `artifact_depends` are never read
[INFO] [stdout]    --> src/lib.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct TypeInfo {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 115 |     r#type: String,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 116 |     artifact_provides: Option<TypeInfoArtifactProvides>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 117 |     artifact_depends: Option<TypeInfoArtifactDepends>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `payloads`
[INFO] [stdout]   --> src/main.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut payloads = ma.parse(&outfile).unwrap();
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_payloads`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rootfs_image_checksum` is never read
[INFO] [stdout]    --> src/lib.rs:122:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub struct TypeInfoArtifactProvides {
[INFO] [stdout]     |            ------------------------ field in this struct
[INFO] [stdout] 122 |     rootfs_image_checksum: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfoArtifactProvides` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rootfs_image_checksum` is never read
[INFO] [stdout]    --> src/lib.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct TypeInfoArtifactDepends {
[INFO] [stdout]     |            ----------------------- field in this struct
[INFO] [stdout] 127 |     rootfs_image_checksum: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfoArtifactDepends` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `type_info` and `meta_data` are never read
[INFO] [stdout]    --> src/lib.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub struct SubHeader {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 132 |     type_info: TypeInfo,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 133 |     meta_data: Option<std::collections::HashMap<String, String>>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SubHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header_info` is never read
[INFO] [stdout]    --> src/lib.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub struct Header {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] 138 |     header_info: HeaderInfo,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cur_archive` and `entry` are never read
[INFO] [stdout]    --> src/lib.rs:194:5
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub struct Payload<'a> {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 194 |     cur_archive: tar::Archive<flate2::read::GzDecoder<&'a mut tar::Entry<'a, &'a mut (dyn std::io::Read + 'a)>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     entry: tar::Entry<'a, flate2::read::GzDecoder<&'a mut tar::Entry<'a, &'a mut (dyn std::io::Read + 'a)>>>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version`, `manifest`, and `header` are never read
[INFO] [stdout]    --> src/lib.rs:269:5
[INFO] [stdout]     |
[INFO] [stdout] 268 | pub struct MenderArtifact<'a> {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 269 |     version: Option<Version>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 270 |     manifest: Option<Manifest>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 271 |     header: Option<Header>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IOError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |              ^^^^^^^ help: convert the identifier to snake case: `ioerror`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |              ^^^^^^^^^^ help: convert the identifier to snake case: `parse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let mut payloads = ma.parse(&outfile).unwrap();
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `JSONParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jsonparse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IOError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |              ^^^^^^^ help: convert the identifier to snake case: `ioerror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^ help: convert the identifier to snake case: `parse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `JSONParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jsonparse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `format` and `version` are never read
[INFO] [stdout]   --> src/lib.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Version {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 53 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 54 |     version: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Version` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `artifact_name`, `device_type`, and `artifact_group` are never read
[INFO] [stdout]   --> src/lib.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct ArtifactDepends {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 86 |     artifact_name: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 87 |     device_type: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 88 |     artifact_group: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArtifactDepends` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `artifact_name` and `artifact_group` are never read
[INFO] [stdout]   --> src/lib.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct ArtifactProvides {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 93 |     artifact_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 94 |     artifact_group: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArtifactProvides` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `payloads`, `artifact_provides`, and `artifact_depends` are never read
[INFO] [stdout]    --> src/lib.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout] 98  | pub struct HeaderInfo {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 99  |     payloads: Vec<std::collections::HashMap<String, String>>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 100 |     artifact_provides: ArtifactProvides,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 101 |     artifact_depends: ArtifactDepends,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HeaderInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `type`, `artifact_provides`, and `artifact_depends` are never read
[INFO] [stdout]    --> src/lib.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct TypeInfo {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 115 |     r#type: String,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 116 |     artifact_provides: Option<TypeInfoArtifactProvides>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 117 |     artifact_depends: Option<TypeInfoArtifactDepends>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rootfs_image_checksum` is never read
[INFO] [stdout]    --> src/lib.rs:122:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub struct TypeInfoArtifactProvides {
[INFO] [stdout]     |            ------------------------ field in this struct
[INFO] [stdout] 122 |     rootfs_image_checksum: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfoArtifactProvides` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rootfs_image_checksum` is never read
[INFO] [stdout]    --> src/lib.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct TypeInfoArtifactDepends {
[INFO] [stdout]     |            ----------------------- field in this struct
[INFO] [stdout] 127 |     rootfs_image_checksum: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfoArtifactDepends` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `type_info` and `meta_data` are never read
[INFO] [stdout]    --> src/lib.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub struct SubHeader {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 132 |     type_info: TypeInfo,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 133 |     meta_data: Option<std::collections::HashMap<String, String>>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SubHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header_info` is never read
[INFO] [stdout]    --> src/lib.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub struct Header {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] 138 |     header_info: HeaderInfo,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cur_archive` and `entry` are never read
[INFO] [stdout]    --> src/lib.rs:194:5
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub struct Payload<'a> {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 194 |     cur_archive: tar::Archive<flate2::read::GzDecoder<&'a mut tar::Entry<'a, &'a mut (dyn std::io::Read + 'a)>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     entry: tar::Entry<'a, flate2::read::GzDecoder<&'a mut tar::Entry<'a, &'a mut (dyn std::io::Read + 'a)>>>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version`, `manifest`, and `header` are never read
[INFO] [stdout]    --> src/lib.rs:269:5
[INFO] [stdout]     |
[INFO] [stdout] 268 | pub struct MenderArtifact<'a> {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 269 |     version: Option<Version>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 270 |     manifest: Option<Manifest>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 271 |     header: Option<Header>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IOError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |              ^^^^^^^ help: convert the identifier to snake case: `ioerror`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |              ^^^^^^^^^^ help: convert the identifier to snake case: `parse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `JSONParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jsonparse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IOError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |              ^^^^^^^ help: convert the identifier to snake case: `ioerror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^ help: convert the identifier to snake case: `parse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `JSONParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jsonparse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 46 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 46 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 7.02s
[INFO] running `Command { std: "docker" "inspect" "f6f1b468dd989c1a3bcf5ad752784cc16730eaf967d7bf5ba7babea90df89d3a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6f1b468dd989c1a3bcf5ad752784cc16730eaf967d7bf5ba7babea90df89d3a", kill_on_drop: false }`
[INFO] [stdout] f6f1b468dd989c1a3bcf5ad752784cc16730eaf967d7bf5ba7babea90df89d3a
[INFO] checking mender_artifact-0.1.3 against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393
[INFO] extracting crate mender_artifact 0.1.3 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate mender_artifact 0.1.3 on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate mender_artifact 0.1.3
[INFO] finished tweaking crates.io crate mender_artifact 0.1.3
[INFO] tweaked toml for crates.io crate mender_artifact 0.1.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate crates.io crate mender_artifact 0.1.3 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5370d55c5058b16dcc0b686f4df587fd546be6cb78c8758c9c0a74d959186c6b
[INFO] running `Command { std: "docker" "start" "-a" "5370d55c5058b16dcc0b686f4df587fd546be6cb78c8758c9c0a74d959186c6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5370d55c5058b16dcc0b686f4df587fd546be6cb78c8758c9c0a74d959186c6b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5370d55c5058b16dcc0b686f4df587fd546be6cb78c8758c9c0a74d959186c6b", kill_on_drop: false }`
[INFO] [stdout] 5370d55c5058b16dcc0b686f4df587fd546be6cb78c8758c9c0a74d959186c6b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dnon_local_definitions" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 201634880ee6f3cf5bb11f7d0cfc6ada15db9a6f892fdb25a7d73338dfbf11d9
[INFO] running `Command { std: "docker" "start" "-a" "201634880ee6f3cf5bb11f7d0cfc6ada15db9a6f892fdb25a7d73338dfbf11d9", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.62
[INFO] [stderr]    Compiling autocfg v0.1.6
[INFO] [stderr]    Compiling proc-macro2 v1.0.4
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling cgmath v0.16.1
[INFO] [stderr]    Compiling syn v1.0.5
[INFO] [stderr]    Compiling winapi v0.3.8
[INFO] [stderr]    Compiling cc v1.0.45
[INFO] [stderr]     Checking approx v0.1.1
[INFO] [stderr]    Compiling ryu v1.0.0
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling serde v1.0.101
[INFO] [stderr]     Checking rgb v0.8.14
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]     Checking crc32fast v1.2.0
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling miniz-sys v0.1.12
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking filetime v0.2.7
[INFO] [stderr]     Checking xattr v0.2.2
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]     Checking tar v0.4.26
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking flate2 v1.0.11
[INFO] [stderr]     Checking chrono v0.4.9
[INFO] [stderr]     Checking winconsole v0.10.0
[INFO] [stderr]     Checking colored v1.8.0
[INFO] [stderr]     Checking simple_logger v1.3.0
[INFO] [stderr]    Compiling serde_derive v1.0.101
[INFO] [stderr]     Checking serde_json v1.0.40
[INFO] [stderr]     Checking mender_artifact v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `info`, `trace`, `warn`
[INFO] [stdout]  --> src/lib.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{debug, info, trace, warn};
[INFO] [stdout]   |                  ^^^^  ^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/lib.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `info`, `trace`, `warn`
[INFO] [stdout]  --> src/lib.rs:2:18
[INFO] [stdout]   |
[INFO] [stdout] 2 | use log::{debug, info, trace, warn};
[INFO] [stdout]   |                  ^^^^  ^^^^^  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]  --> src/lib.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/lib.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:272:35
[INFO] [stdout]     |
[INFO] [stdout] 272 |     archive: tar::Archive<&'a mut std::io::Read>,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 272 |     archive: tar::Archive<&'a mut dyn std::io::Read>,
[INFO] [stdout]     |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:272:35
[INFO] [stdout]     |
[INFO] [stdout] 272 |     archive: tar::Archive<&'a mut std::io::Read>,
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 272 |     archive: tar::Archive<&'a mut dyn std::io::Read>,
[INFO] [stdout]     |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:276:32
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn new(reader: &'a mut std::io::Read) -> MenderArtifact {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn new(reader: &'a mut dyn std::io::Read) -> MenderArtifact {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:276:32
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn new(reader: &'a mut std::io::Read) -> MenderArtifact {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 276 |     pub fn new(reader: &'a mut dyn std::io::Read) -> MenderArtifact {
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:293:47
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let mut entry: tar::Entry<'a, &'a mut std::io::Read> = entries.next().unwrap().unwrap();
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let mut entry: tar::Entry<'a, &'a mut dyn std::io::Read> = entries.next().unwrap().unwrap();
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:293:47
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let mut entry: tar::Entry<'a, &'a mut std::io::Read> = entries.next().unwrap().unwrap();
[INFO] [stdout]     |                                               ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 293 |         let mut entry: tar::Entry<'a, &'a mut dyn std::io::Read> = entries.next().unwrap().unwrap();
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |             ^^^^^^^^^^^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |             ^^^^^^^^^^^ unreachable pattern
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `IOError`
[INFO] [stdout]   --> src/lib.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IOError`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `IOError`
[INFO] [stdout]   --> src/lib.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IOError`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ParseError`
[INFO] [stdout]   --> src/lib.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ParseError`
[INFO] [stdout]   --> src/lib.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `JSONParseError`
[INFO] [stdout]   --> src/lib.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_JSONParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |             ^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `JSONParseError`
[INFO] [stdout]   --> src/lib.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_JSONParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `IOError`
[INFO] [stdout]   --> src/lib.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IOError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |             ^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ParseError`
[INFO] [stdout]   --> src/lib.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/lib.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |             -------- matches any value
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^ unreachable pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `JSONParseError`
[INFO] [stdout]   --> src/lib.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_JSONParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `IOError`
[INFO] [stdout]   --> src/lib.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |              ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_IOError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ParseError`
[INFO] [stdout]   --> src/lib.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `JSONParseError`
[INFO] [stdout]   --> src/lib.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_JSONParseError`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/lib.rs:242:24
[INFO] [stdout]     |
[INFO] [stdout] 242 |     fn read(&mut self, buf: &mut [u8]) -> Result<usize, std::io::Error> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let mut n: usize = 0;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buf`
[INFO] [stdout]    --> src/lib.rs:242:24
[INFO] [stdout]     |
[INFO] [stdout] 242 |     fn read(&mut self, buf: &mut [u8]) -> Result<usize, std::io::Error> {
[INFO] [stdout]     |                        ^^^ help: if this is intentional, prefix it with an underscore: `_buf`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:245:13
[INFO] [stdout]     |
[INFO] [stdout] 245 |         let mut n: usize = 0;
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |         let mut archive = Archive::new(reader);
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:278:13
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let mut m = MenderArtifact {
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:277:13
[INFO] [stdout]     |
[INFO] [stdout] 277 |         let mut archive = Archive::new(reader);
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:278:13
[INFO] [stdout]     |
[INFO] [stdout] 278 |         let mut m = MenderArtifact {
[INFO] [stdout]     |             ----^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:343:13
[INFO] [stdout]     |
[INFO] [stdout] 343 |         let mut decoder = GzDecoder::new(&mut entry);
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:343:13
[INFO] [stdout]     |
[INFO] [stdout] 343 |         let mut decoder = GzDecoder::new(&mut entry);
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `format` and `version` are never read
[INFO] [stdout]   --> src/lib.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Version {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 53 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 54 |     version: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Version` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `artifact_name`, `device_type`, and `artifact_group` are never read
[INFO] [stdout]   --> src/lib.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct ArtifactDepends {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 86 |     artifact_name: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 87 |     device_type: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 88 |     artifact_group: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArtifactDepends` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `artifact_name` and `artifact_group` are never read
[INFO] [stdout]   --> src/lib.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct ArtifactProvides {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 93 |     artifact_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 94 |     artifact_group: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArtifactProvides` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `format` and `version` are never read
[INFO] [stdout]   --> src/lib.rs:53:5
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub struct Version {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 53 |     format: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 54 |     version: i32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Version` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `payloads`, `artifact_provides`, and `artifact_depends` are never read
[INFO] [stdout]    --> src/lib.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout] 98  | pub struct HeaderInfo {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 99  |     payloads: Vec<std::collections::HashMap<String, String>>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 100 |     artifact_provides: ArtifactProvides,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 101 |     artifact_depends: ArtifactDepends,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HeaderInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `type`, `artifact_provides`, and `artifact_depends` are never read
[INFO] [stdout]    --> src/lib.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct TypeInfo {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 115 |     r#type: String,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 116 |     artifact_provides: Option<TypeInfoArtifactProvides>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 117 |     artifact_depends: Option<TypeInfoArtifactDepends>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `artifact_name`, `device_type`, and `artifact_group` are never read
[INFO] [stdout]   --> src/lib.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 85 | pub struct ArtifactDepends {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 86 |     artifact_name: Option<Vec<String>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 87 |     device_type: Vec<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 88 |     artifact_group: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArtifactDepends` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rootfs_image_checksum` is never read
[INFO] [stdout]    --> src/lib.rs:122:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub struct TypeInfoArtifactProvides {
[INFO] [stdout]     |            ------------------------ field in this struct
[INFO] [stdout] 122 |     rootfs_image_checksum: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfoArtifactProvides` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `artifact_name` and `artifact_group` are never read
[INFO] [stdout]   --> src/lib.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub struct ArtifactProvides {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 93 |     artifact_name: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 94 |     artifact_group: Option<String>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArtifactProvides` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rootfs_image_checksum` is never read
[INFO] [stdout]    --> src/lib.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct TypeInfoArtifactDepends {
[INFO] [stdout]     |            ----------------------- field in this struct
[INFO] [stdout] 127 |     rootfs_image_checksum: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfoArtifactDepends` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `type_info` and `meta_data` are never read
[INFO] [stdout]    --> src/lib.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub struct SubHeader {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 132 |     type_info: TypeInfo,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 133 |     meta_data: Option<std::collections::HashMap<String, String>>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SubHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `payloads`, `artifact_provides`, and `artifact_depends` are never read
[INFO] [stdout]    --> src/lib.rs:99:5
[INFO] [stdout]     |
[INFO] [stdout] 98  | pub struct HeaderInfo {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 99  |     payloads: Vec<std::collections::HashMap<String, String>>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 100 |     artifact_provides: ArtifactProvides,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 101 |     artifact_depends: ArtifactDepends,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `HeaderInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header_info` is never read
[INFO] [stdout]    --> src/lib.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub struct Header {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] 138 |     header_info: HeaderInfo,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `type`, `artifact_provides`, and `artifact_depends` are never read
[INFO] [stdout]    --> src/lib.rs:115:5
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub struct TypeInfo {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 115 |     r#type: String,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 116 |     artifact_provides: Option<TypeInfoArtifactProvides>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 117 |     artifact_depends: Option<TypeInfoArtifactDepends>,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfo` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cur_archive` and `entry` are never read
[INFO] [stdout]    --> src/lib.rs:194:5
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub struct Payload<'a> {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 194 |     cur_archive: tar::Archive<flate2::read::GzDecoder<&'a mut tar::Entry<'a, &'a mut (dyn std::io::Read + 'a)>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     entry: tar::Entry<'a, flate2::read::GzDecoder<&'a mut tar::Entry<'a, &'a mut (dyn std::io::Read + 'a)>>>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rootfs_image_checksum` is never read
[INFO] [stdout]    --> src/lib.rs:122:5
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub struct TypeInfoArtifactProvides {
[INFO] [stdout]     |            ------------------------ field in this struct
[INFO] [stdout] 122 |     rootfs_image_checksum: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfoArtifactProvides` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version`, `manifest`, and `header` are never read
[INFO] [stdout]    --> src/lib.rs:269:5
[INFO] [stdout]     |
[INFO] [stdout] 268 | pub struct MenderArtifact<'a> {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 269 |     version: Option<Version>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 270 |     manifest: Option<Manifest>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 271 |     header: Option<Header>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `rootfs_image_checksum` is never read
[INFO] [stdout]    --> src/lib.rs:127:5
[INFO] [stdout]     |
[INFO] [stdout] 126 | pub struct TypeInfoArtifactDepends {
[INFO] [stdout]     |            ----------------------- field in this struct
[INFO] [stdout] 127 |     rootfs_image_checksum: String,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `TypeInfoArtifactDepends` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `type_info` and `meta_data` are never read
[INFO] [stdout]    --> src/lib.rs:132:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub struct SubHeader {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 132 |     type_info: TypeInfo,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout] 133 |     meta_data: Option<std::collections::HashMap<String, String>>,
[INFO] [stdout]     |     ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SubHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IOError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |              ^^^^^^^ help: convert the identifier to snake case: `ioerror`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `header_info` is never read
[INFO] [stdout]    --> src/lib.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub struct Header {
[INFO] [stdout]     |            ------ field in this struct
[INFO] [stdout] 138 |     header_info: HeaderInfo,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |              ^^^^^^^^^^ help: convert the identifier to snake case: `parse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `JSONParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jsonparse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cur_archive` and `entry` are never read
[INFO] [stdout]    --> src/lib.rs:194:5
[INFO] [stdout]     |
[INFO] [stdout] 190 | pub struct Payload<'a> {
[INFO] [stdout]     |            ------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 194 |     cur_archive: tar::Archive<flate2::read::GzDecoder<&'a mut tar::Entry<'a, &'a mut (dyn std::io::Read + 'a)>>>,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 198 |     entry: tar::Entry<'a, flate2::read::GzDecoder<&'a mut tar::Entry<'a, &'a mut (dyn std::io::Read + 'a)>>>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IOError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |              ^^^^^^^ help: convert the identifier to snake case: `ioerror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `version`, `manifest`, and `header` are never read
[INFO] [stdout]    --> src/lib.rs:269:5
[INFO] [stdout]     |
[INFO] [stdout] 268 | pub struct MenderArtifact<'a> {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 269 |     version: Option<Version>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 270 |     manifest: Option<Manifest>,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 271 |     header: Option<Header>,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^ help: convert the identifier to snake case: `parse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IOError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 |             &IOError => "IOError",
[INFO] [stdout]    |              ^^^^^^^ help: convert the identifier to snake case: `ioerror`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `JSONParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jsonparse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:26:14
[INFO] [stdout]    |
[INFO] [stdout] 26 |             &ParseError => "ParseError",
[INFO] [stdout]    |              ^^^^^^^^^^ help: convert the identifier to snake case: `parse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `JSONParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:27:14
[INFO] [stdout]    |
[INFO] [stdout] 27 |             &JSONParseError => "JSONParrseError",
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jsonparse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `IOError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             &IOError => None,
[INFO] [stdout]    |              ^^^^^^^ help: convert the identifier to snake case: `ioerror`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Version`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:34:14
[INFO] [stdout]    |
[INFO] [stdout] 34 |             &ParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^ help: convert the identifier to snake case: `parse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `JSONParseError` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 |             &JSONParseError => None,
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `jsonparse_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:51:10
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Version`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:84:10
[INFO] [stdout]    |
[INFO] [stdout] 84 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ArtifactDepends`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:84:10
[INFO] [stdout]    |
[INFO] [stdout] 84 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ArtifactDepends`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:91:10
[INFO] [stdout]    |
[INFO] [stdout] 91 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ArtifactProvides`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:91:10
[INFO] [stdout]    |
[INFO] [stdout] 91 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ArtifactProvides`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:97:10
[INFO] [stdout]    |
[INFO] [stdout] 97 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_HeaderInfo`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/lib.rs:97:10
[INFO] [stdout]    |
[INFO] [stdout] 97 | #[derive(Deserialize, Debug)]
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_HeaderInfo`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/lib.rs:113:10
[INFO] [stdout]     |
[INFO] [stdout] 113 | #[derive(Deserialize, Debug)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_TypeInfo`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/lib.rs:113:10
[INFO] [stdout]     |
[INFO] [stdout] 113 | #[derive(Deserialize, Debug)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_TypeInfo`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/lib.rs:120:10
[INFO] [stdout]     |
[INFO] [stdout] 120 | #[derive(Deserialize, Debug)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_TypeInfoArtifactProvides`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/lib.rs:120:10
[INFO] [stdout]     |
[INFO] [stdout] 120 | #[derive(Deserialize, Debug)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_TypeInfoArtifactProvides`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/lib.rs:125:10
[INFO] [stdout]     |
[INFO] [stdout] 125 | #[derive(Deserialize, Debug)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_TypeInfoArtifactDepends`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/lib.rs:130:10
[INFO] [stdout]     |
[INFO] [stdout] 130 | #[derive(Deserialize, Debug)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_SubHeader`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/lib.rs:125:10
[INFO] [stdout]     |
[INFO] [stdout] 125 | #[derive(Deserialize, Debug)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_TypeInfoArtifactDepends`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]    --> src/lib.rs:130:10
[INFO] [stdout]     |
[INFO] [stdout] 130 | #[derive(Deserialize, Debug)]
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_SubHeader`
[INFO] [stdout]     = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]     = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]     = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 38 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 38 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `mender_artifact` (lib) due to 9 previous errors; 38 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `mender_artifact` (lib test) due to 9 previous errors; 38 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "201634880ee6f3cf5bb11f7d0cfc6ada15db9a6f892fdb25a7d73338dfbf11d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "201634880ee6f3cf5bb11f7d0cfc6ada15db9a6f892fdb25a7d73338dfbf11d9", kill_on_drop: false }`
[INFO] [stdout] 201634880ee6f3cf5bb11f7d0cfc6ada15db9a6f892fdb25a7d73338dfbf11d9
