[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] testing dbasedow/android-xml against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbasedow%2Fandroid-xml" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dbasedow/android-xml on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-18/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 220dc54439e4c79469c30d631460cdb45b78a61f4a91e7309a44da389f3ef85a [INFO] running `Command { std: "docker" "start" "-a" "220dc54439e4c79469c30d631460cdb45b78a61f4a91e7309a44da389f3ef85a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "220dc54439e4c79469c30d631460cdb45b78a61f4a91e7309a44da389f3ef85a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "220dc54439e4c79469c30d631460cdb45b78a61f4a91e7309a44da389f3ef85a", kill_on_drop: false }` [INFO] [stdout] 220dc54439e4c79469c30d631460cdb45b78a61f4a91e7309a44da389f3ef85a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb87272598d03e6de3e64bb6893ba43a498d73e58be68a114b6618efa8ff6348 [INFO] running `Command { std: "docker" "start" "-a" "bb87272598d03e6de3e64bb6893ba43a498d73e58be68a114b6618efa8ff6348", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling byte-tools v0.3.0 [INFO] [stderr] Compiling byteorder v1.2.7 [INFO] [stderr] Compiling opaque-debug v0.2.1 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling block-padding v0.1.2 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling block-buffer v0.7.0 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling flate2 v1.0.4 [INFO] [stderr] Compiling 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: 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - pub fn content(&self) -> io::Result> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 - pub fn content(&self) -> io::Result> { [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: `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: field is never read: `line_number` [INFO] [stdout] --> src/axml.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Namespace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `comment` [INFO] [stdout] --> src/axml.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | comment: Option, [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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prefix` [INFO] [stdout] --> src/axml.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | prefix: 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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `uri` [INFO] [stdout] --> src/axml.rs:120:5 [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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/stringpool.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | name: 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] --> src/stringpool.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start_char` [INFO] [stdout] --> src/stringpool.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | start_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] --> src/stringpool.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end_char` [INFO] [stdout] --> src/stringpool.rs:100:5 [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] --> src/stringpool.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locale_script` [INFO] [stdout] --> src/resources/config.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | locale_script: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locale_variant` [INFO] [stdout] --> src/resources/config.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | locale_variant: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_layout2` [INFO] [stdout] --> src/resources/config.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | screen_layout2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `language_or_region_to_string` [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 is never read: `entries_start` [INFO] [stdout] --> src/resources/resources.rs:143:5 [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] --> src/resources/resources.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/resources/resources.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | name: u32, [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] --> src/resources/resources.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/resources/resources.rs:224:5 [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] --> src/resources/resources.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> src/resources/resources.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | parent: u32, [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] --> src/resources/resources.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `count` [INFO] [stdout] --> src/resources/resources.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | count: u32, [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] --> src/resources/resources.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mappings` [INFO] [stdout] --> src/resources/resources.rs:237:5 [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] --> src/resources/resources.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/resources/resources.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | id: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ResourceTableTypeSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/resources/resources.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `entry_count` [INFO] [stdout] --> src/resources/resources.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | entry_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ResourceTableTypeSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/resources/resources.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_configuration_dimensions` [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 is never read: `device_config` [INFO] [stdout] --> src/resources/resources.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | device_config: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/resources/config_qualifiers.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | Any, [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] --> src/resources/config_qualifiers.rs:315:10 [INFO] [stdout] | [INFO] [stdout] 315 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/resources/config_qualifiers.rs:318:5 [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] --> src/resources/config_qualifiers.rs:315:10 [INFO] [stdout] | [INFO] [stdout] 315 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/resources/config_qualifiers.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | Any, [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] --> src/resources/config_qualifiers.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 321 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/resources/config_qualifiers.rs:324:5 [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] --> src/resources/config_qualifiers.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 321 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/resources/config_qualifiers.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | Any, [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] --> src/resources/config_qualifiers.rs:352:10 [INFO] [stdout] | [INFO] [stdout] 352 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/resources/config_qualifiers.rs:355:5 [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] --> src/resources/config_qualifiers.rs:352:10 [INFO] [stdout] | [INFO] [stdout] 352 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/resources/config_qualifiers.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | fn to_string(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ASN1Type` [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 never used: `is_last_octet` [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 is never used: `parse_octet_series` [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 is never used: `decode_object_identifier` [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: field is never read: `tag_class` [INFO] [stdout] --> src/signature/asn1.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | tag_class: TagClass, [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] --> src/signature/asn1.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `constructed` [INFO] [stdout] --> src/signature/asn1.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | constructed: bool, [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] --> src/signature/asn1.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/signature/asn1.rs:74:5 [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] --> src/signature/asn1.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file_name` [INFO] [stdout] --> src/zip/archive.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn file_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compression` [INFO] [stdout] --> src/zip/archive.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn compression(&self) -> Compression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `crc32` [INFO] [stdout] --> src/zip/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | crc32: u32, [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] --> src/zip/parser.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `extra_field` [INFO] [stdout] --> src/zip/parser.rs:36:5 [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] --> src/zip/parser.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_utf8` [INFO] [stdout] --> src/zip/parser.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn is_utf8(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 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: 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - fn main() -> Result<(), Box> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - pub fn content(&self) -> io::Result> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 - pub fn content(&self) -> io::Result> { [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: `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 is never used: `render_plain` [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 is never used: `indent_ouput` [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 is never read: `resources` [INFO] [stdout] --> src/apk.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | resources: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/apk.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compressed_len` [INFO] [stdout] --> src/apk.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn compressed_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `files` [INFO] [stdout] --> src/apk.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn files(&self) -> ApkIter { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_resources` [INFO] [stdout] --> src/apk.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn get_resources(&self) -> Option<&Resources> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_sub_chunks` [INFO] [stdout] --> src/chunk.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_sub_chunks(&self) -> IResult<&[u8], Vec>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_binary_xml` [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 is never used: `new` [INFO] [stdout] --> src/axml.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(data: &'a [u8]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ParseError` [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 is never read: `line_number` [INFO] [stdout] --> src/axml.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | line_number: u32, [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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `comment` [INFO] [stdout] --> src/axml.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | comment: Option, [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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prefix` [INFO] [stdout] --> src/axml.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | prefix: 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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `uri` [INFO] [stdout] --> src/axml.rs:120:5 [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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `attribute_len` [INFO] [stdout] --> src/axml.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn attribute_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `styles` [INFO] [stdout] --> src/stringpool.rs:7:5 [INFO] [stdout] | [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] --> src/stringpool.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_styled` [INFO] [stdout] --> src/stringpool.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn is_styled(&self, index: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/stringpool.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | name: 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] --> src/stringpool.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start_char` [INFO] [stdout] --> src/stringpool.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | start_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] --> src/stringpool.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end_char` [INFO] [stdout] --> src/stringpool.rs:100:5 [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] --> src/stringpool.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/typedvalue.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_reference_type` [INFO] [stdout] --> src/typedvalue.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn is_reference_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file_name` [INFO] [stdout] --> src/zip/archive.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn file_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compression` [INFO] [stdout] --> src/zip/archive.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn compression(&self) -> Compression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `files` [INFO] [stdout] --> src/zip/archive.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn files(&self) -> ZipIter { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `crc32` [INFO] [stdout] --> src/zip/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | crc32: u32, [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] --> src/zip/parser.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `extra_field` [INFO] [stdout] --> src/zip/parser.rs:36:5 [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] --> src/zip/parser.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_utf8` [INFO] [stdout] --> src/zip/parser.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn is_utf8(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locale_script` [INFO] [stdout] --> src/resources/config.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | locale_script: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locale_variant` [INFO] [stdout] --> src/resources/config.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | locale_variant: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_layout2` [INFO] [stdout] --> src/resources/config.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | screen_layout2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `language_or_region_to_string` [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 is never read: `entries_start` [INFO] [stdout] --> src/resources/resources.rs:143:5 [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] --> src/resources/resources.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/resources/resources.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | name: u32, [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] --> src/resources/resources.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/resources/resources.rs:224:5 [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] --> src/resources/resources.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> src/resources/resources.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | parent: u32, [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] --> src/resources/resources.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `count` [INFO] [stdout] --> src/resources/resources.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | count: u32, [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] --> src/resources/resources.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mappings` [INFO] [stdout] --> src/resources/resources.rs:237:5 [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] --> src/resources/resources.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/resources/resources.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | id: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ResourceTableTypeSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/resources/resources.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `entry_count` [INFO] [stdout] --> src/resources/resources.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | entry_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ResourceTableTypeSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/resources/resources.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_configuration_dimensions` [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 is never read: `device_config` [INFO] [stdout] --> src/resources/resources.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | device_config: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/resources/config_qualifiers.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | Any, [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] --> src/resources/config_qualifiers.rs:315:10 [INFO] [stdout] | [INFO] [stdout] 315 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/resources/config_qualifiers.rs:318:5 [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] --> src/resources/config_qualifiers.rs:315:10 [INFO] [stdout] | [INFO] [stdout] 315 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/resources/config_qualifiers.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | Any, [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] --> src/resources/config_qualifiers.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 321 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/resources/config_qualifiers.rs:324:5 [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] --> src/resources/config_qualifiers.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 321 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/resources/config_qualifiers.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | Any, [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] --> src/resources/config_qualifiers.rs:352:10 [INFO] [stdout] | [INFO] [stdout] 352 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/resources/config_qualifiers.rs:355:5 [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] --> src/resources/config_qualifiers.rs:352:10 [INFO] [stdout] | [INFO] [stdout] 352 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/resources/config_qualifiers.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | fn to_string(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ASN1Type` [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 never used: `is_last_octet` [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 is never used: `parse_octet_series` [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 is never used: `decode_object_identifier` [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: field is never read: `tag_class` [INFO] [stdout] --> src/signature/asn1.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | tag_class: TagClass, [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] --> src/signature/asn1.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `constructed` [INFO] [stdout] --> src/signature/asn1.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | constructed: bool, [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] --> src/signature/asn1.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/signature/asn1.rs:74:5 [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] --> src/signature/asn1.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 82 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.05s [INFO] running `Command { std: "docker" "inspect" "bb87272598d03e6de3e64bb6893ba43a498d73e58be68a114b6618efa8ff6348", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb87272598d03e6de3e64bb6893ba43a498d73e58be68a114b6618efa8ff6348", kill_on_drop: false }` [INFO] [stdout] bb87272598d03e6de3e64bb6893ba43a498d73e58be68a114b6618efa8ff6348 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1a470cc6dc61e1e3a7b7d5c9d8cab055ec2f933d83e0e280e7c4a72a0da9448 [INFO] running `Command { std: "docker" "start" "-a" "b1a470cc6dc61e1e3a7b7d5c9d8cab055ec2f933d83e0e280e7c4a72a0da9448", kill_on_drop: false }` [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - pub fn content(&self) -> io::Result> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 - pub fn content(&self) -> io::Result> { [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: `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: field is never read: `line_number` [INFO] [stdout] --> src/axml.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Namespace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `comment` [INFO] [stdout] --> src/axml.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | comment: Option, [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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prefix` [INFO] [stdout] --> src/axml.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | prefix: 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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `uri` [INFO] [stdout] --> src/axml.rs:120:5 [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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/stringpool.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | name: 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] --> src/stringpool.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start_char` [INFO] [stdout] --> src/stringpool.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | start_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] --> src/stringpool.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end_char` [INFO] [stdout] --> src/stringpool.rs:100:5 [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] --> src/stringpool.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locale_script` [INFO] [stdout] --> src/resources/config.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | locale_script: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locale_variant` [INFO] [stdout] --> src/resources/config.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | locale_variant: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_layout2` [INFO] [stdout] --> src/resources/config.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | screen_layout2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `language_or_region_to_string` [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 is never read: `entries_start` [INFO] [stdout] --> src/resources/resources.rs:143:5 [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] --> src/resources/resources.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/resources/resources.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | name: u32, [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] --> src/resources/resources.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/resources/resources.rs:224:5 [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] --> src/resources/resources.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> src/resources/resources.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | parent: u32, [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] --> src/resources/resources.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `count` [INFO] [stdout] --> src/resources/resources.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | count: u32, [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] --> src/resources/resources.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mappings` [INFO] [stdout] --> src/resources/resources.rs:237:5 [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] --> src/resources/resources.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/resources/resources.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | id: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ResourceTableTypeSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/resources/resources.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `entry_count` [INFO] [stdout] --> src/resources/resources.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | entry_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ResourceTableTypeSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/resources/resources.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_configuration_dimensions` [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 is never read: `device_config` [INFO] [stdout] --> src/resources/resources.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | device_config: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/resources/config_qualifiers.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | Any, [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] --> src/resources/config_qualifiers.rs:315:10 [INFO] [stdout] | [INFO] [stdout] 315 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/resources/config_qualifiers.rs:318:5 [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] --> src/resources/config_qualifiers.rs:315:10 [INFO] [stdout] | [INFO] [stdout] 315 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/resources/config_qualifiers.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | Any, [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] --> src/resources/config_qualifiers.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 321 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/resources/config_qualifiers.rs:324:5 [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] --> src/resources/config_qualifiers.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 321 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/resources/config_qualifiers.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | Any, [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] --> src/resources/config_qualifiers.rs:352:10 [INFO] [stdout] | [INFO] [stdout] 352 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling apk-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/resources/config_qualifiers.rs:355:5 [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] --> src/resources/config_qualifiers.rs:352:10 [INFO] [stdout] | [INFO] [stdout] 352 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/resources/config_qualifiers.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | fn to_string(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ASN1Type` [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 never used: `is_last_octet` [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 is never used: `parse_octet_series` [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 is never used: `decode_object_identifier` [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: field is never read: `tag_class` [INFO] [stdout] --> src/signature/asn1.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | tag_class: TagClass, [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] --> src/signature/asn1.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `constructed` [INFO] [stdout] --> src/signature/asn1.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | constructed: bool, [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] --> src/signature/asn1.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/signature/asn1.rs:74:5 [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] --> src/signature/asn1.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file_name` [INFO] [stdout] --> src/zip/archive.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn file_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compression` [INFO] [stdout] --> src/zip/archive.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn compression(&self) -> Compression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `crc32` [INFO] [stdout] --> src/zip/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | crc32: u32, [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] --> src/zip/parser.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `extra_field` [INFO] [stdout] --> src/zip/parser.rs:36:5 [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] --> src/zip/parser.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_utf8` [INFO] [stdout] --> src/zip/parser.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn is_utf8(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 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 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: 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - fn main() -> Result<(), Box> { [INFO] [stdout] 15 + fn main() -> Result<(), Box> { [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: 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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - pub fn content(&self) -> io::Result> { [INFO] [stdout] 33 + pub fn content(&self) -> io::Result> { [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/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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 - pub fn content(&self) -> io::Result> { [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/apk.rs:33:45 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn content(&self) -> io::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 - pub fn content(&self) -> io::Result> { [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 88 - pub fn content(&self) -> io::Result> { [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: `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] = 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: function is never used: `render_plain` [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 is never used: `indent_ouput` [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 is never read: `resources` [INFO] [stdout] --> src/apk.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | resources: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `name` [INFO] [stdout] --> src/apk.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn name(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compressed_len` [INFO] [stdout] --> src/apk.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn compressed_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `files` [INFO] [stdout] --> src/apk.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn files(&self) -> ApkIter { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_resources` [INFO] [stdout] --> src/apk.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn get_resources(&self) -> Option<&Resources> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_sub_chunks` [INFO] [stdout] --> src/chunk.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn get_sub_chunks(&self) -> IResult<&[u8], Vec>> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_binary_xml` [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 is never used: `new` [INFO] [stdout] --> src/axml.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(data: &'a [u8]) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ParseError` [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 is never read: `line_number` [INFO] [stdout] --> src/axml.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | line_number: u32, [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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `comment` [INFO] [stdout] --> src/axml.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | comment: Option, [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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prefix` [INFO] [stdout] --> src/axml.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | prefix: 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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `uri` [INFO] [stdout] --> src/axml.rs:120:5 [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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `attribute_len` [INFO] [stdout] --> src/axml.rs:166:12 [INFO] [stdout] | [INFO] [stdout] 166 | pub fn attribute_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `styles` [INFO] [stdout] --> src/stringpool.rs:7:5 [INFO] [stdout] | [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] --> src/stringpool.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_styled` [INFO] [stdout] --> src/stringpool.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn is_styled(&self, index: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/stringpool.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | name: 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] --> src/stringpool.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start_char` [INFO] [stdout] --> src/stringpool.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | start_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] --> src/stringpool.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end_char` [INFO] [stdout] --> src/stringpool.rs:100:5 [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] --> src/stringpool.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/typedvalue.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn to_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_reference_type` [INFO] [stdout] --> src/typedvalue.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn is_reference_type(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file_name` [INFO] [stdout] --> src/zip/archive.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn file_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compression` [INFO] [stdout] --> src/zip/archive.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn compression(&self) -> Compression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `files` [INFO] [stdout] --> src/zip/archive.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn files(&self) -> ZipIter { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `crc32` [INFO] [stdout] --> src/zip/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | crc32: u32, [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] --> src/zip/parser.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `extra_field` [INFO] [stdout] --> src/zip/parser.rs:36:5 [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] --> src/zip/parser.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_utf8` [INFO] [stdout] --> src/zip/parser.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn is_utf8(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locale_script` [INFO] [stdout] --> src/resources/config.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | locale_script: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locale_variant` [INFO] [stdout] --> src/resources/config.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | locale_variant: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_layout2` [INFO] [stdout] --> src/resources/config.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | screen_layout2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `language_or_region_to_string` [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 is never read: `entries_start` [INFO] [stdout] --> src/resources/resources.rs:143:5 [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] --> src/resources/resources.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/resources/resources.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | name: u32, [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] --> src/resources/resources.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/resources/resources.rs:224:5 [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] --> src/resources/resources.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> src/resources/resources.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | parent: u32, [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] --> src/resources/resources.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `count` [INFO] [stdout] --> src/resources/resources.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | count: u32, [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] --> src/resources/resources.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mappings` [INFO] [stdout] --> src/resources/resources.rs:237:5 [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] --> src/resources/resources.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/resources/resources.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | id: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ResourceTableTypeSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/resources/resources.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `entry_count` [INFO] [stdout] --> src/resources/resources.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | entry_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ResourceTableTypeSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/resources/resources.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_configuration_dimensions` [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 is never read: `device_config` [INFO] [stdout] --> src/resources/resources.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | device_config: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/resources/config_qualifiers.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | Any, [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] --> src/resources/config_qualifiers.rs:315:10 [INFO] [stdout] | [INFO] [stdout] 315 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/resources/config_qualifiers.rs:318:5 [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] --> src/resources/config_qualifiers.rs:315:10 [INFO] [stdout] | [INFO] [stdout] 315 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/resources/config_qualifiers.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | Any, [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] --> src/resources/config_qualifiers.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 321 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/resources/config_qualifiers.rs:324:5 [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] --> src/resources/config_qualifiers.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 321 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/resources/config_qualifiers.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | Any, [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] --> src/resources/config_qualifiers.rs:352:10 [INFO] [stdout] | [INFO] [stdout] 352 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/resources/config_qualifiers.rs:355:5 [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] --> src/resources/config_qualifiers.rs:352:10 [INFO] [stdout] | [INFO] [stdout] 352 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/resources/config_qualifiers.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | fn to_string(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ASN1Type` [INFO] [stdout] --> src/signature/asn1.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum ASN1Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tag_class` [INFO] [stdout] --> src/signature/asn1.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | tag_class: TagClass, [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] --> src/signature/asn1.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `constructed` [INFO] [stdout] --> src/signature/asn1.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | constructed: bool, [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] --> src/signature/asn1.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/signature/asn1.rs:74:5 [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] --> src/signature/asn1.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `line_number` [INFO] [stdout] --> src/axml.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | line_number: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Namespace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `comment` [INFO] [stdout] --> src/axml.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | comment: Option, [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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prefix` [INFO] [stdout] --> src/axml.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | prefix: 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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `uri` [INFO] [stdout] --> src/axml.rs:120:5 [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] --> src/axml.rs:115:10 [INFO] [stdout] | [INFO] [stdout] 115 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/stringpool.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | name: 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] --> src/stringpool.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start_char` [INFO] [stdout] --> src/stringpool.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | start_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] --> src/stringpool.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end_char` [INFO] [stdout] --> src/stringpool.rs:100:5 [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] --> src/stringpool.rs:96:10 [INFO] [stdout] | [INFO] [stdout] 96 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locale_script` [INFO] [stdout] --> src/resources/config.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | locale_script: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `locale_variant` [INFO] [stdout] --> src/resources/config.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 104 | locale_variant: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `screen_layout2` [INFO] [stdout] --> src/resources/config.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | screen_layout2: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `language_or_region_to_string` [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 is never read: `entries_start` [INFO] [stdout] --> src/resources/resources.rs:143:5 [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] --> src/resources/resources.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/resources/resources.rs:223:5 [INFO] [stdout] | [INFO] [stdout] 223 | name: u32, [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] --> src/resources/resources.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/resources/resources.rs:224:5 [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] --> src/resources/resources.rs:221:10 [INFO] [stdout] | [INFO] [stdout] 221 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> src/resources/resources.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | parent: u32, [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] --> src/resources/resources.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `count` [INFO] [stdout] --> src/resources/resources.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 236 | count: u32, [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] --> src/resources/resources.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `mappings` [INFO] [stdout] --> src/resources/resources.rs:237:5 [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] --> src/resources/resources.rs:233:10 [INFO] [stdout] | [INFO] [stdout] 233 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/resources/resources.rs:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | id: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ResourceTableTypeSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/resources/resources.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `entry_count` [INFO] [stdout] --> src/resources/resources.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | entry_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ResourceTableTypeSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/resources/resources.rs:251:10 [INFO] [stdout] | [INFO] [stdout] 251 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_configuration_dimensions` [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 is never read: `device_config` [INFO] [stdout] --> src/resources/resources.rs:359:5 [INFO] [stdout] | [INFO] [stdout] 359 | device_config: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/resources/config_qualifiers.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | Any, [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] --> src/resources/config_qualifiers.rs:315:10 [INFO] [stdout] | [INFO] [stdout] 315 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/resources/config_qualifiers.rs:318:5 [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] --> src/resources/config_qualifiers.rs:315:10 [INFO] [stdout] | [INFO] [stdout] 315 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/resources/config_qualifiers.rs:323:5 [INFO] [stdout] | [INFO] [stdout] 323 | Any, [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] --> src/resources/config_qualifiers.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 321 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/resources/config_qualifiers.rs:324:5 [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] --> src/resources/config_qualifiers.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 321 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Any` [INFO] [stdout] --> src/resources/config_qualifiers.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | Any, [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] --> src/resources/config_qualifiers.rs:352:10 [INFO] [stdout] | [INFO] [stdout] 352 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Some` [INFO] [stdout] --> src/resources/config_qualifiers.rs:355:5 [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] --> src/resources/config_qualifiers.rs:352:10 [INFO] [stdout] | [INFO] [stdout] 352 | #[derive(Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_string` [INFO] [stdout] --> src/resources/config_qualifiers.rs:359:8 [INFO] [stdout] | [INFO] [stdout] 359 | fn to_string(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ASN1Type` [INFO] [stdout] --> src/signature/asn1.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | enum ASN1Type { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tag_class` [INFO] [stdout] --> src/signature/asn1.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | tag_class: TagClass, [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] --> src/signature/asn1.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `constructed` [INFO] [stdout] --> src/signature/asn1.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | constructed: bool, [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] --> src/signature/asn1.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/signature/asn1.rs:74:5 [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] --> src/signature/asn1.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `file_name` [INFO] [stdout] --> src/zip/archive.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn file_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `compression` [INFO] [stdout] --> src/zip/archive.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn compression(&self) -> Compression { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `crc32` [INFO] [stdout] --> src/zip/parser.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | crc32: u32, [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] --> src/zip/parser.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `extra_field` [INFO] [stdout] --> src/zip/parser.rs:36:5 [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] --> src/zip/parser.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_utf8` [INFO] [stdout] --> src/zip/parser.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn is_utf8(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 79 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 54 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.95s [INFO] running `Command { std: "docker" "inspect" "b1a470cc6dc61e1e3a7b7d5c9d8cab055ec2f933d83e0e280e7c4a72a0da9448", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1a470cc6dc61e1e3a7b7d5c9d8cab055ec2f933d83e0e280e7c4a72a0da9448", kill_on_drop: false }` [INFO] [stdout] b1a470cc6dc61e1e3a7b7d5c9d8cab055ec2f933d83e0e280e7c4a72a0da9448 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0948a8ebebb3700de4f0d964b6efad3869e4f9c30252a54d5f4451ce2a7d8f5d [INFO] running `Command { std: "docker" "start" "-a" "0948a8ebebb3700de4f0d964b6efad3869e4f9c30252a54d5f4451ce2a7d8f5d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/apk.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Seek` [INFO] [stderr] --> src/apk.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::io::Seek; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::iter::Map` [INFO] [stderr] --> src/apk.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::iter::Map; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TypedValue` [INFO] [stderr] --> src/resources/resources.rs:5:42 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::typedvalue::{parse_res_value, TypedValue}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/resources/resources.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `nom::*` [INFO] [stderr] --> src/resources/config_qualifiers.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use nom::*; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::resources::resources::convert_zero_terminated_u8` [INFO] [stderr] --> src/resources/config_qualifiers.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::resources::resources::convert_zero_terminated_u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stderr] --> src/resources/config_qualifiers.rs:640:15 [INFO] [stderr] | [INFO] [stderr] 640 | match (color_mode & 0x03) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 640 - match (color_mode & 0x03) { [INFO] [stderr] 640 + match color_mode & 0x03 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/zip/archive.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Open` [INFO] [stderr] --> src/zip/archive.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::zip::io::{Open, FileReader}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Cow` [INFO] [stderr] --> src/zip/archive.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::borrow::Cow` [INFO] [stderr] --> src/zip/parser.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::borrow::Cow; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/apk.rs:33:45 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn content(&self) -> io::Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 - pub fn content(&self) -> io::Result> { [INFO] [stderr] 33 + pub fn content(&self) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/zip/archive.rs:88:45 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn content(&self) -> io::Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 88 - pub fn content(&self) -> io::Result> { [INFO] [stderr] 88 + pub fn content(&self) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pch` [INFO] [stderr] --> src/resources/resources.rs:20:21 [INFO] [stderr] | [INFO] [stderr] 20 | let (_, pch) = try_parse!(chunk.additional_header, parse_package_chunk_header); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pch` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `seek_offset` [INFO] [stderr] --> src/zip/archive.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | let seek_offset = data.seek(SeekFrom::End(-1024))? as usize; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seek_offset` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `foo` [INFO] [stderr] --> src/zip/archive.rs:113:30 [INFO] [stderr] | [INFO] [stderr] 113 | if let IResult::Done(foo, res) = parser::parse_central_directory(&buf) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_foo` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `line_number` [INFO] [stderr] --> src/axml.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | line_number: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Namespace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/axml.rs:115:10 [INFO] [stderr] | [INFO] [stderr] 115 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `comment` [INFO] [stderr] --> src/axml.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | comment: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Namespace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/axml.rs:115:10 [INFO] [stderr] | [INFO] [stderr] 115 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `prefix` [INFO] [stderr] --> src/axml.rs:119:5 [INFO] [stderr] | [INFO] [stderr] 119 | prefix: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Namespace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/axml.rs:115:10 [INFO] [stderr] | [INFO] [stderr] 115 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `uri` [INFO] [stderr] --> src/axml.rs:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | uri: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Namespace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/axml.rs:115:10 [INFO] [stderr] | [INFO] [stderr] 115 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/stringpool.rs:98:5 [INFO] [stderr] | [INFO] [stderr] 98 | name: usize, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StringStyling` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/stringpool.rs:96:10 [INFO] [stderr] | [INFO] [stderr] 96 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `start_char` [INFO] [stderr] --> src/stringpool.rs:99:5 [INFO] [stderr] | [INFO] [stderr] 99 | start_char: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StringStyling` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/stringpool.rs:96:10 [INFO] [stderr] | [INFO] [stderr] 96 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `end_char` [INFO] [stderr] --> src/stringpool.rs:100:5 [INFO] [stderr] | [INFO] [stderr] 100 | end_char: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StringStyling` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/stringpool.rs:96:10 [INFO] [stderr] | [INFO] [stderr] 96 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `locale_script` [INFO] [stderr] --> src/resources/config.rs:103:5 [INFO] [stderr] | [INFO] [stderr] 103 | locale_script: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `locale_variant` [INFO] [stderr] --> src/resources/config.rs:104:5 [INFO] [stderr] | [INFO] [stderr] 104 | locale_variant: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `screen_layout2` [INFO] [stderr] --> src/resources/config.rs:106:5 [INFO] [stderr] | [INFO] [stderr] 106 | screen_layout2: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `language_or_region_to_string` [INFO] [stderr] --> src/resources/config.rs:112:4 [INFO] [stderr] | [INFO] [stderr] 112 | fn language_or_region_to_string(v: u16) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `entries_start` [INFO] [stderr] --> src/resources/resources.rs:143:5 [INFO] [stderr] | [INFO] [stderr] 143 | entries_start: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ResourceTableTypeHeader` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/resources/resources.rs:139:10 [INFO] [stderr] | [INFO] [stderr] 139 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/resources/resources.rs:223:5 [INFO] [stderr] | [INFO] [stderr] 223 | name: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ResourceTableMapping` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/resources/resources.rs:221:10 [INFO] [stderr] | [INFO] [stderr] 221 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `value` [INFO] [stderr] --> src/resources/resources.rs:224:5 [INFO] [stderr] | [INFO] [stderr] 224 | value: ResourceValue, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ResourceTableMapping` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/resources/resources.rs:221:10 [INFO] [stderr] | [INFO] [stderr] 221 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `parent` [INFO] [stderr] --> src/resources/resources.rs:235:5 [INFO] [stderr] | [INFO] [stderr] 235 | parent: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ResourceTableMapEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/resources/resources.rs:233:10 [INFO] [stderr] | [INFO] [stderr] 233 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `count` [INFO] [stderr] --> src/resources/resources.rs:236:5 [INFO] [stderr] | [INFO] [stderr] 236 | count: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ResourceTableMapEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/resources/resources.rs:233:10 [INFO] [stderr] | [INFO] [stderr] 233 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `mappings` [INFO] [stderr] --> src/resources/resources.rs:237:5 [INFO] [stderr] | [INFO] [stderr] 237 | mappings: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ResourceTableMapEntry` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/resources/resources.rs:233:10 [INFO] [stderr] | [INFO] [stderr] 233 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/resources/resources.rs:253:5 [INFO] [stderr] | [INFO] [stderr] 253 | id: u8, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ResourceTableTypeSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/resources/resources.rs:251:10 [INFO] [stderr] | [INFO] [stderr] 251 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `entry_count` [INFO] [stderr] --> src/resources/resources.rs:254:5 [INFO] [stderr] | [INFO] [stderr] 254 | entry_count: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ResourceTableTypeSpec` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/resources/resources.rs:251:10 [INFO] [stderr] | [INFO] [stderr] 251 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `get_configuration_dimensions` [INFO] [stderr] --> src/resources/resources.rs:318:4 [INFO] [stderr] | [INFO] [stderr] 318 | fn get_configuration_dimensions(flags: u32) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `device_config` [INFO] [stderr] --> src/resources/resources.rs:359:5 [INFO] [stderr] | [INFO] [stderr] 359 | device_config: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Any` [INFO] [stderr] --> src/resources/config_qualifiers.rs:317:5 [INFO] [stderr] | [INFO] [stderr] 317 | Any, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `ScreenWidth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/resources/config_qualifiers.rs:315:10 [INFO] [stderr] | [INFO] [stderr] 315 | #[derive(Debug, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Some` [INFO] [stderr] --> src/resources/config_qualifiers.rs:318:5 [INFO] [stderr] | [INFO] [stderr] 318 | Some(u16), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ScreenWidth` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/resources/config_qualifiers.rs:315:10 [INFO] [stderr] | [INFO] [stderr] 315 | #[derive(Debug, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Any` [INFO] [stderr] --> src/resources/config_qualifiers.rs:323:5 [INFO] [stderr] | [INFO] [stderr] 323 | Any, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `ScreenHeight` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/resources/config_qualifiers.rs:321:10 [INFO] [stderr] | [INFO] [stderr] 321 | #[derive(Debug, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Some` [INFO] [stderr] --> src/resources/config_qualifiers.rs:324:5 [INFO] [stderr] | [INFO] [stderr] 324 | Some(u16), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ScreenHeight` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/resources/config_qualifiers.rs:321:10 [INFO] [stderr] | [INFO] [stderr] 321 | #[derive(Debug, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Any` [INFO] [stderr] --> src/resources/config_qualifiers.rs:354:5 [INFO] [stderr] | [INFO] [stderr] 354 | Any, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] note: `MinorVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/resources/config_qualifiers.rs:352:10 [INFO] [stderr] | [INFO] [stderr] 352 | #[derive(Debug, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Some` [INFO] [stderr] --> src/resources/config_qualifiers.rs:355:5 [INFO] [stderr] | [INFO] [stderr] 355 | Some(u16), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MinorVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/resources/config_qualifiers.rs:352:10 [INFO] [stderr] | [INFO] [stderr] 352 | #[derive(Debug, PartialEq)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_string` [INFO] [stderr] --> src/resources/config_qualifiers.rs:359:8 [INFO] [stderr] | [INFO] [stderr] 359 | fn to_string(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `ASN1Type` [INFO] [stderr] --> src/signature/asn1.rs:6:6 [INFO] [stderr] | [INFO] [stderr] 6 | enum ASN1Type { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_last_octet` [INFO] [stderr] --> src/signature/asn1.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | fn is_last_octet(octet: u8) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_octet_series` [INFO] [stderr] --> src/signature/asn1.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | fn parse_octet_series(input: &[u8]) -> IResult<&[u8], &[u8]> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `decode_object_identifier` [INFO] [stderr] --> src/signature/asn1.rs:43:4 [INFO] [stderr] | [INFO] [stderr] 43 | fn decode_object_identifier(data: &[u8]) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tag_class` [INFO] [stderr] --> src/signature/asn1.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | tag_class: TagClass, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DataElement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/signature/asn1.rs:70:10 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `constructed` [INFO] [stderr] --> src/signature/asn1.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | constructed: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DataElement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/signature/asn1.rs:70:10 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/signature/asn1.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | id: u32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DataElement` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/signature/asn1.rs:70:10 [INFO] [stderr] | [INFO] [stderr] 70 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `file_name` [INFO] [stderr] --> src/zip/archive.rs:76:12 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn file_name(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `compression` [INFO] [stderr] --> src/zip/archive.rs:80:12 [INFO] [stderr] | [INFO] [stderr] 80 | pub fn compression(&self) -> Compression { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `crc32` [INFO] [stderr] --> src/zip/parser.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | crc32: u32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CentralDirectoryFileHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/zip/parser.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `extra_field` [INFO] [stderr] --> src/zip/parser.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | extra_field: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `CentralDirectoryFileHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/zip/parser.rs:19:10 [INFO] [stderr] | [INFO] [stderr] 19 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_utf8` [INFO] [stderr] --> src/zip/parser.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn is_utf8(&self) -> bool { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `apk-rs` (lib) generated 57 warnings [INFO] [stderr] warning: `apk-rs` (lib test) generated 54 warnings (54 duplicates) [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `is_binary_xml` [INFO] [stderr] --> src/main.rs:4:19 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::axml::{is_binary_xml, XmlElementStream, XmlEvent}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::resources::resources::parse_resource_table` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::resources::resources::parse_resource_table; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `nom::IResult` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use nom::IResult; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/apk.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:15:29 [INFO] [stderr] | [INFO] [stderr] 15 | fn main() -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 15 - fn main() -> Result<(), Box> { [INFO] [stderr] 15 + fn main() -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/apk.rs:33:45 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn content(&self) -> io::Result> { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 - pub fn content(&self) -> io::Result> { [INFO] [stderr] 33 + pub fn content(&self) -> io::Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `seek_offset` [INFO] [stderr] --> src/zip/archive.rs:33:9 [INFO] [stderr] | [INFO] [stderr] 33 | let seek_offset = data.seek(SeekFrom::End(-1024))? as usize; [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seek_offset` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pch` [INFO] [stderr] --> src/resources/resources.rs:20:21 [INFO] [stderr] | [INFO] [stderr] 20 | let (_, pch) = try_parse!(chunk.additional_header, parse_package_chunk_header); [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pch` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `render_plain` [INFO] [stderr] --> src/main.rs:38:4 [INFO] [stderr] | [INFO] [stderr] 38 | fn render_plain(data: &[u8], resources: &Resources) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `indent_ouput` [INFO] [stderr] --> src/main.rs:74:4 [INFO] [stderr] | [INFO] [stderr] 74 | fn indent_ouput(level: u32) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `resources` [INFO] [stderr] --> src/apk.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | resources: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `name` [INFO] [stderr] --> src/apk.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn name(&self) -> String { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `compressed_len` [INFO] [stderr] --> src/apk.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn compressed_len(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `files` [INFO] [stderr] --> src/apk.rs:60:12 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn files(&self) -> ApkIter { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_resources` [INFO] [stderr] --> src/apk.rs:71:12 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn get_resources(&self) -> Option<&Resources> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_sub_chunks` [INFO] [stderr] --> src/chunk.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn get_sub_chunks(&self) -> IResult<&[u8], Vec>> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `is_binary_xml` [INFO] [stderr] --> src/axml.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn is_binary_xml(data: &[u8]) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/axml.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn new(data: &'a [u8]) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: enum is never used: `ParseError` [INFO] [stderr] --> src/axml.rs:102:10 [INFO] [stderr] | [INFO] [stderr] 102 | pub enum ParseError { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `line_number` [INFO] [stderr] --> src/axml.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | line_number: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Namespace` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/axml.rs:115:10 [INFO] [stderr] | [INFO] [stderr] 115 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `attribute_len` [INFO] [stderr] --> src/axml.rs:166:12 [INFO] [stderr] | [INFO] [stderr] 166 | pub fn attribute_len(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `styles` [INFO] [stderr] --> src/stringpool.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | styles: Vec>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `StringPool` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/stringpool.rs:4:10 [INFO] [stderr] | [INFO] [stderr] 4 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_styled` [INFO] [stderr] --> src/stringpool.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn is_styled(&self, index: u32) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `to_string` [INFO] [stderr] --> src/typedvalue.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn to_string(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_reference_type` [INFO] [stderr] --> src/typedvalue.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn is_reference_type(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `files` [INFO] [stderr] --> src/zip/archive.rs:137:12 [INFO] [stderr] | [INFO] [stderr] 137 | pub fn files(&self) -> ZipIter { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `apk-rs` (bin "apk-rs" test) generated 79 warnings (49 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/apk_rs-3bda3d3264c7af09) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test signature::asn1::test_decode_object_identifier ... ok [INFO] [stdout] test signature::asn1::test_parse_identifier ... ok [INFO] [stdout] test signature::asn1::test_parse_length ... ok [INFO] [stdout] test signature::asn1::test_parse_octet_series ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/apk_rs-5ace67166bc64295) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test signature::asn1::test_decode_object_identifier ... ok [INFO] [stdout] test signature::asn1::test_parse_identifier ... ok [INFO] [stdout] test signature::asn1::test_parse_length ... ok [INFO] [stdout] test signature::asn1::test_parse_octet_series ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests apk-rs [INFO] [stderr] warning: unnecessary parentheses around `match` scrutinee expression [INFO] [stderr] --> /opt/rustwide/workdir/src/resources/config_qualifiers.rs:640:15 [INFO] [stderr] | [INFO] [stderr] 640 | match (color_mode & 0x03) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 640 - match (color_mode & 0x03) { [INFO] [stderr] 640 + match color_mode & 0x03 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "0948a8ebebb3700de4f0d964b6efad3869e4f9c30252a54d5f4451ce2a7d8f5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0948a8ebebb3700de4f0d964b6efad3869e4f9c30252a54d5f4451ce2a7d8f5d", kill_on_drop: false }` [INFO] [stdout] 0948a8ebebb3700de4f0d964b6efad3869e4f9c30252a54d5f4451ce2a7d8f5d