[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 try#7d2afcda7a9c043d5175cbca3ab08f0acf02b13a 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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/openkylin/rust-png on toolchain 7d2afcda7a9c043d5175cbca3ab08f0acf02b13a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "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-tc2/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" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42ed7aba61385d656facf77b3514631b01e6be6d94eb3da7c26fa4c4ef9ac470 [INFO] running `Command { std: "docker" "start" "-a" "42ed7aba61385d656facf77b3514631b01e6be6d94eb3da7c26fa4c4ef9ac470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42ed7aba61385d656facf77b3514631b01e6be6d94eb3da7c26fa4c4ef9ac470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42ed7aba61385d656facf77b3514631b01e6be6d94eb3da7c26fa4c4ef9ac470", kill_on_drop: false }` [INFO] [stdout] 42ed7aba61385d656facf77b3514631b01e6be6d94eb3da7c26fa4c4ef9ac470 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+7d2afcda7a9c043d5175cbca3ab08f0acf02b13a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ed10cee70aef7eeb30947775ab802e65a0f364fef99e37ffc75102b08957f61 [INFO] running `Command { std: "docker" "start" "-a" "3ed10cee70aef7eeb30947775ab802e65a0f364fef99e37ffc75102b08957f61", 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 ppv-lite86 v0.2.10 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking bitflags v1.3.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking miniz_oxide v0.8.8 [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 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] [stderr] Checking rand_chacha v0.3.1 [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] error: hi [INFO] [stdout] --> src/traits.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | impl ReadBytesExt<$output_type> for W { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overlaps with this blanket impl [INFO] [stdout] ... [INFO] [stdout] 28 | pub trait ReadBytesExt: io::Read { [INFO] [stdout] | ----------------------------------- built-in `dyn ReadBytesExt` implementation for this trait [INFO] [stdout] ... [INFO] [stdout] 39 | read_bytes_ext!(u8); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[forbid(dyn_overlap)]` on by default [INFO] [stdout] = note: this error originates in the macro `read_bytes_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hi [INFO] [stdout] --> src/traits.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | impl ReadBytesExt<$output_type> for W { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overlaps with this blanket impl [INFO] [stdout] ... [INFO] [stdout] 28 | pub trait ReadBytesExt: io::Read { [INFO] [stdout] | ----------------------------------- built-in `dyn ReadBytesExt` implementation for this trait [INFO] [stdout] ... [INFO] [stdout] 40 | read_bytes_ext!(u16); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_bytes_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hi [INFO] [stdout] --> src/traits.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | impl ReadBytesExt<$output_type> for W { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overlaps with this blanket impl [INFO] [stdout] ... [INFO] [stdout] 28 | pub trait ReadBytesExt: io::Read { [INFO] [stdout] | ----------------------------------- built-in `dyn ReadBytesExt` implementation for this trait [INFO] [stdout] ... [INFO] [stdout] 41 | read_bytes_ext!(u32); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_bytes_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hi [INFO] [stdout] --> src/traits.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | impl WriteBytesExt<$input_type> for W { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overlaps with this blanket impl [INFO] [stdout] ... [INFO] [stdout] 34 | pub trait WriteBytesExt: io::Write { [INFO] [stdout] | ------------------------------------- built-in `dyn WriteBytesExt` implementation for this trait [INFO] [stdout] ... [INFO] [stdout] 43 | write_bytes_ext!(u32); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `write_bytes_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [stderr] error: could not compile `png` (lib) due to 4 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] error: hi [INFO] [stdout] --> src/traits.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | impl ReadBytesExt<$output_type> for W { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overlaps with this blanket impl [INFO] [stdout] ... [INFO] [stdout] 28 | pub trait ReadBytesExt: io::Read { [INFO] [stdout] | ----------------------------------- built-in `dyn ReadBytesExt` implementation for this trait [INFO] [stdout] ... [INFO] [stdout] 39 | read_bytes_ext!(u8); [INFO] [stdout] | ------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[forbid(dyn_overlap)]` on by default [INFO] [stdout] = note: this error originates in the macro `read_bytes_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hi [INFO] [stdout] --> src/traits.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | impl ReadBytesExt<$output_type> for W { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overlaps with this blanket impl [INFO] [stdout] ... [INFO] [stdout] 28 | pub trait ReadBytesExt: io::Read { [INFO] [stdout] | ----------------------------------- built-in `dyn ReadBytesExt` implementation for this trait [INFO] [stdout] ... [INFO] [stdout] 40 | read_bytes_ext!(u16); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_bytes_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hi [INFO] [stdout] --> src/traits.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | impl ReadBytesExt<$output_type> for W { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overlaps with this blanket impl [INFO] [stdout] ... [INFO] [stdout] 28 | pub trait ReadBytesExt: io::Read { [INFO] [stdout] | ----------------------------------- built-in `dyn ReadBytesExt` implementation for this trait [INFO] [stdout] ... [INFO] [stdout] 41 | read_bytes_ext!(u32); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_bytes_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: hi [INFO] [stdout] --> src/traits.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | impl WriteBytesExt<$input_type> for W { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ overlaps with this blanket impl [INFO] [stdout] ... [INFO] [stdout] 34 | pub trait WriteBytesExt: io::Write { [INFO] [stdout] | ------------------------------------- built-in `dyn WriteBytesExt` implementation for this trait [INFO] [stdout] ... [INFO] [stdout] 43 | write_bytes_ext!(u32); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `write_bytes_ext` (in Nightly builds, run with -Z macro-backtrace for more info) [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] error: could not compile `png` (lib test) due to 4 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3ed10cee70aef7eeb30947775ab802e65a0f364fef99e37ffc75102b08957f61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ed10cee70aef7eeb30947775ab802e65a0f364fef99e37ffc75102b08957f61", kill_on_drop: false }` [INFO] [stdout] 3ed10cee70aef7eeb30947775ab802e65a0f364fef99e37ffc75102b08957f61