[INFO] fetching crate flif 0.4.1... [INFO] checking flif-0.4.1 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate flif 0.4.1 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate flif 0.4.1 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate flif 0.4.1 [INFO] finished tweaking crates.io crate flif 0.4.1 [INFO] tweaked toml for crates.io crate flif 0.4.1 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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] 3f99741f31bd34d57120cc02825320833d2d69e892be1d4f90e6a178ff8d69e7 [INFO] running `Command { std: "docker" "start" "-a" "3f99741f31bd34d57120cc02825320833d2d69e892be1d4f90e6a178ff8d69e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f99741f31bd34d57120cc02825320833d2d69e892be1d4f90e6a178ff8d69e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f99741f31bd34d57120cc02825320833d2d69e892be1d4f90e6a178ff8d69e7", kill_on_drop: false }` [INFO] [stdout] 3f99741f31bd34d57120cc02825320833d2d69e892be1d4f90e6a178ff8d69e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af4ba66534d097171aed6557e98beab0ca9ab3c05339f06076cfb104165ecfe7 [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" "af4ba66534d097171aed6557e98beab0ca9ab3c05339f06076cfb104165ecfe7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking flif v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/header.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 137 | ) -> Result<(Self, Box)> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/components/metadata.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | byte @ 1...31 => return Err(Error::UnknownRequiredMetadata(byte)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/bounds.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | previous_transformation: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/bounds.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | trans: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/ycocg.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | previous_transformation: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/ycocg.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(transformation: Box) -> YCoGg { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/mod.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | impl Transform for Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/mod.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | ) -> Result<(Vec, Box)> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/mod.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | let mut transform: Box = Box::new(Orig); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/mod.rs:133:77 [INFO] [stdout] | [INFO] [stdout] 133 | Transformation::YCoGg => Box::new(YCoGg::new(transform)) as Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/mod.rs:135:64 [INFO] [stdout] | [INFO] [stdout] 135 | Box::new(PermutePlanes::new(transform)) as Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | transform: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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/error.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking png v0.13.2 [INFO] [stdout] error: couldn't read benches/../../resources/sea_snail_cutout.flif: No such file or directory (os error 2) [INFO] [stdout] --> benches/decode.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | let data = include_bytes!("../../resources/sea_snail_cutout.flif"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read benches/../../resources/road.flif: No such file or directory (os error 2) [INFO] [stdout] --> benches/decode.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | let data = include_bytes!("../../resources/road.flif"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read benches/../../resources/rust_logo.flif: No such file or directory (os error 2) [INFO] [stdout] --> benches/decode.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | let data = include_bytes!("../../resources/rust_logo.flif"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `flif` due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: couldn't read tests/../../resources/rust_logo.png: No such file or directory (os error 2) [INFO] [stdout] --> tests/alpha_zero.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let png_data = include_bytes!("../../resources/rust_logo.png").as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/../../resources/rust_logo_discard_invisible.flif: No such file or directory (os error 2) [INFO] [stdout] --> tests/alpha_zero.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | let flif_data = include_bytes!("../../resources/rust_logo_discard_invisible.flif").as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/../../resources/sea_snail.png: No such file or directory (os error 2) [INFO] [stdout] --> tests/png_equality.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | include_bytes!(concat!("../../resources/", stringify!($name), ".png")).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | test_equality!(sea_snail); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/../../resources/sea_snail.flif: No such file or directory (os error 2) [INFO] [stdout] --> tests/png_equality.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | include_bytes!(concat!("../../resources/", stringify!($name), ".flif")).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | test_equality!(sea_snail); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/../../resources/sea_snail_cutout.png: No such file or directory (os error 2) [INFO] [stdout] --> tests/png_equality.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | include_bytes!(concat!("../../resources/", stringify!($name), ".png")).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | test_equality!(sea_snail_cutout); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/../../resources/sea_snail_cutout.flif: No such file or directory (os error 2) [INFO] [stdout] --> tests/png_equality.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | include_bytes!(concat!("../../resources/", stringify!($name), ".flif")).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | test_equality!(sea_snail_cutout); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/../../resources/rust_logo.png: No such file or directory (os error 2) [INFO] [stdout] --> tests/png_equality.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | include_bytes!(concat!("../../resources/", stringify!($name), ".png")).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | test_equality!(rust_logo); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/../../resources/rust_logo.flif: No such file or directory (os error 2) [INFO] [stdout] --> tests/png_equality.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | include_bytes!(concat!("../../resources/", stringify!($name), ".flif")).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | test_equality!(rust_logo); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/../../resources/rgba_edge.png: No such file or directory (os error 2) [INFO] [stdout] --> tests/png_equality.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | include_bytes!(concat!("../../resources/", stringify!($name), ".png")).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | test_equality!(rgba_edge); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/../../resources/rgba_edge.flif: No such file or directory (os error 2) [INFO] [stdout] --> tests/png_equality.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | include_bytes!(concat!("../../resources/", stringify!($name), ".flif")).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | test_equality!(rgba_edge); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/../../resources/road.png: No such file or directory (os error 2) [INFO] [stdout] --> tests/png_equality.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | include_bytes!(concat!("../../resources/", stringify!($name), ".png")).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | test_equality!(road); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/../../resources/road.flif: No such file or directory (os error 2) [INFO] [stdout] --> tests/png_equality.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | include_bytes!(concat!("../../resources/", stringify!($name), ".flif")).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | test_equality!(road); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/../../resources/road2.png: No such file or directory (os error 2) [INFO] [stdout] --> tests/png_equality.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | include_bytes!(concat!("../../resources/", stringify!($name), ".png")).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | test_equality!(road2); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read tests/../../resources/road2.flif: No such file or directory (os error 2) [INFO] [stdout] --> tests/png_equality.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | include_bytes!(concat!("../../resources/", stringify!($name), ".flif")).as_ref(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | test_equality!(road2); [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/header.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 137 | ) -> Result<(Self, Box)> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/components/metadata.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | byte @ 1...31 => return Err(Error::UnknownRequiredMetadata(byte)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/bounds.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | previous_transformation: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/bounds.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | trans: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/ycocg.rs:13:34 [INFO] [stdout] | [INFO] [stdout] 13 | previous_transformation: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/ycocg.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new(transformation: Box) -> YCoGg { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/mod.rs:87:24 [INFO] [stdout] | [INFO] [stdout] 87 | impl Transform for Box { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/mod.rs:122:39 [INFO] [stdout] | [INFO] [stdout] 122 | ) -> Result<(Vec, Box)> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/mod.rs:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | let mut transform: Box = Box::new(Orig); [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/mod.rs:133:77 [INFO] [stdout] | [INFO] [stdout] 133 | Transformation::YCoGg => Box::new(YCoGg::new(transform)) as Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/components/transformations/mod.rs:135:64 [INFO] [stdout] | [INFO] [stdout] 135 | Box::new(PermutePlanes::new(transform)) as Box [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:93:20 [INFO] [stdout] | [INFO] [stdout] 93 | transform: Box, [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn Transform` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [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/error.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | Error::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "af4ba66534d097171aed6557e98beab0ca9ab3c05339f06076cfb104165ecfe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af4ba66534d097171aed6557e98beab0ca9ab3c05339f06076cfb104165ecfe7", kill_on_drop: false }` [INFO] [stdout] af4ba66534d097171aed6557e98beab0ca9ab3c05339f06076cfb104165ecfe7