[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] building sandin/apktools-rs against master#f5209000832c9d3bc29c91f4daef4ca9f28dc797+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandin%2Fapktools-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sandin/apktools-rs on toolchain f5209000832c9d3bc29c91f4daef4ca9f28dc797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "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" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zip v0.5.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfd72ca41d7697d499d70cdcd03ef4db336058c94bcc4f7a78e45413ce4b58ec [INFO] running `Command { std: "docker" "start" "-a" "bfd72ca41d7697d499d70cdcd03ef4db336058c94bcc4f7a78e45413ce4b58ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfd72ca41d7697d499d70cdcd03ef4db336058c94bcc4f7a78e45413ce4b58ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfd72ca41d7697d499d70cdcd03ef4db336058c94bcc4f7a78e45413ce4b58ec", kill_on_drop: false }` [INFO] [stdout] bfd72ca41d7697d499d70cdcd03ef4db336058c94bcc4f7a78e45413ce4b58ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 77390a7ede593223f6c35ca7859cd733d8772066b94e4d808722fb213967891e [INFO] running `Command { std: "docker" "start" "-a" "77390a7ede593223f6c35ca7859cd733d8772066b94e4d808722fb213967891e", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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 5.29s [INFO] running `Command { std: "docker" "inspect" "77390a7ede593223f6c35ca7859cd733d8772066b94e4d808722fb213967891e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77390a7ede593223f6c35ca7859cd733d8772066b94e4d808722fb213967891e", kill_on_drop: false }` [INFO] [stdout] 77390a7ede593223f6c35ca7859cd733d8772066b94e4d808722fb213967891e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f5209000832c9d3bc29c91f4daef4ca9f28dc797" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] a04c46b1f1a9766fe1338ecd72d7d79d7cf295796a0519e9cf21a37f6f3d1a92 [INFO] running `Command { std: "docker" "start" "-a" "a04c46b1f1a9766fe1338ecd72d7d79d7cf295796a0519e9cf21a37f6f3d1a92", kill_on_drop: false }` [INFO] [stderr] Compiling 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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 `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "a04c46b1f1a9766fe1338ecd72d7d79d7cf295796a0519e9cf21a37f6f3d1a92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a04c46b1f1a9766fe1338ecd72d7d79d7cf295796a0519e9cf21a37f6f3d1a92", kill_on_drop: false }` [INFO] [stdout] a04c46b1f1a9766fe1338ecd72d7d79d7cf295796a0519e9cf21a37f6f3d1a92