[INFO] cloning repository https://github.com/orgTestCodacy11KRepos110MB/repo-5314-oxipng [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/orgTestCodacy11KRepos110MB/repo-5314-oxipng" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2ForgTestCodacy11KRepos110MB%2Frepo-5314-oxipng", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2ForgTestCodacy11KRepos110MB%2Frepo-5314-oxipng'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d43e63f562bc6186ec68e933f414d3313a5aa6a2 [INFO] checking orgTestCodacy11KRepos110MB/repo-5314-oxipng/d43e63f562bc6186ec68e933f414d3313a5aa6a2 against master#b2728d5426bab1d8c39709768c7e22b7f66dde5d for pr-135852 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2ForgTestCodacy11KRepos110MB%2Frepo-5314-oxipng" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/orgTestCodacy11KRepos110MB/repo-5314-oxipng on toolchain b2728d5426bab1d8c39709768c7e22b7f66dde5d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/orgTestCodacy11KRepos110MB/repo-5314-oxipng [INFO] finished tweaking git repo https://github.com/orgTestCodacy11KRepos110MB/repo-5314-oxipng [INFO] tweaked toml for git repo https://github.com/orgTestCodacy11KRepos110MB/repo-5314-oxipng written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/orgTestCodacy11KRepos110MB/repo-5314-oxipng 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" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wild v2.1.0 [INFO] [stderr] Downloaded stderrlog v0.5.4 [INFO] [stderr] Downloaded libdeflater v0.11.0 [INFO] [stderr] Downloaded rgb v0.8.34 [INFO] [stderr] Downloaded iter-read v0.3.1 [INFO] [stderr] Downloaded zopfli v0.7.1 [INFO] [stderr] Downloaded libdeflate-sys v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc7596cce949b114cfe6839991985aff10d8cab68be0a2ce3d0028fd7161c7f0 [INFO] running `Command { std: "docker" "start" "-a" "cc7596cce949b114cfe6839991985aff10d8cab68be0a2ce3d0028fd7161c7f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc7596cce949b114cfe6839991985aff10d8cab68be0a2ce3d0028fd7161c7f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc7596cce949b114cfe6839991985aff10d8cab68be0a2ce3d0028fd7161c7f0", kill_on_drop: false }` [INFO] [stdout] cc7596cce949b114cfe6839991985aff10d8cab68be0a2ce3d0028fd7161c7f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+b2728d5426bab1d8c39709768c7e22b7f66dde5d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9a4c7bbc99dec50c14261b5d76e0aab7ca3affa1f1d3a17423c9502457a3aaa [INFO] running `Command { std: "docker" "start" "-a" "e9a4c7bbc99dec50c14261b5d76e0aab7ca3affa1f1d3a17423c9502457a3aaa", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling crossbeam-utils v0.8.14 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.13 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling rayon-core v1.10.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling libdeflate-sys v0.11.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Checking crc-catalog v2.1.0 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking bytemuck v1.12.3 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking crc v3.0.0 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking iter-read v0.3.1 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking wild v2.1.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking zopfli v0.7.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking rgb v0.8.34 [INFO] [stderr] Checking crossbeam-channel v0.5.6 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.19 [INFO] [stderr] Checking stderrlog v0.5.4 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking flate2 v1.0.25 [INFO] [stderr] Checking png v0.17.7 [INFO] [stderr] Checking rayon v1.6.1 [INFO] [stderr] Checking image v0.24.5 [INFO] [stderr] Checking clap v3.2.23 [INFO] [stderr] Checking libdeflater v0.11.0 [INFO] [stderr] Checking oxipng v8.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/reduction/mod.rs:161:46 [INFO] [stdout] | [INFO] [stdout] 161 | byte_map[byte] = palette_map[(byte & 0x0F)].unwrap_or(0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - byte_map[byte] = palette_map[(byte & 0x0F)].unwrap_or(0) [INFO] [stdout] 161 + byte_map[byte] = palette_map[byte & 0x0F].unwrap_or(0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/reduction/mod.rs:162:36 [INFO] [stdout] | [INFO] [stdout] 162 | | (palette_map[(byte >> 4)].unwrap_or(0) << 4); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 162 - | (palette_map[(byte >> 4)].unwrap_or(0) << 4); [INFO] [stdout] 162 + | (palette_map[byte >> 4].unwrap_or(0) << 4); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/reduction/mod.rs:167:46 [INFO] [stdout] | [INFO] [stdout] 167 | byte_map[byte] = palette_map[(byte & 0x03)].unwrap_or(0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 167 - byte_map[byte] = palette_map[(byte & 0x03)].unwrap_or(0) [INFO] [stdout] 167 + byte_map[byte] = palette_map[byte & 0x03].unwrap_or(0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/reduction/mod.rs:168:36 [INFO] [stdout] | [INFO] [stdout] 168 | | (palette_map[((byte >> 2) & 0x03)].unwrap_or(0) << 2) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - | (palette_map[((byte >> 2) & 0x03)].unwrap_or(0) << 2) [INFO] [stdout] 168 + | (palette_map[(byte >> 2) & 0x03].unwrap_or(0) << 2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/reduction/mod.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | | (palette_map[((byte >> 4) & 0x03)].unwrap_or(0) << 4) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 169 - | (palette_map[((byte >> 4) & 0x03)].unwrap_or(0) << 4) [INFO] [stdout] 169 + | (palette_map[(byte >> 4) & 0x03].unwrap_or(0) << 4) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/reduction/mod.rs:170:36 [INFO] [stdout] | [INFO] [stdout] 170 | | (palette_map[(byte >> 6)].unwrap_or(0) << 6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 170 - | (palette_map[(byte >> 6)].unwrap_or(0) << 6); [INFO] [stdout] 170 + | (palette_map[byte >> 6].unwrap_or(0) << 6); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/reduction/mod.rs:161:46 [INFO] [stdout] | [INFO] [stdout] 161 | byte_map[byte] = palette_map[(byte & 0x0F)].unwrap_or(0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - byte_map[byte] = palette_map[(byte & 0x0F)].unwrap_or(0) [INFO] [stdout] 161 + byte_map[byte] = palette_map[byte & 0x0F].unwrap_or(0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/reduction/mod.rs:162:36 [INFO] [stdout] | [INFO] [stdout] 162 | | (palette_map[(byte >> 4)].unwrap_or(0) << 4); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 162 - | (palette_map[(byte >> 4)].unwrap_or(0) << 4); [INFO] [stdout] 162 + | (palette_map[byte >> 4].unwrap_or(0) << 4); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/reduction/mod.rs:167:46 [INFO] [stdout] | [INFO] [stdout] 167 | byte_map[byte] = palette_map[(byte & 0x03)].unwrap_or(0) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 167 - byte_map[byte] = palette_map[(byte & 0x03)].unwrap_or(0) [INFO] [stdout] 167 + byte_map[byte] = palette_map[byte & 0x03].unwrap_or(0) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/reduction/mod.rs:168:36 [INFO] [stdout] | [INFO] [stdout] 168 | | (palette_map[((byte >> 2) & 0x03)].unwrap_or(0) << 2) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - | (palette_map[((byte >> 2) & 0x03)].unwrap_or(0) << 2) [INFO] [stdout] 168 + | (palette_map[(byte >> 2) & 0x03].unwrap_or(0) << 2) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/reduction/mod.rs:169:36 [INFO] [stdout] | [INFO] [stdout] 169 | | (palette_map[((byte >> 4) & 0x03)].unwrap_or(0) << 4) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 169 - | (palette_map[((byte >> 4) & 0x03)].unwrap_or(0) << 4) [INFO] [stdout] 169 + | (palette_map[(byte >> 4) & 0x03].unwrap_or(0) << 4) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/reduction/mod.rs:170:36 [INFO] [stdout] | [INFO] [stdout] 170 | | (palette_map[(byte >> 6)].unwrap_or(0) << 6); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 170 - | (palette_map[(byte >> 6)].unwrap_or(0) << 6); [INFO] [stdout] 170 + | (palette_map[byte >> 6].unwrap_or(0) << 6); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 16.90s [INFO] running `Command { std: "docker" "inspect" "e9a4c7bbc99dec50c14261b5d76e0aab7ca3affa1f1d3a17423c9502457a3aaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a4c7bbc99dec50c14261b5d76e0aab7ca3affa1f1d3a17423c9502457a3aaa", kill_on_drop: false }` [INFO] [stdout] e9a4c7bbc99dec50c14261b5d76e0aab7ca3affa1f1d3a17423c9502457a3aaa