[INFO] fetching crate aci_png 0.8.0-pre0... [INFO] checking aci_png-0.8.0-pre0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate aci_png 0.8.0-pre0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate aci_png 0.8.0-pre0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate aci_png 0.8.0-pre0 [INFO] finished tweaking crates.io crate aci_png 0.8.0-pre0 [INFO] tweaked toml for crates.io crate aci_png 0.8.0-pre0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--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] Locking 6 packages to latest compatible versions [INFO] [stderr] Adding deflate v0.7.20 (latest: v1.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded afi v0.8.0-pre0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16da2d55aabf3ca761084c71217e284ddc206574dd7ecd2e8d61901cf1779475 [INFO] running `Command { std: "docker" "start" "-a" "16da2d55aabf3ca761084c71217e284ddc206574dd7ecd2e8d61901cf1779475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16da2d55aabf3ca761084c71217e284ddc206574dd7ecd2e8d61901cf1779475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16da2d55aabf3ca761084c71217e284ddc206574dd7ecd2e8d61901cf1779475", kill_on_drop: false }` [INFO] [stdout] 16da2d55aabf3ca761084c71217e284ddc206574dd7ecd2e8d61901cf1779475 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ec826d23e5b6f06911def92115ec39d65d513c46ca8cda61328e1ad9b9031b2 [INFO] running `Command { std: "docker" "start" "-a" "2ec826d23e5b6f06911def92115ec39d65d513c46ca8cda61328e1ad9b9031b2", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking afi v0.8.0-pre0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking aci_png v0.8.0-pre0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/png.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 159 | fn from_f32(f32) -> Self; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:224:2 [INFO] [stdout] | [INFO] [stdout] 224 | try!(reader.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | Ok(try!(read_chunks(reader, &[])).0) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:261:16 [INFO] [stdout] | [INFO] [stdout] 261 | let dc = &mut try!(init_decoder(reader, size_of::() * 8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:262:22 [INFO] [stdout] | [INFO] [stdout] 262 | let (buf, chunks) = try!(decode(dc, chunk_names)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | buf: try!(buf.vec()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | let hdr = try!(read_header(reader)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:333:2 [INFO] [stdout] | [INFO] [stdout] 333 | try!(dc.stream.read_exact(&mut dc.chunk_lentype[0..8])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:343:2 [INFO] [stdout] | [INFO] [stdout] 343 | try!(dc.stream.read_exact(&mut tmp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:361:16 [INFO] [stdout] | [INFO] [stdout] 361 | let mut len = try!(read_chunkmeta(dc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:372:14 [INFO] [stdout] | [INFO] [stdout] 372 | result = try!(read_idat_stream(dc, &mut len, &palette[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | try!(dc.stream.read_exact(&mut palette)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | try!(readcheck_crc(dc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | try!(dc.stream.read_exact(&mut crc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:405:6 [INFO] [stdout] | [INFO] [stdout] 405 | try!(dc.stream.read_exact(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:408:6 [INFO] [stdout] | [INFO] [stdout] 408 | try!(readcheck_crc(dc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:411:6 [INFO] [stdout] | [INFO] [stdout] 411 | try!(dc.stream.seek(SeekFrom::Current(len as i64 + 4))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | len = try!(read_chunkmeta(dc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:476:35 [INFO] [stdout] | [INFO] [stdout] 476 | let (convert8, _0, _1, _2, _3) = try!(converter::(dc.src_fmt, ColFmt::RGBA)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:477:36 [INFO] [stdout] | [INFO] [stdout] 477 | let (convert16, c0, c1, c2, c3) = try!(converter::(dc.src_fmt, ColFmt::RGBA)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:479:24 [INFO] [stdout] | [INFO] [stdout] 479 | let compressed_data = try!(read_idat_chunks(dc, len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | try!(zlib.read_exact(&mut cline[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 501 | try!(recon(&mut cline[1..], &pline[1..], filter_type, filter_step)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:557:6 [INFO] [stdout] | [INFO] [stdout] 557 | try!(zlib.read_exact(&mut cline[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:560:6 [INFO] [stdout] | [INFO] [stdout] 560 | try!(recon(&mut cline[1..], &pline[1..], filter_type, filter_step)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/png.rs:665:12 [INFO] [stdout] | [INFO] [stdout] 665 | -> Result<(Vec), Error> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 665 - -> Result<(Vec), Error> [INFO] [stdout] 665 + -> Result, Error> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:671:3 [INFO] [stdout] | [INFO] [stdout] 671 | try!(dc.stream.read_exact(&mut all[start..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:673:3 [INFO] [stdout] | [INFO] [stdout] 673 | try!(readcheck_crc(dc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:674:10 [INFO] [stdout] | [INFO] [stdout] 674 | *len = try!(read_chunkmeta(dc)); // next chunk's len and type [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:806:2 [INFO] [stdout] | [INFO] [stdout] 806 | try!(write_header(ec)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:810:2 [INFO] [stdout] | [INFO] [stdout] 810 | try!(write_image_data(ec)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:813:2 [INFO] [stdout] | [INFO] [stdout] 813 | try!(ec.stream.write_all(iend)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:814:2 [INFO] [stdout] | [INFO] [stdout] 814 | try!(ec.stream.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:808:3 [INFO] [stdout] | [INFO] [stdout] 808 | try!(write_custom_chunk(ec, chunk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:823:2 [INFO] [stdout] | [INFO] [stdout] 823 | try!(ec.stream.write_all(&PNG_FILE_HEADER[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:824:2 [INFO] [stdout] | [INFO] [stdout] 824 | try!(ec.stream.write_all(b"\0\0\0\x0dIHDR")); crc.put(b"IHDR"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:825:2 [INFO] [stdout] | [INFO] [stdout] 825 | try!(ec.stream.write_all(width)); crc.put(width); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:826:2 [INFO] [stdout] | [INFO] [stdout] 826 | try!(ec.stream.write_all(height)); crc.put(height); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:835:2 [INFO] [stdout] | [INFO] [stdout] 835 | try!(ec.stream.write_all(&tmp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:838:2 [INFO] [stdout] | [INFO] [stdout] 838 | try!(ec.stream.write_all(&crc.finish_be()[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:857:2 [INFO] [stdout] | [INFO] [stdout] 857 | try!(ec.stream.write_all(&u32_to_be(chunk.data.len() as u32)[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:858:2 [INFO] [stdout] | [INFO] [stdout] 858 | try!(ec.stream.write_all(&chunk.name[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:859:2 [INFO] [stdout] | [INFO] [stdout] 859 | try!(ec.stream.write_all(&chunk.data[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:863:2 [INFO] [stdout] | [INFO] [stdout] 863 | try!(ec.stream.write_all(&crc.finish_be()[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:877:34 [INFO] [stdout] | [INFO] [stdout] 877 | let (convert, c0, c1, c2, c3) = try!(converter(ColFmt::RGBA, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:923:3 [INFO] [stdout] | [INFO] [stdout] 923 | try!(ec.stream.write_all(&u32_to_be(n as u32)[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:924:3 [INFO] [stdout] | [INFO] [stdout] 924 | try!(ec.stream.write_all(b"IDAT")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:925:3 [INFO] [stdout] | [INFO] [stdout] 925 | try!(ec.stream.write_all(&compressed[..n])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:926:3 [INFO] [stdout] | [INFO] [stdout] 926 | try!(ec.stream.write_all(crc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:918:11 [INFO] [stdout] | [INFO] [stdout] 918 | let n = try!(compressed_data.read(&mut compressed[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/png.rs:159:15 [INFO] [stdout] | [INFO] [stdout] 159 | fn from_f32(f32) -> Self; [INFO] [stdout] | ^^^ help: try naming the parameter or explicitly ignoring it: `_: f32` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:224:2 [INFO] [stdout] | [INFO] [stdout] 224 | try!(reader.read_exact(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:251:5 [INFO] [stdout] | [INFO] [stdout] 251 | Ok(try!(read_chunks(reader, &[])).0) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:261:16 [INFO] [stdout] | [INFO] [stdout] 261 | let dc = &mut try!(init_decoder(reader, size_of::() * 8)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:262:22 [INFO] [stdout] | [INFO] [stdout] 262 | let (buf, chunks) = try!(decode(dc, chunk_names)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:266:10 [INFO] [stdout] | [INFO] [stdout] 266 | buf: try!(buf.vec()), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:273:12 [INFO] [stdout] | [INFO] [stdout] 273 | let hdr = try!(read_header(reader)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:333:2 [INFO] [stdout] | [INFO] [stdout] 333 | try!(dc.stream.read_exact(&mut dc.chunk_lentype[0..8])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:343:2 [INFO] [stdout] | [INFO] [stdout] 343 | try!(dc.stream.read_exact(&mut tmp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:361:16 [INFO] [stdout] | [INFO] [stdout] 361 | let mut len = try!(read_chunkmeta(dc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:372:14 [INFO] [stdout] | [INFO] [stdout] 372 | result = try!(read_idat_stream(dc, &mut len, &palette[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | try!(dc.stream.read_exact(&mut palette)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | try!(readcheck_crc(dc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:394:5 [INFO] [stdout] | [INFO] [stdout] 394 | try!(dc.stream.read_exact(&mut crc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:405:6 [INFO] [stdout] | [INFO] [stdout] 405 | try!(dc.stream.read_exact(&mut data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:408:6 [INFO] [stdout] | [INFO] [stdout] 408 | try!(readcheck_crc(dc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:411:6 [INFO] [stdout] | [INFO] [stdout] 411 | try!(dc.stream.seek(SeekFrom::Current(len as i64 + 4))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:417:9 [INFO] [stdout] | [INFO] [stdout] 417 | len = try!(read_chunkmeta(dc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:476:35 [INFO] [stdout] | [INFO] [stdout] 476 | let (convert8, _0, _1, _2, _3) = try!(converter::(dc.src_fmt, ColFmt::RGBA)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:477:36 [INFO] [stdout] | [INFO] [stdout] 477 | let (convert16, c0, c1, c2, c3) = try!(converter::(dc.src_fmt, ColFmt::RGBA)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:479:24 [INFO] [stdout] | [INFO] [stdout] 479 | let compressed_data = try!(read_idat_chunks(dc, len)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:498:5 [INFO] [stdout] | [INFO] [stdout] 498 | try!(zlib.read_exact(&mut cline[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:501:5 [INFO] [stdout] | [INFO] [stdout] 501 | try!(recon(&mut cline[1..], &pline[1..], filter_type, filter_step)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:557:6 [INFO] [stdout] | [INFO] [stdout] 557 | try!(zlib.read_exact(&mut cline[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:560:6 [INFO] [stdout] | [INFO] [stdout] 560 | try!(recon(&mut cline[1..], &pline[1..], filter_type, filter_step)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/png.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/png.rs:665:12 [INFO] [stdout] | [INFO] [stdout] 665 | -> Result<(Vec), Error> [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 665 - -> Result<(Vec), Error> [INFO] [stdout] 665 + -> Result, Error> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:671:3 [INFO] [stdout] | [INFO] [stdout] 671 | try!(dc.stream.read_exact(&mut all[start..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:673:3 [INFO] [stdout] | [INFO] [stdout] 673 | try!(readcheck_crc(dc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:674:10 [INFO] [stdout] | [INFO] [stdout] 674 | *len = try!(read_chunkmeta(dc)); // next chunk's len and type [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:806:2 [INFO] [stdout] | [INFO] [stdout] 806 | try!(write_header(ec)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:810:2 [INFO] [stdout] | [INFO] [stdout] 810 | try!(write_image_data(ec)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:813:2 [INFO] [stdout] | [INFO] [stdout] 813 | try!(ec.stream.write_all(iend)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:814:2 [INFO] [stdout] | [INFO] [stdout] 814 | try!(ec.stream.flush()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:808:3 [INFO] [stdout] | [INFO] [stdout] 808 | try!(write_custom_chunk(ec, chunk)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:823:2 [INFO] [stdout] | [INFO] [stdout] 823 | try!(ec.stream.write_all(&PNG_FILE_HEADER[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:824:2 [INFO] [stdout] | [INFO] [stdout] 824 | try!(ec.stream.write_all(b"\0\0\0\x0dIHDR")); crc.put(b"IHDR"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:825:2 [INFO] [stdout] | [INFO] [stdout] 825 | try!(ec.stream.write_all(width)); crc.put(width); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:826:2 [INFO] [stdout] | [INFO] [stdout] 826 | try!(ec.stream.write_all(height)); crc.put(height); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:835:2 [INFO] [stdout] | [INFO] [stdout] 835 | try!(ec.stream.write_all(&tmp)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:838:2 [INFO] [stdout] | [INFO] [stdout] 838 | try!(ec.stream.write_all(&crc.finish_be()[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:857:2 [INFO] [stdout] | [INFO] [stdout] 857 | try!(ec.stream.write_all(&u32_to_be(chunk.data.len() as u32)[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:858:2 [INFO] [stdout] | [INFO] [stdout] 858 | try!(ec.stream.write_all(&chunk.name[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:859:2 [INFO] [stdout] | [INFO] [stdout] 859 | try!(ec.stream.write_all(&chunk.data[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:863:2 [INFO] [stdout] | [INFO] [stdout] 863 | try!(ec.stream.write_all(&crc.finish_be()[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:877:34 [INFO] [stdout] | [INFO] [stdout] 877 | let (convert, c0, c1, c2, c3) = try!(converter(ColFmt::RGBA, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:923:3 [INFO] [stdout] | [INFO] [stdout] 923 | try!(ec.stream.write_all(&u32_to_be(n as u32)[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:924:3 [INFO] [stdout] | [INFO] [stdout] 924 | try!(ec.stream.write_all(b"IDAT")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:925:3 [INFO] [stdout] | [INFO] [stdout] 925 | try!(ec.stream.write_all(&compressed[..n])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:926:3 [INFO] [stdout] | [INFO] [stdout] 926 | try!(ec.stream.write_all(crc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/png.rs:918:11 [INFO] [stdout] | [INFO] [stdout] 918 | let n = try!(compressed_data.read(&mut compressed[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/png.rs:116:29 [INFO] [stdout] | [INFO] [stdout] 116 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 116 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/png.rs:112:26 [INFO] [stdout] | [INFO] [stdout] 112 | Error::Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/png.rs:112:26 [INFO] [stdout] | [INFO] [stdout] 112 | Error::Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/png.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | InvalidData(&'static str), [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 | InvalidData(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/png.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | InvalidArg(&'static str), [INFO] [stdout] | ---------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 87 | InvalidArg(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/png.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | Unsupported(&'static str), [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 88 | Unsupported(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/png.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | Internal(&'static str), [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 | Internal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `zero`, `as_f32`, and `from_f32` are never used [INFO] [stdout] --> src/png.rs:156:6 [INFO] [stdout] | [INFO] [stdout] 155 | pub trait Sample : Copy { [INFO] [stdout] | ------ associated items in this trait [INFO] [stdout] 156 | fn zero() -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] 157 | fn max_value() -> Self; [INFO] [stdout] 158 | fn as_f32(self) -> f32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 159 | fn from_f32(f32) -> Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/png.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | InvalidData(&'static str), [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 | InvalidData(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/png.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | InvalidArg(&'static str), [INFO] [stdout] | ---------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 87 | InvalidArg(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/png.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | Unsupported(&'static str), [INFO] [stdout] | ----------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 88 | Unsupported(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/png.rs:89:11 [INFO] [stdout] | [INFO] [stdout] 89 | Internal(&'static str), [INFO] [stdout] | -------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 | Internal(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `zero`, `as_f32`, and `from_f32` are never used [INFO] [stdout] --> src/png.rs:156:6 [INFO] [stdout] | [INFO] [stdout] 155 | pub trait Sample : Copy { [INFO] [stdout] | ------ associated items in this trait [INFO] [stdout] 156 | fn zero() -> Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] 157 | fn max_value() -> Self; [INFO] [stdout] 158 | fn as_f32(self) -> f32; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 159 | fn from_f32(f32) -> Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 57 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "2ec826d23e5b6f06911def92115ec39d65d513c46ca8cda61328e1ad9b9031b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec826d23e5b6f06911def92115ec39d65d513c46ca8cda61328e1ad9b9031b2", kill_on_drop: false }` [INFO] [stdout] 2ec826d23e5b6f06911def92115ec39d65d513c46ca8cda61328e1ad9b9031b2