[INFO] cloning repository https://github.com/sandin/apktools-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sandin/apktools-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandin%2Fapktools-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandin%2Fapktools-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7864cab6fa83f3d7b9d4f18ba6f20a32dfed2c28 [INFO] checking sandin/apktools-rs against try#ad93f57d532978d6739002a21bc66b45ed22f998 for pr-155418 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandin%2Fapktools-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sandin/apktools-rs [INFO] finished tweaking git repo https://github.com/sandin/apktools-rs [INFO] tweaked toml for git repo https://github.com/sandin/apktools-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sandin/apktools-rs on toolchain ad93f57d532978d6739002a21bc66b45ed22f998 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sandin/apktools-rs 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" "+ad93f57d532978d6739002a21bc66b45ed22f998" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 001378418ed8cbfeca921904e4319c35e6a63951ea3b238fc774735965820927 [INFO] running `Command { std: "docker" "start" "-a" "001378418ed8cbfeca921904e4319c35e6a63951ea3b238fc774735965820927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "001378418ed8cbfeca921904e4319c35e6a63951ea3b238fc774735965820927", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "001378418ed8cbfeca921904e4319c35e6a63951ea3b238fc774735965820927", kill_on_drop: false }` [INFO] [stdout] 001378418ed8cbfeca921904e4319c35e6a63951ea3b238fc774735965820927 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+ad93f57d532978d6739002a21bc66b45ed22f998" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 445c9909c90bbb694c48cdb575020c86db56ea0a8f52539b67b7bb0c2fd49591 [INFO] running `Command { std: "docker" "start" "-a" "445c9909c90bbb694c48cdb575020c86db56ea0a8f52539b67b7bb0c2fd49591", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Checking thiserror v1.0.25 [INFO] [stderr] Checking zip v0.5.13 [INFO] [stderr] Checking apktools v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `id_index` [INFO] [stdout] --> src/arsc.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let id_index = cursor.read_i16::().unwrap() as u64 & 0xFFFF - 1; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_id_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class_index` [INFO] [stdout] --> src/arsc.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let class_index = cursor.read_i16::().unwrap() as u64 & 0xFFFF - 1; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style_index` [INFO] [stdout] --> src/arsc.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let style_index = cursor.read_i16::().unwrap() as u64 & 0xFFFF - 1; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_style_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/arsc.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | for i in 0..attribute_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/arsc.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let namespace = cursor.read_i32::().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_value_size` [INFO] [stdout] --> src/arsc.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let type_value_size = cursor.read_i16::().unwrap() as u64 & 0xFFFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_value_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_size` [INFO] [stdout] --> src/arsc.rs:105:100 [INFO] [stdout] | [INFO] [stdout] 105 | ..., chunk_offset: u64, header_size: u64, chunk_size: u64) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/arsc.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | for i in 0..string_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `length` is never read [INFO] [stdout] --> src/arsc.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | length = ((length & 0x7FFF) << 8) | length2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 145 | length = cursor.read_i32::().unwrap(); [INFO] [stdout] | --------------------------------------------------- `length` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/arsc.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum ChunkType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | NULL = 0x0000, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | STRING_POOL = 0x0001, [INFO] [stdout] 11 | TABLE = 0x0002, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | XML = 0x0003, [INFO] [stdout] 13 | XML_START_NAMESPACE = 0x0100, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | XML_END_NAMESPACE = 0x0101, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | XML_START_ELEMENT = 0x0102, [INFO] [stdout] 16 | XML_END_ELEMENT = 0x0103, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | XML_CDATA = 0x0104, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | XML_RESOURCE_MAP = 0x0180, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | TABLE_PACKAGE = 0x0200, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | TABLE_TYPE = 0x0201, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | TABLE_TYPE_SPEC = 0x0202, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | TABLE_LIBRARY = 0x0203 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id_index` [INFO] [stdout] --> src/arsc.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let id_index = cursor.read_i16::().unwrap() as u64 & 0xFFFF - 1; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_id_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `class_index` [INFO] [stdout] --> src/arsc.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let class_index = cursor.read_i16::().unwrap() as u64 & 0xFFFF - 1; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_class_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `style_index` [INFO] [stdout] --> src/arsc.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | let style_index = cursor.read_i16::().unwrap() as u64 & 0xFFFF - 1; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_style_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/arsc.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | for i in 0..attribute_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `namespace` [INFO] [stdout] --> src/arsc.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let namespace = cursor.read_i32::().unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_namespace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_value_size` [INFO] [stdout] --> src/arsc.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | let type_value_size = cursor.read_i16::().unwrap() as u64 & 0xFFFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_type_value_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header_size` [INFO] [stdout] --> src/arsc.rs:105:100 [INFO] [stdout] | [INFO] [stdout] 105 | ..., chunk_offset: u64, header_size: u64, chunk_size: u64) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_header_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/arsc.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | for i in 0..string_count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `length` is never read [INFO] [stdout] --> src/arsc.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | length = ((length & 0x7FFF) << 8) | length2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] ... [INFO] [stdout] 145 | length = cursor.read_i32::().unwrap(); [INFO] [stdout] | --------------------------------------------------- `length` is overwritten here before the previous value is read [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/arsc.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum ChunkType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 9 | NULL = 0x0000, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | STRING_POOL = 0x0001, [INFO] [stdout] 11 | TABLE = 0x0002, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | XML = 0x0003, [INFO] [stdout] 13 | XML_START_NAMESPACE = 0x0100, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | XML_END_NAMESPACE = 0x0101, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | XML_START_ELEMENT = 0x0102, [INFO] [stdout] 16 | XML_END_ELEMENT = 0x0103, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | XML_CDATA = 0x0104, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | XML_RESOURCE_MAP = 0x0180, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | TABLE_PACKAGE = 0x0200, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 20 | TABLE_TYPE = 0x0201, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 21 | TABLE_TYPE_SPEC = 0x0202, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | TABLE_LIBRARY = 0x0203 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.02s [INFO] running `Command { std: "docker" "inspect" "445c9909c90bbb694c48cdb575020c86db56ea0a8f52539b67b7bb0c2fd49591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "445c9909c90bbb694c48cdb575020c86db56ea0a8f52539b67b7bb0c2fd49591", kill_on_drop: false }` [INFO] [stdout] 445c9909c90bbb694c48cdb575020c86db56ea0a8f52539b67b7bb0c2fd49591