[INFO] cloning repository https://github.com/openkylin/rust-png [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/openkylin/rust-png" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopenkylin%2Frust-png", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopenkylin%2Frust-png'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32864d1dd1c7b7b542ab02ca73a2fac69cc290bc [INFO] checking openkylin/rust-png against master#667247db71ea18c4130dd018d060e7f09d589490 for pr-140824 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fopenkylin%2Frust-png" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/openkylin/rust-png on toolchain 667247db71ea18c4130dd018d060e7f09d589490 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/openkylin/rust-png [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/openkylin/rust-png [INFO] tweaked toml for git repo https://github.com/openkylin/rust-png written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/openkylin/rust-png 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" "+667247db71ea18c4130dd018d060e7f09d589490" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding adler2 v2.0.0 [INFO] [stderr] Adding arrayref v0.3.9 [INFO] [stderr] Adding arrayvec v0.5.2 [INFO] [stderr] Adding base64 v0.13.1 [INFO] [stderr] Adding blake2b_simd v0.5.11 [INFO] [stderr] Adding byteorder v1.5.0 [INFO] [stderr] Adding constant_time_eq v0.1.5 [INFO] [stderr] Adding dirs v1.0.5 [INFO] [stderr] Updating flate2 v1.0.24 -> v1.1.1 [INFO] [stderr] Adding getrandom v0.1.16 [INFO] [stderr] Adding miniz_oxide v0.7.4 (available: v0.8.8) [INFO] [stderr] Adding miniz_oxide v0.8.8 [INFO] [stderr] Downgrading redox_syscall v0.2.10 -> v0.1.57 [INFO] [stderr] Downgrading redox_users v0.4.0 -> v0.3.5 [INFO] [stderr] Adding rust-argon2 v0.8.3 [INFO] [stderr] Downgrading term v0.7.0 -> v0.5.2 (available: v1.0.2) [INFO] [stderr] Downgrading wasi v0.11.0+wasi-snapshot-preview1 -> v0.9.0+wasi-snapshot-preview1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b3edc2f73221ddeaeb337f4c9e7b4e18e77e308978719a23612eb84c8a7be2f [INFO] running `Command { std: "docker" "start" "-a" "4b3edc2f73221ddeaeb337f4c9e7b4e18e77e308978719a23612eb84c8a7be2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b3edc2f73221ddeaeb337f4c9e7b4e18e77e308978719a23612eb84c8a7be2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b3edc2f73221ddeaeb337f4c9e7b4e18e77e308978719a23612eb84c8a7be2f", kill_on_drop: false }` [INFO] [stdout] 4b3edc2f73221ddeaeb337f4c9e7b4e18e77e308978719a23612eb84c8a7be2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+667247db71ea18c4130dd018d060e7f09d589490" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7942b97a4ed912fe965ffac40a2575fe92912e375503100dfe7d53d64826985f [INFO] running `Command { std: "docker" "start" "-a" "7942b97a4ed912fe965ffac40a2575fe92912e375503100dfe7d53d64826985f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.129 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking bitflags v1.3.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking term v0.5.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking png v0.17.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/decoder/stream.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | const CHECKSUM_DISABLED: bool = cfg!(fuzzing); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `common::Compression::Huffman`: use one of the other compression levels instead, such as 'fast' [INFO] [stdout] --> src/encoder.rs:2296:26 [INFO] [stdout] | [INFO] [stdout] 2296 | Compression::Huffman => flate2::Compression::none(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `common::Compression::Rle`: use one of the other compression levels instead, such as 'fast' [INFO] [stdout] --> src/encoder.rs:2297:26 [INFO] [stdout] | [INFO] [stdout] 2297 | Compression::Rle => flate2::Compression::none(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rand v0.8.5 [INFO] [stdout] warning: variant `Uninit` is never constructed [INFO] [stdout] --> src/decoder/mod.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 335 | enum SubframeIdx { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 336 | /// The info has not yet been decoded. [INFO] [stdout] 337 | Uninit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubframeIdx` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recover` is never read [INFO] [stdout] --> src/decoder/stream.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 121 | CrcMismatch { [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 122 | /// bytes to skip to try to recover from this error [INFO] [stdout] 123 | recover: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormatErrorInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/decoder/stream.rs:28:38 [INFO] [stdout] | [INFO] [stdout] 28 | const CHECKSUM_DISABLED: bool = cfg!(fuzzing); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Decoder` [INFO] [stdout] --> src/decoder/mod.rs:944:9 [INFO] [stdout] | [INFO] [stdout] 944 | use super::Decoder; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::discriminant` [INFO] [stdout] --> src/decoder/mod.rs:946:9 [INFO] [stdout] | [INFO] [stdout] 946 | use std::mem::discriminant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `common::Compression::Huffman`: use one of the other compression levels instead, such as 'fast' [INFO] [stdout] --> src/encoder.rs:2296:26 [INFO] [stdout] | [INFO] [stdout] 2296 | Compression::Huffman => flate2::Compression::none(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `common::Compression::Rle`: use one of the other compression levels instead, such as 'fast' [INFO] [stdout] --> src/encoder.rs:2297:26 [INFO] [stdout] | [INFO] [stdout] 2297 | Compression::Rle => flate2::Compression::none(), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Uninit` is never constructed [INFO] [stdout] --> src/decoder/mod.rs:337:5 [INFO] [stdout] | [INFO] [stdout] 335 | enum SubframeIdx { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 336 | /// The info has not yet been decoded. [INFO] [stdout] 337 | Uninit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SubframeIdx` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recover` is never read [INFO] [stdout] --> src/decoder/stream.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 121 | CrcMismatch { [INFO] [stdout] | ----------- field in this variant [INFO] [stdout] 122 | /// bytes to skip to try to recover from this error [INFO] [stdout] 123 | recover: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FormatErrorInner` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `image_gamma` is never used [INFO] [stdout] --> src/decoder/stream.rs:1292:8 [INFO] [stdout] | [INFO] [stdout] 1292 | fn image_gamma() -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `image_source_chromaticities` is never used [INFO] [stdout] --> src/decoder/stream.rs:1332:8 [INFO] [stdout] | [INFO] [stdout] 1332 | fn image_source_chromaticities() -> Result<(), ()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SmalBuf` is never constructed [INFO] [stdout] --> src/decoder/mod.rs:949:12 [INFO] [stdout] | [INFO] [stdout] 949 | struct SmalBuf { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/decoder/mod.rs:955:12 [INFO] [stdout] | [INFO] [stdout] 954 | impl SmalBuf { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 955 | fn new(inner: R, cap: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.54s [INFO] running `Command { std: "docker" "inspect" "7942b97a4ed912fe965ffac40a2575fe92912e375503100dfe7d53d64826985f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7942b97a4ed912fe965ffac40a2575fe92912e375503100dfe7d53d64826985f", kill_on_drop: false }` [INFO] [stdout] 7942b97a4ed912fe965ffac40a2575fe92912e375503100dfe7d53d64826985f