[INFO] fetching crate smali 0.3.2...
[INFO] building smali-0.3.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate smali 0.3.2 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate smali 0.3.2
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate smali 0.3.2
[INFO] tweaked toml for crates.io crate smali 0.3.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate smali 0.3.2 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate smali 0.3.2 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rangemap v1.6.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 491ca855c2a9aa0e061af1d4e9ca2d0c0089a4955e72f8d61278c8c616cefa98
[INFO] running `Command { std: "docker" "start" "-a" "491ca855c2a9aa0e061af1d4e9ca2d0c0089a4955e72f8d61278c8c616cefa98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "491ca855c2a9aa0e061af1d4e9ca2d0c0089a4955e72f8d61278c8c616cefa98", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "491ca855c2a9aa0e061af1d4e9ca2d0c0089a4955e72f8d61278c8c616cefa98", kill_on_drop: false }`
[INFO] [stdout] 491ca855c2a9aa0e061af1d4e9ca2d0c0089a4955e72f8d61278c8c616cefa98
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c79a891f7118926e9bf8abb5f902a9d234c53131409bf5c02879b908f948f283
[INFO] running `Command { std: "docker" "start" "-a" "c79a891f7118926e9bf8abb5f902a9d234c53131409bf5c02879b908f948f283", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling cesu8 v1.1.0
[INFO] [stderr]    Compiling rangemap v1.6.0
[INFO] [stderr]    Compiling nom v8.0.0
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]    Compiling smali v0.3.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused macro definition: `err`
[INFO] [stdout]  --> src/dex/error.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | macro_rules! err {
[INFO] [stdout]   |              ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/dex/dex_file.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use log::{error, info, warn};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/dex/opcode_format.rs:694:29
[INFO] [stdout]     |
[INFO] [stdout] 694 |                 if let Some(id) = code.get(tgt) {
[INFO] [stdout]     |                             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `label`
[INFO] [stdout]    --> src/dex/opcode_format.rs:709:21
[INFO] [stdout]     |
[INFO] [stdout] 709 |                 let label = labels.entry(tgt).or_insert_with(|| {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_label`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEX_FILE_MAGIC` is never used
[INFO] [stdout]   --> src/dex/dex_file.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const DEX_FILE_MAGIC: [u8; 8] = [ 0x64, 0x65, 0x78, 0x0a, 0x30, 0x33, 0x39, 0x00 ];
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ENDIAN_CONSTANT` is never used
[INFO] [stdout]   --> src/dex/dex_file.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub const ENDIAN_CONSTANT: u32 = 0x12345678;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REVERSE_ENDIAN_CONSTANT` is never used
[INFO] [stdout]   --> src/dex/dex_file.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const REVERSE_ENDIAN_CONSTANT: u32 = 0x78563412;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tries_size` and `padding` are never read
[INFO] [stdout]    --> src/dex/dex_file.rs:296:5
[INFO] [stdout]     |
[INFO] [stdout] 291 | pub struct CodeItem
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 296 |     tries_size: u16,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 299 |     padding: u16,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CodeItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_sleb128` is never used
[INFO] [stdout]   --> src/dex/leb.rs:52:15
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub(crate) fn encode_sleb128(value: i32) -> Vec<u8> {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_sleb128` is never used
[INFO] [stdout]   --> src/dex/leb.rs:76:15
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub(crate) fn decode_sleb128(encoded: &[u8]) -> (i32, usize) 
[INFO] [stdout]    |               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write` is never used
[INFO] [stdout]   --> src/dex/annotations.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl AnnotationItem {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn write(&self, bytes: &mut Vec<u8>) -> usize {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write` is never used
[INFO] [stdout]   --> src/dex/annotations.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl AnnotationSetItem {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn write(&self, bytes: &mut Vec<u8>) -> usize {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write` is never used
[INFO] [stdout]   --> src/dex/annotations.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 77 | impl AnnotationSetRefList {
[INFO] [stdout]    | ------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn write(&self, bytes: &mut Vec<u8>) -> usize {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PlaceholderResolver` is never constructed
[INFO] [stdout]   --> src/dex/opcode_format.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct PlaceholderResolver;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `reference_type2` and `flags` are never read
[INFO] [stdout]    --> src/dex/opcode_format.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub struct Opcode {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub reference_type2: Option<ReferenceType>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 120 |     pub format: Format,
[INFO] [stdout] 121 |     pub flags: OpcodeFlags,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/dex/opcode_format.rs:268:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl Opcode {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 268 |     pub fn can_throw(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 273 |     pub fn odex_only(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     pub fn can_continue(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 283 |     pub fn sets_result(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 288 |     pub fn sets_register(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 293 |     pub fn sets_wide_register(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub fn is_quick_field_accessor(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 303 |     pub fn is_volatile_field_accessor(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 308 |     pub fn is_static_field_accessor(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 313 |     pub fn is_jumbo_opcode(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 318 |     pub fn can_initialize_reference(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnresolvedOdexInstruction` is never constructed
[INFO] [stdout]    --> src/dex/opcode_format.rs:373:5
[INFO] [stdout]     |
[INFO] [stdout] 336 | pub enum Format {
[INFO] [stdout]     |          ------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 373 |     UnresolvedOdexInstruction,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Format` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_payload_format` is never used
[INFO] [stdout]    --> src/dex/opcode_format.rs:431:18
[INFO] [stdout]     |
[INFO] [stdout] 376 | impl Format {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 431 |     pub const fn is_payload_format(&self) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u16_at_opt` is never used
[INFO] [stdout]    --> src/dex/opcode_format.rs:442:4
[INFO] [stdout]     |
[INFO] [stdout] 442 | fn u16_at_opt(code: &[u16], pc: usize) -> Option<u16> { code.get(pc).copied() }
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_with_resolver` is never used
[INFO] [stdout]     --> src/dex/opcode_format.rs:1676:8
[INFO] [stdout]      |
[INFO] [stdout] 1676 | pub fn decode_with_resolver(
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode` is never used
[INFO] [stdout]     --> src/dex/opcode_format.rs:1685:8
[INFO] [stdout]      |
[INFO] [stdout] 1685 | pub fn decode(bytecode: &[u8], api:i32, art_version: i32) -> Result<Vec<SmaliOp>, DexError> {
[INFO] [stdout]      |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.30s
[INFO] running `Command { std: "docker" "inspect" "c79a891f7118926e9bf8abb5f902a9d234c53131409bf5c02879b908f948f283", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c79a891f7118926e9bf8abb5f902a9d234c53131409bf5c02879b908f948f283", kill_on_drop: false }`
[INFO] [stdout] c79a891f7118926e9bf8abb5f902a9d234c53131409bf5c02879b908f948f283
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ced274bb3dca0b39ecb12d81419a8878b5ea64e640025e7b88dab25c66b5f35c
[INFO] running `Command { std: "docker" "start" "-a" "ced274bb3dca0b39ecb12d81419a8878b5ea64e640025e7b88dab25c66b5f35c", kill_on_drop: false }`
[INFO] [stdout] warning: unused macro definition: `err`
[INFO] [stdout]  --> src/dex/error.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | macro_rules! err {
[INFO] [stdout]   |              ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/dex/dex_file.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use log::{error, info, warn};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/dex/opcode_format.rs:694:29
[INFO] [stdout]     |
[INFO] [stdout] 694 |                 if let Some(id) = code.get(tgt) {
[INFO] [stdout]     |                             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `label`
[INFO] [stdout]    --> src/dex/opcode_format.rs:709:21
[INFO] [stdout]     |
[INFO] [stdout] 709 |                 let label = labels.entry(tgt).or_insert_with(|| {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_label`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEX_FILE_MAGIC` is never used
[INFO] [stdout]   --> src/dex/dex_file.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const DEX_FILE_MAGIC: [u8; 8] = [ 0x64, 0x65, 0x78, 0x0a, 0x30, 0x33, 0x39, 0x00 ];
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ENDIAN_CONSTANT` is never used
[INFO] [stdout]   --> src/dex/dex_file.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub const ENDIAN_CONSTANT: u32 = 0x12345678;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REVERSE_ENDIAN_CONSTANT` is never used
[INFO] [stdout]   --> src/dex/dex_file.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const REVERSE_ENDIAN_CONSTANT: u32 = 0x78563412;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tries_size` and `padding` are never read
[INFO] [stdout]    --> src/dex/dex_file.rs:296:5
[INFO] [stdout]     |
[INFO] [stdout] 291 | pub struct CodeItem
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 296 |     tries_size: u16,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 299 |     padding: u16,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CodeItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encode_sleb128` is never used
[INFO] [stdout]   --> src/dex/leb.rs:52:15
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub(crate) fn encode_sleb128(value: i32) -> Vec<u8> {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_sleb128` is never used
[INFO] [stdout]   --> src/dex/leb.rs:76:15
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub(crate) fn decode_sleb128(encoded: &[u8]) -> (i32, usize) 
[INFO] [stdout]    |               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write` is never used
[INFO] [stdout]   --> src/dex/annotations.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl AnnotationItem {
[INFO] [stdout]    | ------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn write(&self, bytes: &mut Vec<u8>) -> usize {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write` is never used
[INFO] [stdout]   --> src/dex/annotations.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | impl AnnotationSetItem {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 61 |     pub fn write(&self, bytes: &mut Vec<u8>) -> usize {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling smali v0.3.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: method `write` is never used
[INFO] [stdout]   --> src/dex/annotations.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 77 | impl AnnotationSetRefList {
[INFO] [stdout]    | ------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn write(&self, bytes: &mut Vec<u8>) -> usize {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PlaceholderResolver` is never constructed
[INFO] [stdout]   --> src/dex/opcode_format.rs:54:12
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub struct PlaceholderResolver;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `reference_type2` and `flags` are never read
[INFO] [stdout]    --> src/dex/opcode_format.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub struct Opcode {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub reference_type2: Option<ReferenceType>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 120 |     pub format: Format,
[INFO] [stdout] 121 |     pub flags: OpcodeFlags,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/dex/opcode_format.rs:268:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl Opcode {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 268 |     pub fn can_throw(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 273 |     pub fn odex_only(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     pub fn can_continue(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 283 |     pub fn sets_result(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 288 |     pub fn sets_register(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 293 |     pub fn sets_wide_register(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub fn is_quick_field_accessor(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 303 |     pub fn is_volatile_field_accessor(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 308 |     pub fn is_static_field_accessor(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 313 |     pub fn is_jumbo_opcode(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 318 |     pub fn can_initialize_reference(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnresolvedOdexInstruction` is never constructed
[INFO] [stdout]    --> src/dex/opcode_format.rs:373:5
[INFO] [stdout]     |
[INFO] [stdout] 336 | pub enum Format {
[INFO] [stdout]     |          ------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 373 |     UnresolvedOdexInstruction,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Format` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_payload_format` is never used
[INFO] [stdout]    --> src/dex/opcode_format.rs:431:18
[INFO] [stdout]     |
[INFO] [stdout] 376 | impl Format {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 431 |     pub const fn is_payload_format(&self) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u16_at_opt` is never used
[INFO] [stdout]    --> src/dex/opcode_format.rs:442:4
[INFO] [stdout]     |
[INFO] [stdout] 442 | fn u16_at_opt(code: &[u16], pc: usize) -> Option<u16> { code.get(pc).copied() }
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_with_resolver` is never used
[INFO] [stdout]     --> src/dex/opcode_format.rs:1676:8
[INFO] [stdout]      |
[INFO] [stdout] 1676 | pub fn decode_with_resolver(
[INFO] [stdout]      |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode` is never used
[INFO] [stdout]     --> src/dex/opcode_format.rs:1685:8
[INFO] [stdout]      |
[INFO] [stdout] 1685 | pub fn decode(bytecode: &[u8], api:i32, art_version: i32) -> Result<Vec<SmaliOp>, DexError> {
[INFO] [stdout]      |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused macro definition: `err`
[INFO] [stdout]  --> src/dex/error.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | macro_rules! err {
[INFO] [stdout]   |              ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/dex/dex_file.rs:7:18
[INFO] [stdout]   |
[INFO] [stdout] 7 | use log::{error, info, warn};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `smali`
[INFO] [stdout]     --> src/dex/dex_file.rs:1492:13
[INFO] [stdout]      |
[INFO] [stdout] 1492 |         let smali = dex.to_smali().expect("Failed to generate smali");
[INFO] [stdout]      |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_smali`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/dex/opcode_format.rs:694:29
[INFO] [stdout]     |
[INFO] [stdout] 694 |                 if let Some(id) = code.get(tgt) {
[INFO] [stdout]     |                             ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `label`
[INFO] [stdout]    --> src/dex/opcode_format.rs:709:21
[INFO] [stdout]     |
[INFO] [stdout] 709 |                 let label = labels.entry(tgt).or_insert_with(|| {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_label`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEX_FILE_MAGIC` is never used
[INFO] [stdout]   --> src/dex/dex_file.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub const DEX_FILE_MAGIC: [u8; 8] = [ 0x64, 0x65, 0x78, 0x0a, 0x30, 0x33, 0x39, 0x00 ];
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ENDIAN_CONSTANT` is never used
[INFO] [stdout]   --> src/dex/dex_file.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub const ENDIAN_CONSTANT: u32 = 0x12345678;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `REVERSE_ENDIAN_CONSTANT` is never used
[INFO] [stdout]   --> src/dex/dex_file.rs:18:11
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub const REVERSE_ENDIAN_CONSTANT: u32 = 0x78563412;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `tries_size` and `padding` are never read
[INFO] [stdout]    --> src/dex/dex_file.rs:296:5
[INFO] [stdout]     |
[INFO] [stdout] 291 | pub struct CodeItem
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 296 |     tries_size: u16,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 299 |     padding: u16,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CodeItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write` is never used
[INFO] [stdout]   --> src/dex/annotations.rs:87:12
[INFO] [stdout]    |
[INFO] [stdout] 77 | impl AnnotationSetRefList {
[INFO] [stdout]    | ------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 87 |     pub fn write(&self, bytes: &mut Vec<u8>) -> usize {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `reference_type2` and `flags` are never read
[INFO] [stdout]    --> src/dex/opcode_format.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 116 | pub struct Opcode {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 119 |     pub reference_type2: Option<ReferenceType>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 120 |     pub format: Format,
[INFO] [stdout] 121 |     pub flags: OpcodeFlags,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/dex/opcode_format.rs:268:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl Opcode {
[INFO] [stdout]     | ----------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 268 |     pub fn can_throw(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 273 |     pub fn odex_only(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 278 |     pub fn can_continue(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 283 |     pub fn sets_result(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 288 |     pub fn sets_register(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 293 |     pub fn sets_wide_register(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 298 |     pub fn is_quick_field_accessor(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 303 |     pub fn is_volatile_field_accessor(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 308 |     pub fn is_static_field_accessor(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 313 |     pub fn is_jumbo_opcode(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 318 |     pub fn can_initialize_reference(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnresolvedOdexInstruction` is never constructed
[INFO] [stdout]    --> src/dex/opcode_format.rs:373:5
[INFO] [stdout]     |
[INFO] [stdout] 336 | pub enum Format {
[INFO] [stdout]     |          ------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 373 |     UnresolvedOdexInstruction,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Format` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_payload_format` is never used
[INFO] [stdout]    --> src/dex/opcode_format.rs:431:18
[INFO] [stdout]     |
[INFO] [stdout] 376 | impl Format {
[INFO] [stdout]     | ----------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 431 |     pub const fn is_payload_format(&self) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `u16_at_opt` is never used
[INFO] [stdout]    --> src/dex/opcode_format.rs:442:4
[INFO] [stdout]     |
[INFO] [stdout] 442 | fn u16_at_opt(code: &[u16], pc: usize) -> Option<u16> { code.get(pc).copied() }
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.08s
[INFO] running `Command { std: "docker" "inspect" "ced274bb3dca0b39ecb12d81419a8878b5ea64e640025e7b88dab25c66b5f35c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ced274bb3dca0b39ecb12d81419a8878b5ea64e640025e7b88dab25c66b5f35c", kill_on_drop: false }`
[INFO] [stdout] ced274bb3dca0b39ecb12d81419a8878b5ea64e640025e7b88dab25c66b5f35c
