[INFO] fetching crate aci_png 0.8.0-pre0... [INFO] checking aci_png-0.8.0-pre0 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate aci_png 0.8.0-pre0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate aci_png 0.8.0-pre0 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9fd8d4eed879281f3af8a856692a58fbafbf54af57a22972deec6ed830238ee [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e9fd8d4eed879281f3af8a856692a58fbafbf54af57a22972deec6ed830238ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9fd8d4eed879281f3af8a856692a58fbafbf54af57a22972deec6ed830238ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9fd8d4eed879281f3af8a856692a58fbafbf54af57a22972deec6ed830238ee", kill_on_drop: false }` [INFO] [stdout] e9fd8d4eed879281f3af8a856692a58fbafbf54af57a22972deec6ed830238ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d0cc59d1d949c0b378e9582048b9e7e9a9fa1cb35742b0d84b83fa573606f17b [INFO] running `Command { std: "docker" "start" "-a" "d0cc59d1d949c0b378e9582048b9e7e9a9fa1cb35742b0d84b83fa573606f17b", kill_on_drop: false }` [INFO] [stderr] Checking afi v0.8.0-pre0 [INFO] [stderr] Checking aci_png v0.8.0-pre0 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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: 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: unnecessary parentheses around type [INFO] [stdout] --> src/png.rs:665:12 [INFO] [stdout] | [INFO] [stdout] 665 | -> Result<(Vec), Error> [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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: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: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: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:918:11 [INFO] [stdout] | [INFO] [stdout] 918 | let n = try!(compressed_data.read(&mut compressed[..])); [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: 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] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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: 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: unnecessary parentheses around type [INFO] [stdout] --> src/png.rs:665:12 [INFO] [stdout] | [INFO] [stdout] 665 | -> Result<(Vec), Error> [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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: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: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: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:918:11 [INFO] [stdout] | [INFO] [stdout] 918 | let n = try!(compressed_data.read(&mut compressed[..])); [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 associated function `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 associated function `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: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.14s [INFO] running `Command { std: "docker" "inspect" "d0cc59d1d949c0b378e9582048b9e7e9a9fa1cb35742b0d84b83fa573606f17b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0cc59d1d949c0b378e9582048b9e7e9a9fa1cb35742b0d84b83fa573606f17b", kill_on_drop: false }` [INFO] [stdout] d0cc59d1d949c0b378e9582048b9e7e9a9fa1cb35742b0d84b83fa573606f17b