[INFO] cloning repository https://github.com/drojf/SpriteZip [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drojf/SpriteZip" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrojf%2FSpriteZip", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrojf%2FSpriteZip'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c9dbfd7475afa6a7f65107864da87e74bebbb7b4 [INFO] checking drojf/SpriteZip against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrojf%2FSpriteZip" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/drojf/SpriteZip on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/drojf/SpriteZip [INFO] finished tweaking git repo https://github.com/drojf/SpriteZip [INFO] tweaked toml for git repo https://github.com/drojf/SpriteZip written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/drojf/SpriteZip 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libdeflater v0.11.0 [INFO] [stderr] Downloaded oxipng v8.0.0 [INFO] [stderr] Downloaded alloc-no-stdlib v1.3.0 [INFO] [stderr] Downloaded pin-project-internal v1.1.1 [INFO] [stderr] Downloaded pin-project v1.1.1 [INFO] [stderr] Downloaded brotli-decompressor v1.3.1 [INFO] [stderr] Downloaded exr v1.6.4 [INFO] [stderr] Downloaded libdeflate-sys v0.11.0 [INFO] [stderr] Downloaded semver v1.0.17 [INFO] [stderr] Downloaded rgb v0.8.36 [INFO] [stderr] Downloaded brotli v2.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a7f3a95146d16229916f69d3a0208400de135cb76eb1296cff6825fc8b7581cf [INFO] running `Command { std: "docker" "start" "-a" "a7f3a95146d16229916f69d3a0208400de135cb76eb1296cff6825fc8b7581cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a7f3a95146d16229916f69d3a0208400de135cb76eb1296cff6825fc8b7581cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7f3a95146d16229916f69d3a0208400de135cb76eb1296cff6825fc8b7581cf", kill_on_drop: false }` [INFO] [stdout] a7f3a95146d16229916f69d3a0208400de135cb76eb1296cff6825fc8b7581cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 296a3e52771a5758ae30f195e22a988c1c1fd8926934625f01a5e37ef4325358 [INFO] running `Command { std: "docker" "start" "-a" "296a3e52771a5758ae30f195e22a988c1c1fd8926934625f01a5e37ef4325358", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Checking simd-adler32 v0.3.5 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking bytemuck v1.13.1 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking alloc-no-stdlib v1.3.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking brotli-decompressor v1.3.1 [INFO] [stderr] Checking rgb v0.8.36 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking png v0.17.9 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Checking time v0.3.22 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling libdeflate-sys v0.11.0 [INFO] [stderr] Checking brotli v2.5.1 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking tiff v0.8.1 [INFO] [stderr] Checking libdeflater v0.11.0 [INFO] [stderr] Compiling pin-project-internal v1.1.1 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Checking pin-project v1.1.1 [INFO] [stderr] Checking flume v0.10.14 [INFO] [stderr] Checking exr v1.6.4 [INFO] [stderr] Checking image v0.24.6 [INFO] [stderr] Checking oxipng v8.0.0 [INFO] [stderr] Checking spritezip v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/alphablend.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/common.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `walkdir` is imported redundantly [INFO] [stdout] --> src/common.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use walkdir; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern crate walkdir; [INFO] [stdout] | --------------------- the item `walkdir` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/common.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `brotli` is imported redundantly [INFO] [stdout] --> src/common.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use brotli; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate brotli; [INFO] [stdout] | -------------------- the item `brotli` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/compress.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/compress.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bincode` is imported redundantly [INFO] [stdout] --> src/compress.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use bincode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate bincode; [INFO] [stdout] | --------------------- the item `bincode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `brotli` is imported redundantly [INFO] [stdout] --> src/compress.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use brotli; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate brotli; [INFO] [stdout] | -------------------- the item `brotli` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/compress.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/extract.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `brotli` is imported redundantly [INFO] [stdout] --> src/extract.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use brotli; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate brotli; [INFO] [stdout] | -------------------- the item `brotli` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bincode` is imported redundantly [INFO] [stdout] --> src/extract.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bincode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate bincode; [INFO] [stdout] | --------------------- the item `bincode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/extract.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `oxipng` is imported redundantly [INFO] [stdout] --> src/extract.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use oxipng; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | extern crate oxipng; [INFO] [stdout] | -------------------- the item `oxipng` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `png` is imported redundantly [INFO] [stdout] --> src/extract.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use png; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | extern crate png; [INFO] [stdout] | ----------------- the item `png` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/alphablend.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/common.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `walkdir` is imported redundantly [INFO] [stdout] --> src/common.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use walkdir; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern crate walkdir; [INFO] [stdout] | --------------------- the item `walkdir` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/common.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `brotli` is imported redundantly [INFO] [stdout] --> src/common.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use brotli; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate brotli; [INFO] [stdout] | -------------------- the item `brotli` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/compress.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Iterator` is imported redundantly [INFO] [stdout] --> src/compress.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::Iterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Iterator` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bincode` is imported redundantly [INFO] [stdout] --> src/compress.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use bincode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate bincode; [INFO] [stdout] | --------------------- the item `bincode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `brotli` is imported redundantly [INFO] [stdout] --> src/compress.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use brotli; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate brotli; [INFO] [stdout] | -------------------- the item `brotli` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/compress.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/extract.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std; [INFO] [stdout] | ^^^ the item `std` is already imported by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `brotli` is imported redundantly [INFO] [stdout] --> src/extract.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use brotli; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate brotli; [INFO] [stdout] | -------------------- the item `brotli` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `bincode` is imported redundantly [INFO] [stdout] --> src/extract.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bincode; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | extern crate bincode; [INFO] [stdout] | --------------------- the item `bincode` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `image` is imported redundantly [INFO] [stdout] --> src/extract.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use image; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | extern crate image; [INFO] [stdout] | ------------------- the item `image` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `oxipng` is imported redundantly [INFO] [stdout] --> src/extract.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use oxipng; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | extern crate oxipng; [INFO] [stdout] | -------------------- the item `oxipng` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `png` is imported redundantly [INFO] [stdout] --> src/extract.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use png; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | extern crate png; [INFO] [stdout] | ----------------- the item `png` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_count` [INFO] [stdout] --> src/common.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | for (img_count, ent) in FileTypeIterator::new(input_folder, "png").enumerate() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_img_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `debug_difference_count` is assigned to, but never used [INFO] [stdout] --> src/compress.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | let mut debug_difference_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_debug_difference_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u8_buf_to_u32_big_endian` is never used [INFO] [stdout] --> src/common.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn u8_buf_to_u32_big_endian(buf : &[u8; 4]) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u8_stream_to_u32_big_endian` is never used [INFO] [stdout] --> src/common.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn u8_stream_to_u32_big_endian(reader : &mut dyn Read) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_png_dimensions` is never used [INFO] [stdout] --> src/common.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn get_png_dimensions(reader : &mut dyn Read) -> Result<(u32, u32), &'static str> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_folder_for_max_png_size` is never used [INFO] [stdout] --> src/common.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn scan_folder_for_max_png_size(input_folder : &str) -> (u32, u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_image_no_alpha` is never used [INFO] [stdout] --> src/common.rs:290:8 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn save_image_no_alpha(mut image : RgbaImage, save_path : &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_image_to_buffer` is never used [INFO] [stdout] --> src/common.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn compress_image_to_buffer(img: &image::RgbaImage) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_buffer` is never used [INFO] [stdout] --> src/common.rs:327:8 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn compress_buffer(img: &Vec) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CroppedImageBounds` is never constructed [INFO] [stdout] --> src/compress.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct CroppedImageBounds { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crop_function` is never used [INFO] [stdout] --> src/compress.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn crop_function(img: &image::RgbaImage, offset : (u32, u32), max_width : u32, max_height : u32) -> (CroppedImageBounds, u64) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img_count` [INFO] [stdout] --> src/common.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 134 | for (img_count, ent) in FileTypeIterator::new(input_folder, "png").enumerate() [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_img_count` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `debug_difference_count` is assigned to, but never used [INFO] [stdout] --> src/compress.rs:290:13 [INFO] [stdout] | [INFO] [stdout] 290 | let mut debug_difference_count = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_debug_difference_count` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u8_buf_to_u32_big_endian` is never used [INFO] [stdout] --> src/common.rs:223:8 [INFO] [stdout] | [INFO] [stdout] 223 | pub fn u8_buf_to_u32_big_endian(buf : &[u8; 4]) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `u8_stream_to_u32_big_endian` is never used [INFO] [stdout] --> src/common.rs:232:8 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn u8_stream_to_u32_big_endian(reader : &mut dyn Read) -> u32 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_png_dimensions` is never used [INFO] [stdout] --> src/common.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn get_png_dimensions(reader : &mut dyn Read) -> Result<(u32, u32), &'static str> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan_folder_for_max_png_size` is never used [INFO] [stdout] --> src/common.rs:264:8 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn scan_folder_for_max_png_size(input_folder : &str) -> (u32, u32) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_image_no_alpha` is never used [INFO] [stdout] --> src/common.rs:290:8 [INFO] [stdout] | [INFO] [stdout] 290 | pub fn save_image_no_alpha(mut image : RgbaImage, save_path : &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_image_to_buffer` is never used [INFO] [stdout] --> src/common.rs:309:8 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn compress_image_to_buffer(img: &image::RgbaImage) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_buffer` is never used [INFO] [stdout] --> src/common.rs:327:8 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn compress_buffer(img: &Vec) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CroppedImageBounds` is never constructed [INFO] [stdout] --> src/compress.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct CroppedImageBounds { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `crop_function` is never used [INFO] [stdout] --> src/compress.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn crop_function(img: &image::RgbaImage, offset : (u32, u32), max_width : u32, max_height : u32) -> (CroppedImageBounds, u64) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.84s [INFO] running `Command { std: "docker" "inspect" "296a3e52771a5758ae30f195e22a988c1c1fd8926934625f01a5e37ef4325358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "296a3e52771a5758ae30f195e22a988c1c1fd8926934625f01a5e37ef4325358", kill_on_drop: false }` [INFO] [stdout] 296a3e52771a5758ae30f195e22a988c1c1fd8926934625f01a5e37ef4325358