[INFO] cloning repository https://github.com/naomijub/xray [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/naomijub/xray" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaomijub%2Fxray", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaomijub%2Fxray'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd38956bda88324b0dc4f45d0a057cb5110ef77b [INFO] testing naomijub/xray against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnaomijub%2Fxray" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/naomijub/xray on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/naomijub/xray [INFO] finished tweaking git repo https://github.com/naomijub/xray [INFO] tweaked toml for git repo https://github.com/naomijub/xray written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/naomijub/xray already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 531287ad56f204511bc1b5529189b05cb03a613293be6663636547d1a0a2c3d2 [INFO] running `Command { std: "docker" "start" "-a" "531287ad56f204511bc1b5529189b05cb03a613293be6663636547d1a0a2c3d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "531287ad56f204511bc1b5529189b05cb03a613293be6663636547d1a0a2c3d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "531287ad56f204511bc1b5529189b05cb03a613293be6663636547d1a0a2c3d2", kill_on_drop: false }` [INFO] [stdout] 531287ad56f204511bc1b5529189b05cb03a613293be6663636547d1a0a2c3d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] efc25840f7d855e1062b5fe5a3541211b7bbe513acea59417dccd2c825e077c2 [INFO] running `Command { std: "docker" "start" "-a" "efc25840f7d855e1062b5fe5a3541211b7bbe513acea59417dccd2c825e077c2", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling byteorder v1.2.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling proc-macro2 v0.4.6 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling log v0.4.2 [INFO] [stderr] Compiling inflate v0.4.2 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling rayon v1.0.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [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] = 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: 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: `#[warn(non_fmt_panics)]` on by default [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] 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 49.35s [INFO] running `Command { std: "docker" "inspect" "efc25840f7d855e1062b5fe5a3541211b7bbe513acea59417dccd2c825e077c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efc25840f7d855e1062b5fe5a3541211b7bbe513acea59417dccd2c825e077c2", kill_on_drop: false }` [INFO] [stdout] efc25840f7d855e1062b5fe5a3541211b7bbe513acea59417dccd2c825e077c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--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] 1917bb3d37e51f81866f9d092a67698b2d7237bbc1e3563fa8bf79e87bbfb93b [INFO] running `Command { std: "docker" "start" "-a" "1917bb3d37e51f81866f9d092a67698b2d7237bbc1e3563fa8bf79e87bbfb93b", kill_on_drop: false }` [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] = 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: 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: `#[warn(non_fmt_panics)]` on by default [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] 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: 4 warnings emitted [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] = 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: 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: `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] = note: `#[warn(unused_variables)]` on by default [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: 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] [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: 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: `#[warn(non_fmt_panics)]` on by default [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] 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: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.85s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/xray-7edece08a03919c2) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/xray-7995317dc6bb9ea8) [INFO] running `Command { std: "docker" "inspect" "1917bb3d37e51f81866f9d092a67698b2d7237bbc1e3563fa8bf79e87bbfb93b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1917bb3d37e51f81866f9d092a67698b2d7237bbc1e3563fa8bf79e87bbfb93b", kill_on_drop: false }` [INFO] [stdout] 1917bb3d37e51f81866f9d092a67698b2d7237bbc1e3563fa8bf79e87bbfb93b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", 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] 8e2714d02bf523bb13a0f214b9132dee83c80bb601155129e3d70fa0fe5b6ad7 [INFO] running `Command { std: "docker" "start" "-a" "8e2714d02bf523bb13a0f214b9132dee83c80bb601155129e3d70fa0fe5b6ad7", kill_on_drop: false }` [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] = note: `#[warn(anonymous_parameters)]` on by default [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: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: `#[warn(non_fmt_panics)]` on by default [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] 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: `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] = note: `#[warn(unused_variables)]` on by default [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: 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] 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: `xray` (lib) generated 4 warnings [INFO] [stderr] warning: `xray` (lib test) generated 11 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xray-7edece08a03919c2) [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.09s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/xray-7995317dc6bb9ea8) [INFO] [stdout] [INFO] [stderr] Doc-tests xray [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] [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" "8e2714d02bf523bb13a0f214b9132dee83c80bb601155129e3d70fa0fe5b6ad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e2714d02bf523bb13a0f214b9132dee83c80bb601155129e3d70fa0fe5b6ad7", kill_on_drop: false }` [INFO] [stdout] 8e2714d02bf523bb13a0f214b9132dee83c80bb601155129e3d70fa0fe5b6ad7