[INFO] fetching crate aci_png 0.8.0-pre0... [INFO] building aci_png-0.8.0-pre0 against try#d5c88c22807925c189328ef9d923c5d2b11a95b8+rustflags=-Zprofile-closures for pr-87066-3 [INFO] extracting crate aci_png 0.8.0-pre0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate aci_png 0.8.0-pre0 on toolchain d5c88c22807925c189328ef9d923c5d2b11a95b8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded afi v0.8.0-pre0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "metadata" "--no-deps" "--format-version=1", 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] c7fd82d87c6b9b7a6360264b94981eb96042f47a8b34cba9a5fcf1be7a23dd13 [INFO] running `Command { std: "docker" "start" "-a" "c7fd82d87c6b9b7a6360264b94981eb96042f47a8b34cba9a5fcf1be7a23dd13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7fd82d87c6b9b7a6360264b94981eb96042f47a8b34cba9a5fcf1be7a23dd13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7fd82d87c6b9b7a6360264b94981eb96042f47a8b34cba9a5fcf1be7a23dd13", kill_on_drop: false }` [INFO] [stdout] c7fd82d87c6b9b7a6360264b94981eb96042f47a8b34cba9a5fcf1be7a23dd13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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 -Zprofile-closures" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "build" "--frozen" "--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] 6aedde760fe00b87c30adde9b7523da7346cb502ff9923c20fe957569aee8e44 [INFO] running `Command { std: "docker" "start" "-a" "6aedde760fe00b87c30adde9b7523da7346cb502ff9923c20fe957569aee8e44", kill_on_drop: false }` [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling afi v0.8.0-pre0 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (ce2662aa8132d68c, ab4d0aa0d2702d23), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (ce2662aa8132d68c, ab4d0aa0d2702d23), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (e0466736d2cd696a, 23cd9d1a28d803d5), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (2d82840204250e30, 82002d2145f4af4), 16, 16 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (307722fb45934e68, eb967cea6548541e), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (950ee959300356d7, e732fd4f5a5f0b65), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (3abffcb5ea76d08f, 8b59e4a3db1aa2ee), 8, 8 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (e2e54addbbac05df, 788566ade102b6be), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (e10e9d5c0843cb1d, 9470c3d1266a19ba), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (f4e5e9abf171950e, 43174d73d576716b), 0, 0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (f2ae70151f10d5ae, 76c5708e68eb7721), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (4aaa0b01beb646a6, 410ac639503e624c), 8, 8 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (d334a05dc340d999, 7f6e1343069a1efe), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (d18f46f2397ef5d9, 618b993e1ce393c9), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (8bd0f902215a1d97, a2e232cf4f152d76), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (b7df65b3a500d071, cac5667804f0e60c), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (de1b8eea5ce7cb07, 878afcfdf49a933a), 8, 8 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (55ebbe3a1437d579, cb8cfc9ce6fe39fa), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (2e27019f4833b8bd, 8c897d1ca96112bc), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (f6828894a173288e, 2e672db017be4c6b), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (f1ccb1aeb9ce875b, 15d6551699506197), 0, 0 [INFO] [stderr] Compiling 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] = 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] [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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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] | ^^^^^^^^^ 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: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: 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] [stderr] SG_CR_Eslkdjf: aci_png, (bc498eb0f594eff3, 52818c522f2ae66), 8, 8 [INFO] [stdout] warning: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.66s [INFO] running `Command { std: "docker" "inspect" "6aedde760fe00b87c30adde9b7523da7346cb502ff9923c20fe957569aee8e44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aedde760fe00b87c30adde9b7523da7346cb502ff9923c20fe957569aee8e44", kill_on_drop: false }` [INFO] [stdout] 6aedde760fe00b87c30adde9b7523da7346cb502ff9923c20fe957569aee8e44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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 -Zprofile-closures" "-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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d5c88c22807925c189328ef9d923c5d2b11a95b8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29b1a35bffeffda60d9aeb6b1bc65da9abd818392dfa979b4e71a55b3821937a [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" "29b1a35bffeffda60d9aeb6b1bc65da9abd818392dfa979b4e71a55b3821937a", kill_on_drop: false }` [INFO] [stderr] SG_CR_Eslkdjf: inflate, (ce2662aa8132d68c, ab4d0aa0d2702d23), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (ce2662aa8132d68c, ab4d0aa0d2702d23), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (e0466736d2cd696a, 23cd9d1a28d803d5), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (2d82840204250e30, 82002d2145f4af4), 16, 16 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (307722fb45934e68, eb967cea6548541e), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (950ee959300356d7, e732fd4f5a5f0b65), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (3abffcb5ea76d08f, 8b59e4a3db1aa2ee), 8, 8 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (e2e54addbbac05df, 788566ade102b6be), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (e10e9d5c0843cb1d, 9470c3d1266a19ba), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: inflate, (f4e5e9abf171950e, 43174d73d576716b), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (f2ae70151f10d5ae, 76c5708e68eb7721), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (4aaa0b01beb646a6, 410ac639503e624c), 8, 8 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (d334a05dc340d999, 7f6e1343069a1efe), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (d18f46f2397ef5d9, 618b993e1ce393c9), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (8bd0f902215a1d97, a2e232cf4f152d76), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (b7df65b3a500d071, cac5667804f0e60c), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (de1b8eea5ce7cb07, 878afcfdf49a933a), 8, 8 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (55ebbe3a1437d579, cb8cfc9ce6fe39fa), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (2e27019f4833b8bd, 8c897d1ca96112bc), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (f6828894a173288e, 2e672db017be4c6b), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: deflate, (f1ccb1aeb9ce875b, 15d6551699506197), 0, 0 [INFO] [stderr] SG_CR_Eslkdjf: aci_png, (bc498eb0f594eff3, 52818c522f2ae66), 8, 8 [INFO] [stderr] Compiling 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] = 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] [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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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] | ^^^^^^^^^ 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: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: 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: 52 warnings emitted [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] = 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] [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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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] | ^^^^^^^^^ 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: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: 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: 52 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.29s [INFO] running `Command { std: "docker" "inspect" "29b1a35bffeffda60d9aeb6b1bc65da9abd818392dfa979b4e71a55b3821937a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29b1a35bffeffda60d9aeb6b1bc65da9abd818392dfa979b4e71a55b3821937a", kill_on_drop: false }` [INFO] [stdout] 29b1a35bffeffda60d9aeb6b1bc65da9abd818392dfa979b4e71a55b3821937a