[INFO] fetching crate oxipng 8.0.0... [INFO] checking oxipng-8.0.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate oxipng 8.0.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate oxipng 8.0.0 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate oxipng 8.0.0 [INFO] finished tweaking crates.io crate oxipng 8.0.0 [INFO] tweaked toml for crates.io crate oxipng 8.0.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate oxipng 8.0.0 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73fd777ec60e397887a874cdc3c1c2e2d2d1ffb3a45aa63b6f7e9b7263b890a5 [INFO] running `Command { std: "docker" "start" "-a" "73fd777ec60e397887a874cdc3c1c2e2d2d1ffb3a45aa63b6f7e9b7263b890a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73fd777ec60e397887a874cdc3c1c2e2d2d1ffb3a45aa63b6f7e9b7263b890a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73fd777ec60e397887a874cdc3c1c2e2d2d1ffb3a45aa63b6f7e9b7263b890a5", kill_on_drop: false }` [INFO] [stdout] 73fd777ec60e397887a874cdc3c1c2e2d2d1ffb3a45aa63b6f7e9b7263b890a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f03bbd30064316333bee5e6e50549c3707927009184de66304533e8eb10e30a7 [INFO] running `Command { std: "docker" "start" "-a" "f03bbd30064316333bee5e6e50549c3707927009184de66304533e8eb10e30a7", 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] [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 rayon-core v1.10.1 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking crc-catalog v2.1.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking os_str_bytes v6.4.1 [INFO] [stderr] Checking bytemuck v1.12.3 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Checking crc v3.0.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking iter-read v0.3.1 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking textwrap v0.16.0 [INFO] [stderr] Checking rgb v0.8.34 [INFO] [stderr] Checking zopfli v0.7.1 [INFO] [stderr] Checking flate2 v1.0.25 [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 crossbeam-channel v0.5.6 [INFO] [stderr] Compiling libdeflate-sys v0.11.0 [INFO] [stderr] Checking png v0.17.7 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking crossbeam-deque v0.8.2 [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 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: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: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: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: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: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] error[E0308]: mismatched types [INFO] [stdout] --> src/evaluate.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 31 | fn cmp_key(&self) -> impl Ord { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | the expected opaque type [INFO] [stdout] | the found opaque type [INFO] [stdout] ... [INFO] [stdout] 87 | eval_recv.into_iter().min_by_key(Candidate::cmp_key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl for<'a> Ord` [INFO] [stdout] found opaque type `impl Ord` [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /rustc/23ffd2897cbb44320ca18dfe4d05dbacb37d55e0/library/core/src/iter/traits/iterator.rs:3327:34 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/evaluate.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 31 | fn cmp_key(&self) -> impl Ord { [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | the expected opaque type [INFO] [stdout] | the found opaque type [INFO] [stdout] ... [INFO] [stdout] 87 | eval_recv.into_iter().min_by_key(Candidate::cmp_key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl for<'a> Ord` [INFO] [stdout] found opaque type `impl Ord` [INFO] [stdout] = note: distinct uses of `impl Trait` result in different opaque types [INFO] [stdout] note: the lifetime requirement is introduced here [INFO] [stdout] --> /rustc/23ffd2897cbb44320ca18dfe4d05dbacb37d55e0/library/core/src/iter/traits/iterator.rs:3327:34 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxipng` (lib test) due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `oxipng` (lib) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f03bbd30064316333bee5e6e50549c3707927009184de66304533e8eb10e30a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f03bbd30064316333bee5e6e50549c3707927009184de66304533e8eb10e30a7", kill_on_drop: false }` [INFO] [stdout] f03bbd30064316333bee5e6e50549c3707927009184de66304533e8eb10e30a7