[INFO] cloning repository https://github.com/jaqxues/dex_tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jaqxues/dex_tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaqxues%2Fdex_tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaqxues%2Fdex_tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1513ee78189fbfea91c1792618ad1369c051c9a [INFO] testing jaqxues/dex_tool against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjaqxues%2Fdex_tool" "/workspace/builds/worker-86/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-86/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jaqxues/dex_tool on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jaqxues/dex_tool [INFO] finished tweaking git repo https://github.com/jaqxues/dex_tool [INFO] tweaked toml for git repo https://github.com/jaqxues/dex_tool written to /workspace/builds/worker-86/source/Cargo.toml [INFO] crate git repo https://github.com/jaqxues/dex_tool already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3739e68efc69d6fea21492aa1f2151450fbf45b61ef6e62bf50b91bc1d6d99e9 [INFO] running `Command { std: "docker" "start" "-a" "3739e68efc69d6fea21492aa1f2151450fbf45b61ef6e62bf50b91bc1d6d99e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3739e68efc69d6fea21492aa1f2151450fbf45b61ef6e62bf50b91bc1d6d99e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3739e68efc69d6fea21492aa1f2151450fbf45b61ef6e62bf50b91bc1d6d99e9", kill_on_drop: false }` [INFO] [stdout] 3739e68efc69d6fea21492aa1f2151450fbf45b61ef6e62bf50b91bc1d6d99e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 301b787241834e3a660c2655c9f5136c1ade342cd97a8d0f4230a08ef3c3d9d3 [INFO] running `Command { std: "docker" "start" "-a" "301b787241834e3a660c2655c9f5136c1ade342cd97a8d0f4230a08ef3c3d9d3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling leb128 v0.2.4 [INFO] [stderr] Compiling scroll v0.10.2 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling dex_tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Context` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read` [INFO] [stdout] --> src/raw_dex.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{File, read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::raw_dex::EncodedValue::Boolean` [INFO] [stdout] --> src/raw_dex.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::raw_dex::EncodedValue::Boolean; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/raw_dex.rs:154:54 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn parse_call_side_item(map_list: &Vec, reader: &mut BufReader) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raw_dex.rs:813:13 [INFO] [stdout] | [INFO] [stdout] 813 | let mut offset = &mut 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raw_dex.rs:837:13 [INFO] [stdout] | [INFO] [stdout] 837 | let mut offset = &mut 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_u8` [INFO] [stdout] --> src/raw_dex.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn read_u8(reader: &mut dyn Read, buf: &mut [u8; 1]) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_string_ids` [INFO] [stdout] --> src/raw_dex.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn parse_string_ids(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_string_data` [INFO] [stdout] --> src/raw_dex.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn parse_string_data(string_data_offs: Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_type_ids` [INFO] [stdout] --> src/raw_dex.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn parse_type_ids(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_proto_ids` [INFO] [stdout] --> src/raw_dex.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn parse_proto_ids(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_field_ids` [INFO] [stdout] --> src/raw_dex.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn parse_field_ids(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_method_ids` [INFO] [stdout] --> src/raw_dex.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn parse_method_ids(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_class_defs` [INFO] [stdout] --> src/raw_dex.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_class_defs(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_call_side_ids` [INFO] [stdout] --> src/raw_dex.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn parse_call_side_ids(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_call_side_item` [INFO] [stdout] --> src/raw_dex.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn parse_call_side_item(map_list: &Vec, reader: &mut BufReader) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_method_handles` [INFO] [stdout] --> src/raw_dex.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn parse_method_handles(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_class_data` [INFO] [stdout] --> src/raw_dex.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn parse_class_data(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_type_lists` [INFO] [stdout] --> src/raw_dex.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn parse_type_lists(map_list: &Vec, reader: &mut BufReader) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_code_items` [INFO] [stdout] --> src/raw_dex.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn parse_code_items(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_debug_info` [INFO] [stdout] --> src/raw_dex.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn parse_debug_info(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_annotations_directories` [INFO] [stdout] --> src/raw_dex.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn parse_annotations_directories(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_annotation_set_ref_list` [INFO] [stdout] --> src/raw_dex.rs:471:8 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn parse_annotation_set_ref_list(map_list: &Vec, reader: &mut BufReader) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_annotation_set_item` [INFO] [stdout] --> src/raw_dex.rs:487:8 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn parse_annotation_set_item(map_list: &Vec, reader: &mut BufReader) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_annotation_item` [INFO] [stdout] --> src/raw_dex.rs:503:8 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn parse_annotation_item(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_reader` [INFO] [stdout] --> src/raw_dex.rs:524:8 [INFO] [stdout] | [INFO] [stdout] 524 | fn from_reader(reader: &mut BufReader) -> EncodedAnnotation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_hiddenapi_class_data` [INFO] [stdout] --> src/raw_dex.rs:543:8 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn parse_hiddenapi_class_data(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Byte` [INFO] [stdout] --> src/raw_dex.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | Byte(u8), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Short` [INFO] [stdout] --> src/raw_dex.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | Short(i16), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Char` [INFO] [stdout] --> src/raw_dex.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 578 | Char(u16), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Int` [INFO] [stdout] --> src/raw_dex.rs:579:5 [INFO] [stdout] | [INFO] [stdout] 579 | Int(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Long` [INFO] [stdout] --> src/raw_dex.rs:580:5 [INFO] [stdout] | [INFO] [stdout] 580 | Long(i64), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Float` [INFO] [stdout] --> src/raw_dex.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | Float(f32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Double` [INFO] [stdout] --> src/raw_dex.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | Double(f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `MethodType` [INFO] [stdout] --> src/raw_dex.rs:583:5 [INFO] [stdout] | [INFO] [stdout] 583 | MethodType(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `MethodHandle` [INFO] [stdout] --> src/raw_dex.rs:584:5 [INFO] [stdout] | [INFO] [stdout] 584 | MethodHandle(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `String` [INFO] [stdout] --> src/raw_dex.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 585 | String(u32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Type` [INFO] [stdout] --> src/raw_dex.rs:586:5 [INFO] [stdout] | [INFO] [stdout] 586 | Type(u32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Field` [INFO] [stdout] --> src/raw_dex.rs:587:5 [INFO] [stdout] | [INFO] [stdout] 587 | Field(u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Method` [INFO] [stdout] --> src/raw_dex.rs:588:5 [INFO] [stdout] | [INFO] [stdout] 588 | Method(u32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Enum` [INFO] [stdout] --> src/raw_dex.rs:589:5 [INFO] [stdout] | [INFO] [stdout] 589 | Enum(u32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Array` [INFO] [stdout] --> src/raw_dex.rs:590:5 [INFO] [stdout] | [INFO] [stdout] 590 | Array(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Annotation` [INFO] [stdout] --> src/raw_dex.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 591 | Annotation(EncodedAnnotation), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Null` [INFO] [stdout] --> src/raw_dex.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 592 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Boolean` [INFO] [stdout] --> src/raw_dex.rs:593:5 [INFO] [stdout] | [INFO] [stdout] 593 | Boolean(bool), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: `from_reader` [INFO] [stdout] --> src/raw_dex.rs:597:12 [INFO] [stdout] | [INFO] [stdout] 597 | pub fn from_reader(reader: &mut BufReader) -> EncodedValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `StringData` [INFO] [stdout] --> src/raw_dex.rs:848:8 [INFO] [stdout] | [INFO] [stdout] 848 | struct StringData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VisibilityBuild` [INFO] [stdout] --> src/raw_dex.rs:984:5 [INFO] [stdout] | [INFO] [stdout] 984 | VisibilityBuild, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Visibility` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:982:10 [INFO] [stdout] | [INFO] [stdout] 982 | #[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: variant is never constructed: `VisibilityRuntime` [INFO] [stdout] --> src/raw_dex.rs:985:5 [INFO] [stdout] | [INFO] [stdout] 985 | VisibilityRuntime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Visibility` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:982:10 [INFO] [stdout] | [INFO] [stdout] 982 | #[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: variant is never constructed: `VisibilitySystem` [INFO] [stdout] --> src/raw_dex.rs:986:5 [INFO] [stdout] | [INFO] [stdout] 986 | VisibilitySystem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Visibility` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:982:10 [INFO] [stdout] | [INFO] [stdout] 982 | #[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: `find_type_in_map` [INFO] [stdout] --> src/raw_dex.rs:1034:8 [INFO] [stdout] | [INFO] [stdout] 1034 | pub fn find_type_in_map(map_list: &Vec, item_type: u16) -> Option<&MapItem> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadByte` [INFO] [stdout] --> src/m_utf8.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | BadByte, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MUTF8Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/m_utf8.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[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: variant is never constructed: `BadSecondByte` [INFO] [stdout] --> src/m_utf8.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | BadSecondByte, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MUTF8Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/m_utf8.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[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: variant is never constructed: `BadSecondThirdByte` [INFO] [stdout] --> src/m_utf8.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | BadSecondThirdByte, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MUTF8Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/m_utf8.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[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: `to_string` [INFO] [stdout] --> src/m_utf8.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_string(reader: &mut BufReader, size: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.25s [INFO] running `Command { std: "docker" "inspect" "301b787241834e3a660c2655c9f5136c1ade342cd97a8d0f4230a08ef3c3d9d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "301b787241834e3a660c2655c9f5136c1ade342cd97a8d0f4230a08ef3c3d9d3", kill_on_drop: false }` [INFO] [stdout] 301b787241834e3a660c2655c9f5136c1ade342cd97a8d0f4230a08ef3c3d9d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89b29f1d3c7c1f6f1626a5b154cfd0e4043210f9d66bb0667cea8657471c5c0f [INFO] running `Command { std: "docker" "start" "-a" "89b29f1d3c7c1f6f1626a5b154cfd0e4043210f9d66bb0667cea8657471c5c0f", kill_on_drop: false }` [INFO] [stderr] Compiling dex_tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::task::Context` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::task::Context; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `read` [INFO] [stdout] --> src/raw_dex.rs:2:21 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{File, read}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::raw_dex::EncodedValue::Boolean` [INFO] [stdout] --> src/raw_dex.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::raw_dex::EncodedValue::Boolean; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reader` [INFO] [stdout] --> src/raw_dex.rs:154:54 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn parse_call_side_item(map_list: &Vec, reader: &mut BufReader) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raw_dex.rs:813:13 [INFO] [stdout] | [INFO] [stdout] 813 | let mut offset = &mut 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raw_dex.rs:837:13 [INFO] [stdout] | [INFO] [stdout] 837 | let mut offset = &mut 0; [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_u8` [INFO] [stdout] --> src/raw_dex.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn read_u8(reader: &mut dyn Read, buf: &mut [u8; 1]) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_string_ids` [INFO] [stdout] --> src/raw_dex.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn parse_string_ids(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_string_data` [INFO] [stdout] --> src/raw_dex.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn parse_string_data(string_data_offs: Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_type_ids` [INFO] [stdout] --> src/raw_dex.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn parse_type_ids(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_proto_ids` [INFO] [stdout] --> src/raw_dex.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn parse_proto_ids(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_field_ids` [INFO] [stdout] --> src/raw_dex.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn parse_field_ids(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_method_ids` [INFO] [stdout] --> src/raw_dex.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn parse_method_ids(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_class_defs` [INFO] [stdout] --> src/raw_dex.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn parse_class_defs(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_call_side_ids` [INFO] [stdout] --> src/raw_dex.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn parse_call_side_ids(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_call_side_item` [INFO] [stdout] --> src/raw_dex.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn parse_call_side_item(map_list: &Vec, reader: &mut BufReader) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_method_handles` [INFO] [stdout] --> src/raw_dex.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | pub fn parse_method_handles(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_class_data` [INFO] [stdout] --> src/raw_dex.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn parse_class_data(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_type_lists` [INFO] [stdout] --> src/raw_dex.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn parse_type_lists(map_list: &Vec, reader: &mut BufReader) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_code_items` [INFO] [stdout] --> src/raw_dex.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 307 | pub fn parse_code_items(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_debug_info` [INFO] [stdout] --> src/raw_dex.rs:387:8 [INFO] [stdout] | [INFO] [stdout] 387 | pub fn parse_debug_info(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_annotations_directories` [INFO] [stdout] --> src/raw_dex.rs:423:8 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn parse_annotations_directories(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_annotation_set_ref_list` [INFO] [stdout] --> src/raw_dex.rs:471:8 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn parse_annotation_set_ref_list(map_list: &Vec, reader: &mut BufReader) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_annotation_set_item` [INFO] [stdout] --> src/raw_dex.rs:487:8 [INFO] [stdout] | [INFO] [stdout] 487 | pub fn parse_annotation_set_item(map_list: &Vec, reader: &mut BufReader) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_annotation_item` [INFO] [stdout] --> src/raw_dex.rs:503:8 [INFO] [stdout] | [INFO] [stdout] 503 | pub fn parse_annotation_item(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_reader` [INFO] [stdout] --> src/raw_dex.rs:524:8 [INFO] [stdout] | [INFO] [stdout] 524 | fn from_reader(reader: &mut BufReader) -> EncodedAnnotation { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_hiddenapi_class_data` [INFO] [stdout] --> src/raw_dex.rs:543:8 [INFO] [stdout] | [INFO] [stdout] 543 | pub fn parse_hiddenapi_class_data(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Byte` [INFO] [stdout] --> src/raw_dex.rs:576:5 [INFO] [stdout] | [INFO] [stdout] 576 | Byte(u8), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Short` [INFO] [stdout] --> src/raw_dex.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | Short(i16), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Char` [INFO] [stdout] --> src/raw_dex.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 578 | Char(u16), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Int` [INFO] [stdout] --> src/raw_dex.rs:579:5 [INFO] [stdout] | [INFO] [stdout] 579 | Int(i32), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Long` [INFO] [stdout] --> src/raw_dex.rs:580:5 [INFO] [stdout] | [INFO] [stdout] 580 | Long(i64), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Float` [INFO] [stdout] --> src/raw_dex.rs:581:5 [INFO] [stdout] | [INFO] [stdout] 581 | Float(f32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Double` [INFO] [stdout] --> src/raw_dex.rs:582:5 [INFO] [stdout] | [INFO] [stdout] 582 | Double(f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `MethodType` [INFO] [stdout] --> src/raw_dex.rs:583:5 [INFO] [stdout] | [INFO] [stdout] 583 | MethodType(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `MethodHandle` [INFO] [stdout] --> src/raw_dex.rs:584:5 [INFO] [stdout] | [INFO] [stdout] 584 | MethodHandle(u32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `String` [INFO] [stdout] --> src/raw_dex.rs:585:5 [INFO] [stdout] | [INFO] [stdout] 585 | String(u32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Type` [INFO] [stdout] --> src/raw_dex.rs:586:5 [INFO] [stdout] | [INFO] [stdout] 586 | Type(u32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Field` [INFO] [stdout] --> src/raw_dex.rs:587:5 [INFO] [stdout] | [INFO] [stdout] 587 | Field(u32), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Method` [INFO] [stdout] --> src/raw_dex.rs:588:5 [INFO] [stdout] | [INFO] [stdout] 588 | Method(u32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Enum` [INFO] [stdout] --> src/raw_dex.rs:589:5 [INFO] [stdout] | [INFO] [stdout] 589 | Enum(u32), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Array` [INFO] [stdout] --> src/raw_dex.rs:590:5 [INFO] [stdout] | [INFO] [stdout] 590 | Array(Vec), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Annotation` [INFO] [stdout] --> src/raw_dex.rs:591:5 [INFO] [stdout] | [INFO] [stdout] 591 | Annotation(EncodedAnnotation), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Null` [INFO] [stdout] --> src/raw_dex.rs:592:5 [INFO] [stdout] | [INFO] [stdout] 592 | Null, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: variant is never constructed: `Boolean` [INFO] [stdout] --> src/raw_dex.rs:593:5 [INFO] [stdout] | [INFO] [stdout] 593 | Boolean(bool), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:574:10 [INFO] [stdout] | [INFO] [stdout] 574 | #[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: `from_reader` [INFO] [stdout] --> src/raw_dex.rs:597:12 [INFO] [stdout] | [INFO] [stdout] 597 | pub fn from_reader(reader: &mut BufReader) -> EncodedValue { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `StringData` [INFO] [stdout] --> src/raw_dex.rs:848:8 [INFO] [stdout] | [INFO] [stdout] 848 | struct StringData { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `VisibilityBuild` [INFO] [stdout] --> src/raw_dex.rs:984:5 [INFO] [stdout] | [INFO] [stdout] 984 | VisibilityBuild, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Visibility` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:982:10 [INFO] [stdout] | [INFO] [stdout] 982 | #[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: variant is never constructed: `VisibilityRuntime` [INFO] [stdout] --> src/raw_dex.rs:985:5 [INFO] [stdout] | [INFO] [stdout] 985 | VisibilityRuntime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Visibility` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:982:10 [INFO] [stdout] | [INFO] [stdout] 982 | #[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: variant is never constructed: `VisibilitySystem` [INFO] [stdout] --> src/raw_dex.rs:986:5 [INFO] [stdout] | [INFO] [stdout] 986 | VisibilitySystem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Visibility` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/raw_dex.rs:982:10 [INFO] [stdout] | [INFO] [stdout] 982 | #[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: `find_type_in_map` [INFO] [stdout] --> src/raw_dex.rs:1034:8 [INFO] [stdout] | [INFO] [stdout] 1034 | pub fn find_type_in_map(map_list: &Vec, item_type: u16) -> Option<&MapItem> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadByte` [INFO] [stdout] --> src/m_utf8.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | BadByte, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MUTF8Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/m_utf8.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[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: variant is never constructed: `BadSecondByte` [INFO] [stdout] --> src/m_utf8.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | BadSecondByte, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MUTF8Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/m_utf8.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[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: variant is never constructed: `BadSecondThirdByte` [INFO] [stdout] --> src/m_utf8.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | BadSecondThirdByte, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `MUTF8Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/m_utf8.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[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: `to_string` [INFO] [stdout] --> src/m_utf8.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn to_string(reader: &mut BufReader, size: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 56 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.56s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/dex_tool-63463c417c889eb3) [INFO] running `Command { std: "docker" "inspect" "89b29f1d3c7c1f6f1626a5b154cfd0e4043210f9d66bb0667cea8657471c5c0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89b29f1d3c7c1f6f1626a5b154cfd0e4043210f9d66bb0667cea8657471c5c0f", kill_on_drop: false }` [INFO] [stdout] 89b29f1d3c7c1f6f1626a5b154cfd0e4043210f9d66bb0667cea8657471c5c0f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bee9f1fa6f5f6bf232be650b21c776092bfb5ef8e88d05bdc208704480f8e938 [INFO] running `Command { std: "docker" "start" "-a" "bee9f1fa6f5f6bf232be650b21c776092bfb5ef8e88d05bdc208704480f8e938", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::io::BufReader` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::io::BufReader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::task::Context` [INFO] [stderr] --> src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::task::Context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `read` [INFO] [stderr] --> src/raw_dex.rs:2:21 [INFO] [stderr] | [INFO] [stderr] 2 | use std::fs::{File, read}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::raw_dex::EncodedValue::Boolean` [INFO] [stderr] --> src/raw_dex.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::raw_dex::EncodedValue::Boolean; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reader` [INFO] [stderr] --> src/raw_dex.rs:154:54 [INFO] [stderr] | [INFO] [stderr] 154 | pub fn parse_call_side_item(map_list: &Vec, reader: &mut BufReader) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reader` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/raw_dex.rs:813:13 [INFO] [stderr] | [INFO] [stderr] 813 | let mut offset = &mut 0; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/raw_dex.rs:837:13 [INFO] [stderr] | [INFO] [stderr] 837 | let mut offset = &mut 0; [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `read_u8` [INFO] [stderr] --> src/raw_dex.rs:20:8 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn read_u8(reader: &mut dyn Read, buf: &mut [u8; 1]) -> u8 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_string_ids` [INFO] [stderr] --> src/raw_dex.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn parse_string_ids(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_string_data` [INFO] [stderr] --> src/raw_dex.rs:47:8 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn parse_string_data(string_data_offs: Vec, reader: &mut BufReader) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_type_ids` [INFO] [stderr] --> src/raw_dex.rs:68:8 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn parse_type_ids(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_proto_ids` [INFO] [stderr] --> src/raw_dex.rs:78:8 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn parse_proto_ids(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_field_ids` [INFO] [stderr] --> src/raw_dex.rs:92:8 [INFO] [stderr] | [INFO] [stderr] 92 | pub fn parse_field_ids(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_method_ids` [INFO] [stderr] --> src/raw_dex.rs:106:8 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn parse_method_ids(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_class_defs` [INFO] [stderr] --> src/raw_dex.rs:120:8 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn parse_class_defs(dex_header: &DexHeader, reader: &mut BufReader) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_call_side_ids` [INFO] [stderr] --> src/raw_dex.rs:140:8 [INFO] [stderr] | [INFO] [stderr] 140 | pub fn parse_call_side_ids(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_call_side_item` [INFO] [stderr] --> src/raw_dex.rs:154:8 [INFO] [stderr] | [INFO] [stderr] 154 | pub fn parse_call_side_item(map_list: &Vec, reader: &mut BufReader) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_method_handles` [INFO] [stderr] --> src/raw_dex.rs:216:8 [INFO] [stderr] | [INFO] [stderr] 216 | pub fn parse_method_handles(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_class_data` [INFO] [stderr] --> src/raw_dex.rs:238:8 [INFO] [stderr] | [INFO] [stderr] 238 | pub fn parse_class_data(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_type_lists` [INFO] [stderr] --> src/raw_dex.rs:287:8 [INFO] [stderr] | [INFO] [stderr] 287 | pub fn parse_type_lists(map_list: &Vec, reader: &mut BufReader) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_code_items` [INFO] [stderr] --> src/raw_dex.rs:307:8 [INFO] [stderr] | [INFO] [stderr] 307 | pub fn parse_code_items(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_debug_info` [INFO] [stderr] --> src/raw_dex.rs:387:8 [INFO] [stderr] | [INFO] [stderr] 387 | pub fn parse_debug_info(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_annotations_directories` [INFO] [stderr] --> src/raw_dex.rs:423:8 [INFO] [stderr] | [INFO] [stderr] 423 | pub fn parse_annotations_directories(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_annotation_set_ref_list` [INFO] [stderr] --> src/raw_dex.rs:471:8 [INFO] [stderr] | [INFO] [stderr] 471 | pub fn parse_annotation_set_ref_list(map_list: &Vec, reader: &mut BufReader) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_annotation_set_item` [INFO] [stderr] --> src/raw_dex.rs:487:8 [INFO] [stderr] | [INFO] [stderr] 487 | pub fn parse_annotation_set_item(map_list: &Vec, reader: &mut BufReader) -> Vec> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_annotation_item` [INFO] [stderr] --> src/raw_dex.rs:503:8 [INFO] [stderr] | [INFO] [stderr] 503 | pub fn parse_annotation_item(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `from_reader` [INFO] [stderr] --> src/raw_dex.rs:524:8 [INFO] [stderr] | [INFO] [stderr] 524 | fn from_reader(reader: &mut BufReader) -> EncodedAnnotation { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `parse_hiddenapi_class_data` [INFO] [stderr] --> src/raw_dex.rs:543:8 [INFO] [stderr] | [INFO] [stderr] 543 | pub fn parse_hiddenapi_class_data(map_list: &Vec, reader: &mut BufReader) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Byte` [INFO] [stderr] --> src/raw_dex.rs:576:5 [INFO] [stderr] | [INFO] [stderr] 576 | Byte(u8), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `Short` [INFO] [stderr] --> src/raw_dex.rs:577:5 [INFO] [stderr] | [INFO] [stderr] 577 | Short(i16), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `Char` [INFO] [stderr] --> src/raw_dex.rs:578:5 [INFO] [stderr] | [INFO] [stderr] 578 | Char(u16), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `Int` [INFO] [stderr] --> src/raw_dex.rs:579:5 [INFO] [stderr] | [INFO] [stderr] 579 | Int(i32), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `Long` [INFO] [stderr] --> src/raw_dex.rs:580:5 [INFO] [stderr] | [INFO] [stderr] 580 | Long(i64), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `Float` [INFO] [stderr] --> src/raw_dex.rs:581:5 [INFO] [stderr] | [INFO] [stderr] 581 | Float(f32), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `Double` [INFO] [stderr] --> src/raw_dex.rs:582:5 [INFO] [stderr] | [INFO] [stderr] 582 | Double(f64), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `MethodType` [INFO] [stderr] --> src/raw_dex.rs:583:5 [INFO] [stderr] | [INFO] [stderr] 583 | MethodType(u32), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `MethodHandle` [INFO] [stderr] --> src/raw_dex.rs:584:5 [INFO] [stderr] | [INFO] [stderr] 584 | MethodHandle(u32), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `String` [INFO] [stderr] --> src/raw_dex.rs:585:5 [INFO] [stderr] | [INFO] [stderr] 585 | String(u32), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `Type` [INFO] [stderr] --> src/raw_dex.rs:586:5 [INFO] [stderr] | [INFO] [stderr] 586 | Type(u32), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `Field` [INFO] [stderr] --> src/raw_dex.rs:587:5 [INFO] [stderr] | [INFO] [stderr] 587 | Field(u32), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `Method` [INFO] [stderr] --> src/raw_dex.rs:588:5 [INFO] [stderr] | [INFO] [stderr] 588 | Method(u32), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `Enum` [INFO] [stderr] --> src/raw_dex.rs:589:5 [INFO] [stderr] | [INFO] [stderr] 589 | Enum(u32), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `Array` [INFO] [stderr] --> src/raw_dex.rs:590:5 [INFO] [stderr] | [INFO] [stderr] 590 | Array(Vec), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `Annotation` [INFO] [stderr] --> src/raw_dex.rs:591:5 [INFO] [stderr] | [INFO] [stderr] 591 | Annotation(EncodedAnnotation), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `Null` [INFO] [stderr] --> src/raw_dex.rs:592:5 [INFO] [stderr] | [INFO] [stderr] 592 | Null, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: variant is never constructed: `Boolean` [INFO] [stderr] --> src/raw_dex.rs:593:5 [INFO] [stderr] | [INFO] [stderr] 593 | Boolean(bool), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EncodedValue` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:574:10 [INFO] [stderr] | [INFO] [stderr] 574 | #[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: `from_reader` [INFO] [stderr] --> src/raw_dex.rs:597:12 [INFO] [stderr] | [INFO] [stderr] 597 | pub fn from_reader(reader: &mut BufReader) -> EncodedValue { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `StringData` [INFO] [stderr] --> src/raw_dex.rs:848:8 [INFO] [stderr] | [INFO] [stderr] 848 | struct StringData { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `VisibilityBuild` [INFO] [stderr] --> src/raw_dex.rs:984:5 [INFO] [stderr] | [INFO] [stderr] 984 | VisibilityBuild, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Visibility` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:982:10 [INFO] [stderr] | [INFO] [stderr] 982 | #[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: variant is never constructed: `VisibilityRuntime` [INFO] [stderr] --> src/raw_dex.rs:985:5 [INFO] [stderr] | [INFO] [stderr] 985 | VisibilityRuntime, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Visibility` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:982:10 [INFO] [stderr] | [INFO] [stderr] 982 | #[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: variant is never constructed: `VisibilitySystem` [INFO] [stderr] --> src/raw_dex.rs:986:5 [INFO] [stderr] | [INFO] [stderr] 986 | VisibilitySystem, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Visibility` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/raw_dex.rs:982:10 [INFO] [stderr] | [INFO] [stderr] 982 | #[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: `find_type_in_map` [INFO] [stderr] --> src/raw_dex.rs:1034:8 [INFO] [stderr] | [INFO] [stderr] 1034 | pub fn find_type_in_map(map_list: &Vec, item_type: u16) -> Option<&MapItem> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `BadByte` [INFO] [stderr] --> src/m_utf8.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | BadByte, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MUTF8Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/m_utf8.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[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: variant is never constructed: `BadSecondByte` [INFO] [stderr] --> src/m_utf8.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | BadSecondByte, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MUTF8Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/m_utf8.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[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: variant is never constructed: `BadSecondThirdByte` [INFO] [stderr] --> src/m_utf8.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | BadSecondThirdByte, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `MUTF8Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/m_utf8.rs:8:10 [INFO] [stderr] | [INFO] [stderr] 8 | #[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: `to_string` [INFO] [stderr] --> src/m_utf8.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn to_string(reader: &mut BufReader, size: u64) -> Result { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `dex_tool` (bin "dex_tool" test) generated 56 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/dex_tool-63463c417c889eb3) [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" "bee9f1fa6f5f6bf232be650b21c776092bfb5ef8e88d05bdc208704480f8e938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bee9f1fa6f5f6bf232be650b21c776092bfb5ef8e88d05bdc208704480f8e938", kill_on_drop: false }` [INFO] [stdout] bee9f1fa6f5f6bf232be650b21c776092bfb5ef8e88d05bdc208704480f8e938