[INFO] cloning repository https://github.com/dbasedow/android-xml [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dbasedow/android-xml" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbasedow%2Fandroid-xml", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbasedow%2Fandroid-xml'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 352ca9c93dbe8223c8bb062d04fc6980cf20044e [INFO] checking dbasedow/android-xml/352ca9c93dbe8223c8bb062d04fc6980cf20044e against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbasedow%2Fandroid-xml" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dbasedow/android-xml on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dbasedow/android-xml [INFO] finished tweaking git repo https://github.com/dbasedow/android-xml [INFO] tweaked toml for git repo https://github.com/dbasedow/android-xml written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dbasedow/android-xml 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha2 v0.8.0 [INFO] [stderr] Downloaded block-buffer v0.7.0 [INFO] [stderr] Downloaded opaque-debug v0.2.1 [INFO] [stderr] Downloaded digest v0.8.0 [INFO] [stderr] Downloaded generic-array v0.12.0 [INFO] [stderr] Downloaded block-padding v0.1.2 [INFO] [stderr] Downloaded byte-tools v0.3.0 [INFO] [stderr] Downloaded nom v3.2.1 [INFO] [stderr] Downloaded build_const v0.2.1 [INFO] [stderr] Downloaded crc v1.8.1 [INFO] [stderr] Downloaded cc v1.0.25 [INFO] [stderr] Downloaded miniz-sys v0.1.11 [INFO] [stderr] Downloaded adler32 v1.0.3 [INFO] [stderr] Downloaded miniz_oxide v0.2.0 [INFO] [stderr] Downloaded flate2 v1.0.4 [INFO] [stderr] Downloaded memchr v1.0.2 [INFO] [stderr] Downloaded miniz_oxide_c_api v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a89844049041bd38e3e6dace40eb533a87308e65cb1822ebbedd2ba21779f121 [INFO] running `Command { std: "docker" "start" "-a" "a89844049041bd38e3e6dace40eb533a87308e65cb1822ebbedd2ba21779f121", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a89844049041bd38e3e6dace40eb533a87308e65cb1822ebbedd2ba21779f121", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a89844049041bd38e3e6dace40eb533a87308e65cb1822ebbedd2ba21779f121", kill_on_drop: false }` [INFO] [stdout] a89844049041bd38e3e6dace40eb533a87308e65cb1822ebbedd2ba21779f121 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff482b19c8ac951d69c81919247d3b7eae5179d4d73977acc7706cd64416ba75 [INFO] running `Command { std: "docker" "start" "-a" "ff482b19c8ac951d69c81919247d3b7eae5179d4d73977acc7706cd64416ba75", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Checking byte-tools v0.3.0 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking opaque-debug v0.2.1 [INFO] [stderr] Checking block-padding v0.1.2 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Checking generic-array v0.12.0 [INFO] [stderr] Checking flate2 v1.0.4 [INFO] [stderr] Checking digest v0.8.0 [INFO] [stderr] Checking block-buffer v0.7.0 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking apk-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/apk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Seek` [INFO] [stdout] --> src/apk.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Seek; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/apk.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypedValue` [INFO] [stdout] --> src/resources/resources.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::typedvalue::{parse_res_value, TypedValue}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/resources/resources.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::*` [INFO] [stdout] --> src/resources/config_qualifiers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::resources::resources::convert_zero_terminated_u8` [INFO] [stdout] --> src/resources/config_qualifiers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::resources::resources::convert_zero_terminated_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/resources/config_qualifiers.rs:640:15 [INFO] [stdout] | [INFO] [stdout] 640 | match (color_mode & 0x03) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 640 - match (color_mode & 0x03) { [INFO] [stdout] 640 + match color_mode & 0x03 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/zip/archive.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Open` [INFO] [stdout] --> src/zip/archive.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::zip::io::{Open, FileReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/zip/archive.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/zip/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/apk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Seek` [INFO] [stdout] --> src/apk.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Seek; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/apk.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypedValue` [INFO] [stdout] --> src/resources/resources.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::typedvalue::{parse_res_value, TypedValue}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/resources/resources.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::*` [INFO] [stdout] --> src/resources/config_qualifiers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::resources::resources::convert_zero_terminated_u8` [INFO] [stdout] --> src/resources/config_qualifiers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::resources::resources::convert_zero_terminated_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/resources/config_qualifiers.rs:640:15 [INFO] [stdout] | [INFO] [stdout] 640 | match (color_mode & 0x03) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 640 - match (color_mode & 0x03) { [INFO] [stdout] 640 + match color_mode & 0x03 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/zip/archive.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Open` [INFO] [stdout] --> src/zip/archive.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::zip::io::{Open, FileReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/zip/archive.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/zip/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apk.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn content(&self) -> io::Result> { [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apk.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn content(&self) -> io::Result> { [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zip/archive.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn content(&self) -> io::Result> { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zip/archive.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn content(&self) -> io::Result> { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pch` [INFO] [stdout] --> src/resources/resources.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let (_, pch) = try_parse!(chunk.additional_header, parse_package_chunk_header); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pch` [INFO] [stdout] --> src/resources/resources.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let (_, pch) = try_parse!(chunk.additional_header, parse_package_chunk_header); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pch` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seek_offset` [INFO] [stdout] --> src/zip/archive.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let seek_offset = data.seek(SeekFrom::End(-1024))? as usize; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seek_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foo` [INFO] [stdout] --> src/zip/archive.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | if let IResult::Done(foo, res) = parser::parse_central_directory(&buf) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seek_offset` [INFO] [stdout] --> src/zip/archive.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let seek_offset = data.seek(SeekFrom::End(-1024))? as usize; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seek_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foo` [INFO] [stdout] --> src/zip/archive.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | if let IResult::Done(foo, res) = parser::parse_central_directory(&buf) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line_number`, `comment`, `prefix`, and `uri` are never read [INFO] [stdout] --> src/axml.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Namespace { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 117 | line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 118 | comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 119 | prefix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 120 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Namespace` 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 `locale_script`, `locale_variant`, and `screen_layout2` are never read [INFO] [stdout] --> src/resources/config.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Configuration { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | locale_script: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 104 | locale_variant: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 105 | [INFO] [stdout] 106 | screen_layout2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `language_or_region_to_string` is never used [INFO] [stdout] --> src/resources/config.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn language_or_region_to_string(v: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entries_start` is never read [INFO] [stdout] --> src/resources/resources.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 140 | struct ResourceTableTypeHeader { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 143 | entries_start: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableTypeHeader` 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 `0` is never read [INFO] [stdout] --> src/resources/resources.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | Complex(ResourceTableMapEntry), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EntryData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 198 | Complex(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/resources/resources.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 222 | struct ResourceTableMapping { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 223 | name: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 224 | value: ResourceValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableMapping` 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 `parent`, `count`, and `mappings` are never read [INFO] [stdout] --> src/resources/resources.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 234 | struct ResourceTableMapEntry { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 235 | parent: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 236 | count: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 237 | mappings: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableMapEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourceTableTypeSpec` is never constructed [INFO] [stdout] --> src/resources/resources.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | struct ResourceTableTypeSpec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_configuration_dimensions` is never used [INFO] [stdout] --> src/resources/resources.rs:318:4 [INFO] [stdout] | [INFO] [stdout] 318 | fn get_configuration_dimensions(flags: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `device_config` is never read [INFO] [stdout] --> src/resources/resources.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 357 | pub struct Resources { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 358 | //configuration to check against [INFO] [stdout] 359 | device_config: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 316 | pub enum ScreenWidth { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 317 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 318 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenWidth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub enum ScreenHeight { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 323 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 324 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenHeight` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 353 | pub enum MinorVersion { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 354 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 355 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinorVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/resources/config_qualifiers.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 358 | impl MinorVersion { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 359 | fn to_string(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ASN1Type` is never used [INFO] [stdout] --> src/signature/asn1.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum ASN1Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_last_octet` is never used [INFO] [stdout] --> src/signature/asn1.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn is_last_octet(octet: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_octet_series` is never used [INFO] [stdout] --> src/signature/asn1.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn parse_octet_series(input: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_object_identifier` is never used [INFO] [stdout] --> src/signature/asn1.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn decode_object_identifier(data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tag_class`, `constructed`, and `id` are never read [INFO] [stdout] --> src/signature/asn1.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct DataElement { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 72 | tag_class: TagClass, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 73 | constructed: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataElement` 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 `raw_value` is never read [INFO] [stdout] --> src/chunk.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct RawAttribute { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | pub raw_value: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawAttribute` 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 `name`, `start_char`, and `end_char` are never read [INFO] [stdout] --> src/stringpool.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct StringStyling { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 98 | name: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | start_char: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | end_char: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringStyling` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `file_name` and `compression` are never used [INFO] [stdout] --> src/zip/archive.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl ZipEntry { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 76 | pub fn file_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn compression(&self) -> Compression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `general_purpose_flags`, `crc32`, and `extra_field` are never read [INFO] [stdout] --> src/zip/parser.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CentralDirectoryFileHeader { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub general_purpose_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | crc32: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | extra_field: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CentralDirectoryFileHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_utf8` is never used [INFO] [stdout] --> src/zip/parser.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl CentralDirectoryFileHeader { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_utf8(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line_number`, `comment`, `prefix`, and `uri` are never read [INFO] [stdout] --> src/axml.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Namespace { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 117 | line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 118 | comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 119 | prefix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 120 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Namespace` 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 `locale_script`, `locale_variant`, and `screen_layout2` are never read [INFO] [stdout] --> src/resources/config.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Configuration { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | locale_script: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 104 | locale_variant: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 105 | [INFO] [stdout] 106 | screen_layout2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `language_or_region_to_string` is never used [INFO] [stdout] --> src/resources/config.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn language_or_region_to_string(v: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entries_start` is never read [INFO] [stdout] --> src/resources/resources.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 140 | struct ResourceTableTypeHeader { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 143 | entries_start: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableTypeHeader` 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 `0` is never read [INFO] [stdout] --> src/resources/resources.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | Complex(ResourceTableMapEntry), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EntryData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 198 | Complex(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/resources/resources.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 222 | struct ResourceTableMapping { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 223 | name: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 224 | value: ResourceValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableMapping` 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 `parent`, `count`, and `mappings` are never read [INFO] [stdout] --> src/resources/resources.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 234 | struct ResourceTableMapEntry { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 235 | parent: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 236 | count: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 237 | mappings: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableMapEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourceTableTypeSpec` is never constructed [INFO] [stdout] --> src/resources/resources.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | struct ResourceTableTypeSpec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_configuration_dimensions` is never used [INFO] [stdout] --> src/resources/resources.rs:318:4 [INFO] [stdout] | [INFO] [stdout] 318 | fn get_configuration_dimensions(flags: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `device_config` is never read [INFO] [stdout] --> src/resources/resources.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 357 | pub struct Resources { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 358 | //configuration to check against [INFO] [stdout] 359 | device_config: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 316 | pub enum ScreenWidth { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 317 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 318 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenWidth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub enum ScreenHeight { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 323 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 324 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenHeight` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 353 | pub enum MinorVersion { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 354 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 355 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinorVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/resources/config_qualifiers.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 358 | impl MinorVersion { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 359 | fn to_string(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ASN1Type` is never used [INFO] [stdout] --> src/signature/asn1.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum ASN1Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tag_class`, `constructed`, and `id` are never read [INFO] [stdout] --> src/signature/asn1.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct DataElement { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 72 | tag_class: TagClass, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 73 | constructed: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataElement` 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 `raw_value` is never read [INFO] [stdout] --> src/chunk.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct RawAttribute { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | pub raw_value: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawAttribute` 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 `name`, `start_char`, and `end_char` are never read [INFO] [stdout] --> src/stringpool.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct StringStyling { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 98 | name: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | start_char: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | end_char: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringStyling` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `file_name` and `compression` are never used [INFO] [stdout] --> src/zip/archive.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl ZipEntry { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 76 | pub fn file_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn compression(&self) -> Compression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `general_purpose_flags`, `crc32`, and `extra_field` are never read [INFO] [stdout] --> src/zip/parser.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CentralDirectoryFileHeader { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub general_purpose_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | crc32: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | extra_field: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CentralDirectoryFileHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_utf8` is never used [INFO] [stdout] --> src/zip/parser.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl CentralDirectoryFileHeader { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_utf8(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `is_binary_xml` [INFO] [stdout] --> src/main.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::axml::{is_binary_xml, XmlElementStream, XmlEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::resources::resources::parse_resource_table` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::resources::resources::parse_resource_table; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::IResult` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nom::IResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/apk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Seek` [INFO] [stdout] --> src/apk.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Seek; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/apk.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/zip/archive.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Open` [INFO] [stdout] --> src/zip/archive.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::zip::io::{Open, FileReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/zip/archive.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/zip/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypedValue` [INFO] [stdout] --> src/resources/resources.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::typedvalue::{parse_res_value, TypedValue}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/resources/resources.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::*` [INFO] [stdout] --> src/resources/config_qualifiers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::resources::resources::convert_zero_terminated_u8` [INFO] [stdout] --> src/resources/config_qualifiers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::resources::resources::convert_zero_terminated_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/resources/config_qualifiers.rs:640:15 [INFO] [stdout] | [INFO] [stdout] 640 | match (color_mode & 0x03) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 640 - match (color_mode & 0x03) { [INFO] [stdout] 640 + match color_mode & 0x03 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `is_binary_xml` [INFO] [stdout] --> src/main.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::axml::{is_binary_xml, XmlElementStream, XmlEvent}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::resources::resources::parse_resource_table` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::resources::resources::parse_resource_table; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::IResult` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use nom::IResult; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/apk.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Seek` [INFO] [stdout] --> src/apk.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::Seek; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::Map` [INFO] [stdout] --> src/apk.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::iter::Map; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/zip/archive.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Open` [INFO] [stdout] --> src/zip/archive.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::zip::io::{Open, FileReader}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/zip/archive.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/zip/parser.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TypedValue` [INFO] [stdout] --> src/resources/resources.rs:5:42 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::typedvalue::{parse_res_value, TypedValue}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/resources/resources.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nom::*` [INFO] [stdout] --> src/resources/config_qualifiers.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use nom::*; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::resources::resources::convert_zero_terminated_u8` [INFO] [stdout] --> src/resources/config_qualifiers.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::resources::resources::convert_zero_terminated_u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stdout] --> src/resources/config_qualifiers.rs:640:15 [INFO] [stdout] | [INFO] [stdout] 640 | match (color_mode & 0x03) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 640 - match (color_mode & 0x03) { [INFO] [stdout] 640 + match color_mode & 0x03 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | fn main() -> Result<(), Box> { [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apk.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn content(&self) -> io::Result> { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | fn main() -> Result<(), Box> { [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/apk.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn content(&self) -> io::Result> { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zip/archive.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn content(&self) -> io::Result> { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/zip/archive.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn content(&self) -> io::Result> { [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seek_offset` [INFO] [stdout] --> src/zip/archive.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let seek_offset = data.seek(SeekFrom::End(-1024))? as usize; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seek_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foo` [INFO] [stdout] --> src/zip/archive.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | if let IResult::Done(foo, res) = parser::parse_central_directory(&buf) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seek_offset` [INFO] [stdout] --> src/zip/archive.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let seek_offset = data.seek(SeekFrom::End(-1024))? as usize; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seek_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `foo` [INFO] [stdout] --> src/zip/archive.rs:113:30 [INFO] [stdout] | [INFO] [stdout] 113 | if let IResult::Done(foo, res) = parser::parse_central_directory(&buf) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pch` [INFO] [stdout] --> src/resources/resources.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let (_, pch) = try_parse!(chunk.additional_header, parse_package_chunk_header); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pch` [INFO] [stdout] --> src/resources/resources.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | let (_, pch) = try_parse!(chunk.additional_header, parse_package_chunk_header); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_plain` is never used [INFO] [stdout] --> src/main.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn render_plain(data: &[u8], resources: &Resources) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indent_ouput` is never used [INFO] [stdout] --> src/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn indent_ouput(level: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resources` is never read [INFO] [stdout] --> src/apk.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Apk { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 14 | zip_archive: ZipArchive, [INFO] [stdout] 15 | resources: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `compressed_len` are never used [INFO] [stdout] --> src/apk.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ApkFile { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 21 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn compressed_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `files` and `get_resources` are never used [INFO] [stdout] --> src/apk.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Apk { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn files(&self) -> ApkIter { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get_resources(&self) -> Option<&Resources> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_sub_chunks` is never used [INFO] [stdout] --> src/chunk.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> Chunk<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 13 | pub fn get_sub_chunks(&self) -> IResult<&[u8], Vec>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw_value` is never read [INFO] [stdout] --> src/chunk.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct RawAttribute { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | pub raw_value: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_binary_xml` is never used [INFO] [stdout] --> src/axml.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn is_binary_xml(data: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/axml.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> XmlElementStream<'a> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(data: &'a [u8]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseError` is never used [INFO] [stdout] --> src/axml.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | pub enum ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/axml.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | NamespaceStart(Namespace), [INFO] [stdout] | -------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XmlEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 108 | NamespaceStart(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/axml.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | NamespaceEnd(Namespace), [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XmlEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 109 | NamespaceEnd(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/axml.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | ElementStart(ElementStart), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XmlEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 110 | ElementStart(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/axml.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | ElementEnd(ElementEnd), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XmlEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 111 | ElementEnd(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/axml.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | CData(CData), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XmlEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 112 | CData(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line_number`, `comment`, `prefix`, and `uri` are never read [INFO] [stdout] --> src/axml.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Namespace { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 117 | line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 118 | comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 119 | prefix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 120 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Namespace` 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 `line_number`, `comment`, `ns`, `name`, and `attributes` are never read [INFO] [stdout] --> src/axml.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct ElementStart { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 136 | pub line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 137 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 138 | pub ns: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 139 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 140 | pub attributes: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementStart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `attribute_len` is never used [INFO] [stdout] --> src/axml.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl ElementStart { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn attribute_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ns`, `name`, and `value` are never read [INFO] [stdout] --> src/axml.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct Attribute { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 177 | pub ns: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 178 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 179 | pub value: TypedValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` 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 `line_number`, `comment`, `ns`, and `name` are never read [INFO] [stdout] --> src/axml.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct ElementEnd { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 194 | pub line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 195 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 196 | pub ns: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 197 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementEnd` 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 `line_number`, `comment`, and `data` are never read [INFO] [stdout] --> src/axml.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct CData { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 213 | pub line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 214 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 215 | pub data: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CData` 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 `styles` is never read [INFO] [stdout] --> src/stringpool.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StringPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | pool: Vec, [INFO] [stdout] 7 | styles: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringPool` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_styled` is never used [INFO] [stdout] --> src/stringpool.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl StringPool { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn is_styled(&self, index: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `start_char`, and `end_char` are never read [INFO] [stdout] --> src/stringpool.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct StringStyling { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 98 | name: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | start_char: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | end_char: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringStyling` 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 `0` is never read [INFO] [stdout] --> src/typedvalue.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | Reference(u32), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | Reference(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | Attribute(u32), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Attribute(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | Float(f32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | Dimension(u32), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | Dimension(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | Fraction(u32), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Fraction(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | Boolean(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | Boolean(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | IntDecimal(i32), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | IntDecimal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | IntHex(i32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | IntHex(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | Argb8(u32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Argb8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | Rgb8(u32), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | Rgb8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | Argb4(u32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | Argb4(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | Rgb4(u32), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | Rgb4(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string` and `is_reference_type` are never used [INFO] [stdout] --> src/typedvalue.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl TypedValue { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn is_reference_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `file_name` and `compression` are never used [INFO] [stdout] --> src/zip/archive.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl ZipEntry { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 76 | pub fn file_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn compression(&self) -> Compression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `files` is never used [INFO] [stdout] --> src/zip/archive.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl ZipArchive { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn files(&self) -> ZipIter { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `general_purpose_flags`, `crc32`, and `extra_field` are never read [INFO] [stdout] --> src/zip/parser.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CentralDirectoryFileHeader { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub general_purpose_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | crc32: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | extra_field: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CentralDirectoryFileHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_utf8` is never used [INFO] [stdout] --> src/zip/parser.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl CentralDirectoryFileHeader { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_utf8(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `locale_script`, `locale_variant`, and `screen_layout2` are never read [INFO] [stdout] --> src/resources/config.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Configuration { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | locale_script: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 104 | locale_variant: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 105 | [INFO] [stdout] 106 | screen_layout2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `language_or_region_to_string` is never used [INFO] [stdout] --> src/resources/config.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn language_or_region_to_string(v: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entries_start` is never read [INFO] [stdout] --> src/resources/resources.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 140 | struct ResourceTableTypeHeader { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 143 | entries_start: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableTypeHeader` 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 `0` is never read [INFO] [stdout] --> src/resources/resources.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | Complex(ResourceTableMapEntry), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EntryData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 198 | Complex(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/resources/resources.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 222 | struct ResourceTableMapping { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 223 | name: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 224 | value: ResourceValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableMapping` 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 `parent`, `count`, and `mappings` are never read [INFO] [stdout] --> src/resources/resources.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 234 | struct ResourceTableMapEntry { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 235 | parent: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 236 | count: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 237 | mappings: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableMapEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourceTableTypeSpec` is never constructed [INFO] [stdout] --> src/resources/resources.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | struct ResourceTableTypeSpec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_configuration_dimensions` is never used [INFO] [stdout] --> src/resources/resources.rs:318:4 [INFO] [stdout] | [INFO] [stdout] 318 | fn get_configuration_dimensions(flags: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `device_config` is never read [INFO] [stdout] --> src/resources/resources.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 357 | pub struct Resources { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 358 | //configuration to check against [INFO] [stdout] 359 | device_config: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 316 | pub enum ScreenWidth { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 317 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 318 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenWidth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub enum ScreenHeight { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 323 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 324 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenHeight` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 353 | pub enum MinorVersion { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 354 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 355 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinorVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/resources/config_qualifiers.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 358 | impl MinorVersion { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 359 | fn to_string(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ASN1Type` is never used [INFO] [stdout] --> src/signature/asn1.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum ASN1Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tag_class`, `constructed`, and `id` are never read [INFO] [stdout] --> src/signature/asn1.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct DataElement { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 72 | tag_class: TagClass, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 73 | constructed: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataElement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `render_plain` is never used [INFO] [stdout] --> src/main.rs:38:4 [INFO] [stdout] | [INFO] [stdout] 38 | fn render_plain(data: &[u8], resources: &Resources) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `indent_ouput` is never used [INFO] [stdout] --> src/main.rs:74:4 [INFO] [stdout] | [INFO] [stdout] 74 | fn indent_ouput(level: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `resources` is never read [INFO] [stdout] --> src/apk.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Apk { [INFO] [stdout] | --- field in this struct [INFO] [stdout] 14 | zip_archive: ZipArchive, [INFO] [stdout] 15 | resources: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `name` and `compressed_len` are never used [INFO] [stdout] --> src/apk.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ApkFile { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 21 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn compressed_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `files` and `get_resources` are never used [INFO] [stdout] --> src/apk.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Apk { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn files(&self) -> ApkIter { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn get_resources(&self) -> Option<&Resources> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_sub_chunks` is never used [INFO] [stdout] --> src/chunk.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> Chunk<'a> { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 13 | pub fn get_sub_chunks(&self) -> IResult<&[u8], Vec>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw_value` is never read [INFO] [stdout] --> src/chunk.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 72 | pub struct RawAttribute { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 75 | pub raw_value: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RawAttribute` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_binary_xml` is never used [INFO] [stdout] --> src/axml.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn is_binary_xml(data: &[u8]) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/axml.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl<'a> XmlElementStream<'a> { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(data: &'a [u8]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ParseError` is never used [INFO] [stdout] --> src/axml.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | pub enum ParseError { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/axml.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | NamespaceStart(Namespace), [INFO] [stdout] | -------------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XmlEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 108 | NamespaceStart(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/axml.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | NamespaceEnd(Namespace), [INFO] [stdout] | ------------ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XmlEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 109 | NamespaceEnd(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/axml.rs:110:18 [INFO] [stdout] | [INFO] [stdout] 110 | ElementStart(ElementStart), [INFO] [stdout] | ------------ ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XmlEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 110 | ElementStart(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/axml.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | ElementEnd(ElementEnd), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XmlEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 111 | ElementEnd(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/axml.rs:112:11 [INFO] [stdout] | [INFO] [stdout] 112 | CData(CData), [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `XmlEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 112 | CData(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `line_number`, `comment`, `prefix`, and `uri` are never read [INFO] [stdout] --> src/axml.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub struct Namespace { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 117 | line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 118 | comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 119 | prefix: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 120 | uri: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Namespace` 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 `line_number`, `comment`, `ns`, `name`, and `attributes` are never read [INFO] [stdout] --> src/axml.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 135 | pub struct ElementStart { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 136 | pub line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 137 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 138 | pub ns: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 139 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 140 | pub attributes: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementStart` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `attribute_len` is never used [INFO] [stdout] --> src/axml.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 143 | impl ElementStart { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn attribute_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ns`, `name`, and `value` are never read [INFO] [stdout] --> src/axml.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct Attribute { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 177 | pub ns: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 178 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 179 | pub value: TypedValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Attribute` 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 `line_number`, `comment`, `ns`, and `name` are never read [INFO] [stdout] --> src/axml.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct ElementEnd { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 194 | pub line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 195 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 196 | pub ns: Option, [INFO] [stdout] | ^^ [INFO] [stdout] 197 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ElementEnd` 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 `line_number`, `comment`, and `data` are never read [INFO] [stdout] --> src/axml.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct CData { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 213 | pub line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 214 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 215 | pub data: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CData` 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 `styles` is never read [INFO] [stdout] --> src/stringpool.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct StringPool { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 6 | pool: Vec, [INFO] [stdout] 7 | styles: Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringPool` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_styled` is never used [INFO] [stdout] --> src/stringpool.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl StringPool { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn is_styled(&self, index: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `start_char`, and `end_char` are never read [INFO] [stdout] --> src/stringpool.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct StringStyling { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 98 | name: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 99 | start_char: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 100 | end_char: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StringStyling` 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 `0` is never read [INFO] [stdout] --> src/typedvalue.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | Reference(u32), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | Reference(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | Attribute(u32), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 | Attribute(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | String(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | Float(f32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 | Float(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | Dimension(u32), [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 11 | Dimension(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | Fraction(u32), [INFO] [stdout] | -------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | Fraction(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | Boolean(bool), [INFO] [stdout] | ------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | Boolean(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | IntDecimal(i32), [INFO] [stdout] | ---------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | IntDecimal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | IntHex(i32), [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | IntHex(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | Argb8(u32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 16 | Argb8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | Rgb8(u32), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | Rgb8(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | Argb4(u32), [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 18 | Argb4(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/typedvalue.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | Rgb4(u32), [INFO] [stdout] | ---- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TypedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | Rgb4(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `to_string` and `is_reference_type` are never used [INFO] [stdout] --> src/typedvalue.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl TypedValue { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn is_reference_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `file_name` and `compression` are never used [INFO] [stdout] --> src/zip/archive.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl ZipEntry { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 76 | pub fn file_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn compression(&self) -> Compression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `files` is never used [INFO] [stdout] --> src/zip/archive.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 103 | impl ZipArchive { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn files(&self) -> ZipIter { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `general_purpose_flags`, `crc32`, and `extra_field` are never read [INFO] [stdout] --> src/zip/parser.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct CentralDirectoryFileHeader { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub general_purpose_flags: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | crc32: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | extra_field: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CentralDirectoryFileHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_utf8` is never used [INFO] [stdout] --> src/zip/parser.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl CentralDirectoryFileHeader { [INFO] [stdout] | ------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_utf8(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `locale_script`, `locale_variant`, and `screen_layout2` are never read [INFO] [stdout] --> src/resources/config.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Configuration { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | locale_script: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 104 | locale_variant: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 105 | [INFO] [stdout] 106 | screen_layout2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `language_or_region_to_string` is never used [INFO] [stdout] --> src/resources/config.rs:112:4 [INFO] [stdout] | [INFO] [stdout] 112 | fn language_or_region_to_string(v: u16) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `entries_start` is never read [INFO] [stdout] --> src/resources/resources.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 140 | struct ResourceTableTypeHeader { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 143 | entries_start: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableTypeHeader` 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 `0` is never read [INFO] [stdout] --> src/resources/resources.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | Complex(ResourceTableMapEntry), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EntryData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 198 | Complex(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `value` are never read [INFO] [stdout] --> src/resources/resources.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 222 | struct ResourceTableMapping { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 223 | name: u32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 224 | value: ResourceValue, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableMapping` 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 `parent`, `count`, and `mappings` are never read [INFO] [stdout] --> src/resources/resources.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 234 | struct ResourceTableMapEntry { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 235 | parent: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 236 | count: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 237 | mappings: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceTableMapEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResourceTableTypeSpec` is never constructed [INFO] [stdout] --> src/resources/resources.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 252 | struct ResourceTableTypeSpec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_configuration_dimensions` is never used [INFO] [stdout] --> src/resources/resources.rs:318:4 [INFO] [stdout] | [INFO] [stdout] 318 | fn get_configuration_dimensions(flags: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `device_config` is never read [INFO] [stdout] --> src/resources/resources.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 357 | pub struct Resources { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 358 | //configuration to check against [INFO] [stdout] 359 | device_config: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 316 | pub enum ScreenWidth { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 317 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 318 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenWidth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 322 | pub enum ScreenHeight { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 323 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 324 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScreenHeight` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Any` and `Some` are never constructed [INFO] [stdout] --> src/resources/config_qualifiers.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 353 | pub enum MinorVersion { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 354 | Any, [INFO] [stdout] | ^^^ [INFO] [stdout] 355 | Some(u16), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MinorVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_string` is never used [INFO] [stdout] --> src/resources/config_qualifiers.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 358 | impl MinorVersion { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 359 | fn to_string(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ASN1Type` is never used [INFO] [stdout] --> src/signature/asn1.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum ASN1Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_last_octet` is never used [INFO] [stdout] --> src/signature/asn1.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn is_last_octet(octet: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_octet_series` is never used [INFO] [stdout] --> src/signature/asn1.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn parse_octet_series(input: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decode_object_identifier` is never used [INFO] [stdout] --> src/signature/asn1.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn decode_object_identifier(data: &[u8]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tag_class`, `constructed`, and `id` are never read [INFO] [stdout] --> src/signature/asn1.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct DataElement { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 72 | tag_class: TagClass, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 73 | constructed: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 74 | id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `DataElement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 85 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.93s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "ff482b19c8ac951d69c81919247d3b7eae5179d4d73977acc7706cd64416ba75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff482b19c8ac951d69c81919247d3b7eae5179d4d73977acc7706cd64416ba75", kill_on_drop: false }` [INFO] [stdout] ff482b19c8ac951d69c81919247d3b7eae5179d4d73977acc7706cd64416ba75