[INFO] fetching crate xray 0.1.1... [INFO] testing xray-0.1.1 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate xray 0.1.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate xray 0.1.1 [INFO] finished tweaking crates.io crate xray 0.1.1 [INFO] tweaked toml for crates.io crate xray 0.1.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate xray 0.1.1 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 33 packages to latest compatible versions [INFO] [stderr] Adding gl v0.10.0 (available: v0.14.0) [INFO] [stderr] Adding image v0.19.0 (available: v0.25.8) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0b22bccc105197f1a0d2a2ef842908679a6013427ebe747b3e9c4afe18c8a7e [INFO] running `Command { std: "docker" "start" "-a" "e0b22bccc105197f1a0d2a2ef842908679a6013427ebe747b3e9c4afe18c8a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0b22bccc105197f1a0d2a2ef842908679a6013427ebe747b3e9c4afe18c8a7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0b22bccc105197f1a0d2a2ef842908679a6013427ebe747b3e9c4afe18c8a7e", kill_on_drop: false }` [INFO] [stdout] e0b22bccc105197f1a0d2a2ef842908679a6013427ebe747b3e9c4afe18c8a7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d43879d87b86d8b502c3e392f840befff99462bd257e8c0d0002ab6d8f4b4fbc [INFO] running `Command { std: "docker" "start" "-a" "d43879d87b86d8b502c3e392f840befff99462bd257e8c0d0002ab6d8f4b4fbc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling xray v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | fn write_actual(&self, &DynamicImage) -> XrayResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &DynamicImage` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | fn write_expected(&self, &DynamicImage) -> XrayResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &DynamicImage` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | fn write_diff(&self, &DynamicImage) -> XrayResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &DynamicImage` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | panic!(format!("{}", result.unwrap_err())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 310 - panic!(format!("{}", result.unwrap_err())) [INFO] [stdout] 310 + panic!("{}", result.unwrap_err()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.61s [INFO] running `Command { std: "docker" "inspect" "d43879d87b86d8b502c3e392f840befff99462bd257e8c0d0002ab6d8f4b4fbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d43879d87b86d8b502c3e392f840befff99462bd257e8c0d0002ab6d8f4b4fbc", kill_on_drop: false }` [INFO] [stdout] d43879d87b86d8b502c3e392f840befff99462bd257e8c0d0002ab6d8f4b4fbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb3511f5e3f8081f6ac8bbc843499e8eda444156765c17990c94dee9c12b5d9d [INFO] running `Command { std: "docker" "start" "-a" "bb3511f5e3f8081f6ac8bbc843499e8eda444156765c17990c94dee9c12b5d9d", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | fn write_actual(&self, &DynamicImage) -> XrayResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &DynamicImage` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | fn write_expected(&self, &DynamicImage) -> XrayResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &DynamicImage` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | fn write_diff(&self, &DynamicImage) -> XrayResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &DynamicImage` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xray v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | panic!(format!("{}", result.unwrap_err())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 310 - panic!(format!("{}", result.unwrap_err())) [INFO] [stdout] 310 + panic!("{}", result.unwrap_err()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | fn write_actual(&self, &DynamicImage) -> XrayResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &DynamicImage` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:93:30 [INFO] [stdout] | [INFO] [stdout] 93 | fn write_expected(&self, &DynamicImage) -> XrayResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &DynamicImage` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/lib.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | fn write_diff(&self, &DynamicImage) -> XrayResult<()>; [INFO] [stdout] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &DynamicImage` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:391:33 [INFO] [stdout] | [INFO] [stdout] 391 | fn capture_image(&self, x: i32, y: i32, width: u32, height: u32) -> XrayResult { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lib.rs:391:41 [INFO] [stdout] | [INFO] [stdout] 391 | fn capture_image(&self, x: i32, y: i32, width: u32, height: u32) -> XrayResult { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/lib.rs:391:49 [INFO] [stdout] | [INFO] [stdout] 391 | fn capture_image(&self, x: i32, y: i32, width: u32, height: u32) -> XrayResult { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/lib.rs:391:61 [INFO] [stdout] | [INFO] [stdout] 391 | fn capture_image(&self, x: i32, y: i32, width: u32, height: u32) -> XrayResult { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rbgw` [INFO] [stdout] --> src/lib.rs:435:13 [INFO] [stdout] | [INFO] [stdout] 435 | let rbgw = DynamicImage::ImageRgba8(ImageBuffer::from_vec(2, 2, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rbgw` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/lib.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | let expected = DynamicImage::ImageRgba8(ImageBuffer::from_vec(2, 2, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/lib.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | let expected = DynamicImage::ImageRgba8(ImageBuffer::from_vec(2, 2, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | panic!(format!("{}", result.unwrap_err())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 310 - panic!(format!("{}", result.unwrap_err())) [INFO] [stdout] 310 + panic!("{}", result.unwrap_err()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] running `Command { std: "docker" "inspect" "bb3511f5e3f8081f6ac8bbc843499e8eda444156765c17990c94dee9c12b5d9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb3511f5e3f8081f6ac8bbc843499e8eda444156765c17990c94dee9c12b5d9d", kill_on_drop: false }` [INFO] [stdout] bb3511f5e3f8081f6ac8bbc843499e8eda444156765c17990c94dee9c12b5d9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 81c08b16bae34e1dd6b65bc1b8e433f38af289b7e56b870cf5ce68c44e589ee1 [INFO] running `Command { std: "docker" "start" "-a" "81c08b16bae34e1dd6b65bc1b8e433f38af289b7e56b870cf5ce68c44e589ee1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:91:28 [INFO] [stderr] | [INFO] [stderr] 91 | fn write_actual(&self, &DynamicImage) -> XrayResult<()>; [INFO] [stderr] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &DynamicImage` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:93:30 [INFO] [stderr] | [INFO] [stderr] 93 | fn write_expected(&self, &DynamicImage) -> XrayResult<()>; [INFO] [stderr] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &DynamicImage` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/lib.rs:96:26 [INFO] [stderr] | [INFO] [stderr] 96 | fn write_diff(&self, &DynamicImage) -> XrayResult<()>; [INFO] [stderr] | ^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &DynamicImage` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:310:16 [INFO] [stderr] | [INFO] [stderr] 310 | panic!(format!("{}", result.unwrap_err())) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 310 - panic!(format!("{}", result.unwrap_err())) [INFO] [stderr] 310 + panic!("{}", result.unwrap_err()) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/lib.rs:391:33 [INFO] [stderr] | [INFO] [stderr] 391 | fn capture_image(&self, x: i32, y: i32, width: u32, height: u32) -> XrayResult { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/lib.rs:391:41 [INFO] [stderr] | [INFO] [stderr] 391 | fn capture_image(&self, x: i32, y: i32, width: u32, height: u32) -> XrayResult { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `width` [INFO] [stderr] --> src/lib.rs:391:49 [INFO] [stderr] | [INFO] [stderr] 391 | fn capture_image(&self, x: i32, y: i32, width: u32, height: u32) -> XrayResult { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `height` [INFO] [stderr] --> src/lib.rs:391:61 [INFO] [stderr] | [INFO] [stderr] 391 | fn capture_image(&self, x: i32, y: i32, width: u32, height: u32) -> XrayResult { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rbgw` [INFO] [stderr] --> src/lib.rs:435:13 [INFO] [stderr] | [INFO] [stderr] 435 | let rbgw = DynamicImage::ImageRgba8(ImageBuffer::from_vec(2, 2, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rbgw` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `expected` [INFO] [stderr] --> src/lib.rs:443:13 [INFO] [stderr] | [INFO] [stderr] 443 | let expected = DynamicImage::ImageRgba8(ImageBuffer::from_vec(2, 2, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `expected` [INFO] [stderr] --> src/lib.rs:475:13 [INFO] [stderr] | [INFO] [stderr] 475 | let expected = DynamicImage::ImageRgba8(ImageBuffer::from_vec(2, 2, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stderr] [INFO] [stderr] warning: `xray` (lib) generated 4 warnings (run `cargo fix --lib -p xray` to apply 4 suggestions) [INFO] [stderr] warning: `xray` (lib test) generated 11 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xray-f7f8c2183894ef98) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::test_diff_images ... ok [INFO] [stdout] test tests::test_success ... ok [INFO] [stdout] test tests::test_fail - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/xray-856552b18a258495) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests xray [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "81c08b16bae34e1dd6b65bc1b8e433f38af289b7e56b870cf5ce68c44e589ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81c08b16bae34e1dd6b65bc1b8e433f38af289b7e56b870cf5ce68c44e589ee1", kill_on_drop: false }` [INFO] [stdout] 81c08b16bae34e1dd6b65bc1b8e433f38af289b7e56b870cf5ce68c44e589ee1