[INFO] cloning repository https://github.com/DhruvDh/dis_image_viewer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DhruvDh/dis_image_viewer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhruvDh%2Fdis_image_viewer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhruvDh%2Fdis_image_viewer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0424d75832c380c7b569bba006f43407f1afe320 [INFO] testing DhruvDh/dis_image_viewer against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhruvDh%2Fdis_image_viewer" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DhruvDh/dis_image_viewer on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DhruvDh/dis_image_viewer [INFO] finished tweaking git repo https://github.com/DhruvDh/dis_image_viewer [INFO] tweaked toml for git repo https://github.com/DhruvDh/dis_image_viewer written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/DhruvDh/dis_image_viewer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/parasyte/pixels.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gfx-backend-empty v0.4.0 [INFO] [stderr] Downloaded zerocopy v0.2.8 [INFO] [stderr] Downloaded rendy-descriptor v0.5.1 [INFO] [stderr] Downloaded rendy-memory v0.5.2 [INFO] [stderr] Downloaded wgpu-native v0.4.2 [INFO] [stderr] Downloaded metal v0.17.1 [INFO] [stderr] Downloaded gfx-backend-vulkan v0.4.0 [INFO] [stderr] Downloaded zerocopy-derive v0.1.4 [INFO] [stderr] Downloaded gfx-backend-metal v0.4.2 [INFO] [stderr] Downloaded wgpu v0.4.0 [INFO] [stderr] Downloaded winit_input_helper v0.4.0-alpha6 [INFO] [stderr] Downloaded gfx-backend-dx11 v0.4.4 [INFO] [stderr] Downloaded winit v0.20.0-alpha6 [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] ff84a681bff8cf88a84d42c60970463aeeab5116d315e293532a81ee752d2573 [INFO] running `Command { std: "docker" "start" "-a" "ff84a681bff8cf88a84d42c60970463aeeab5116d315e293532a81ee752d2573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff84a681bff8cf88a84d42c60970463aeeab5116d315e293532a81ee752d2573", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff84a681bff8cf88a84d42c60970463aeeab5116d315e293532a81ee752d2573", kill_on_drop: false }` [INFO] [stdout] ff84a681bff8cf88a84d42c60970463aeeab5116d315e293532a81ee752d2573 [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=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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 334804bcb7b92de443945442e765ae17f0350792af314fbeeda5b204b3a273be [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" "334804bcb7b92de443945442e765ae17f0350792af314fbeeda5b204b3a273be", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling atom v0.3.5 [INFO] [stderr] Compiling colorful v0.2.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling instant v0.1.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling x11 v2.18.1 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling gfx-hal v0.4.1 [INFO] [stderr] Compiling hibitset v0.6.2 [INFO] [stderr] Compiling ash v0.29.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling relevant v0.4.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-sys v0.23.6 [INFO] [stderr] Compiling zerocopy-derive v0.1.4 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Compiling wayland-commons v0.23.6 [INFO] [stderr] Compiling calloop v0.4.4 [INFO] [stderr] Compiling rendy-memory v0.5.2 [INFO] [stderr] Compiling gfx-backend-empty v0.4.0 [INFO] [stderr] Compiling rendy-descriptor v0.5.1 [INFO] [stderr] Compiling zerocopy v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling gfx-backend-vulkan v0.4.0 [INFO] [stderr] Compiling wgpu-native v0.4.2 [INFO] [stderr] Compiling wgpu v0.4.0 [INFO] [stderr] Compiling pixels v0.0.3 (https://github.com/parasyte/pixels.git#7701ac2d) [INFO] [stderr] Compiling smithay-client-toolkit v0.6.4 [INFO] [stderr] Compiling winit v0.20.0-alpha6 [INFO] [stderr] Compiling winit_input_helper v0.4.0-alpha6 [INFO] [stderr] Compiling dip_viewer v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Pixels` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use pixels::{Pixels, SurfaceTexture, wgpu::Surface, PixelsBuilder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | Err(e) => panic!(format!("Could not read line {} as a string due to {}", index, e)) [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] 95 - Err(e) => panic!(format!("Could not read line {} as a string due to {}", index, e)) [INFO] [stdout] 95 + Err(e) => panic!("Could not read line {} as a string due to {}", index, e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | ... 0 => panic!(format!("Could not parse Red component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [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] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 117 - 0 => panic!(format!("Could not parse Red component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [INFO] [stdout] 117 + 0 => panic!("Could not parse Red component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:118:37 [INFO] [stdout] | [INFO] [stdout] 118 | ... 1 => panic!(format!("Could not parse Green component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [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] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 118 - 1 => panic!(format!("Could not parse Green component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [INFO] [stdout] 118 + 1 => panic!("Could not parse Green component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:119:37 [INFO] [stdout] | [INFO] [stdout] 119 | ... 2 => panic!(format!("Could not parse Blue component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [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] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 119 - 2 => panic!(format!("Could not parse Blue component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [INFO] [stdout] 119 + 2 => panic!("Could not parse Blue component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | _ => panic!(format!("Pixel no. {} seems to have more than 3 colors due to {}", index, e)) [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] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 120 - _ => panic!(format!("Pixel no. {} seems to have more than 3 colors due to {}", index, e)) [INFO] [stdout] 120 + _ => panic!("Pixel no. {} seems to have more than 3 colors due to {}", index, e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 35s [INFO] running `Command { std: "docker" "inspect" "334804bcb7b92de443945442e765ae17f0350792af314fbeeda5b204b3a273be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "334804bcb7b92de443945442e765ae17f0350792af314fbeeda5b204b3a273be", kill_on_drop: false }` [INFO] [stdout] 334804bcb7b92de443945442e765ae17f0350792af314fbeeda5b204b3a273be [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=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" "+1.60.0" "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] 04fc67c4ccd84a8fcc9557573ca8d86f263e939dd70544ddb998dd4363823d59 [INFO] running `Command { std: "docker" "start" "-a" "04fc67c4ccd84a8fcc9557573ca8d86f263e939dd70544ddb998dd4363823d59", kill_on_drop: false }` [INFO] [stderr] Compiling dip_viewer v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Pixels` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use pixels::{Pixels, SurfaceTexture, wgpu::Surface, PixelsBuilder}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | Err(e) => panic!(format!("Could not read line {} as a string due to {}", index, e)) [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] 95 - Err(e) => panic!(format!("Could not read line {} as a string due to {}", index, e)) [INFO] [stdout] 95 + Err(e) => panic!("Could not read line {} as a string due to {}", index, e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | ... 0 => panic!(format!("Could not parse Red component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [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] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 117 - 0 => panic!(format!("Could not parse Red component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [INFO] [stdout] 117 + 0 => panic!("Could not parse Red component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:118:37 [INFO] [stdout] | [INFO] [stdout] 118 | ... 1 => panic!(format!("Could not parse Green component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [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] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 118 - 1 => panic!(format!("Could not parse Green component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [INFO] [stdout] 118 + 1 => panic!("Could not parse Green component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:119:37 [INFO] [stdout] | [INFO] [stdout] 119 | ... 2 => panic!(format!("Could not parse Blue component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [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] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 119 - 2 => panic!(format!("Could not parse Blue component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [INFO] [stdout] 119 + 2 => panic!("Could not parse Blue component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:120:37 [INFO] [stdout] | [INFO] [stdout] 120 | _ => panic!(format!("Pixel no. {} seems to have more than 3 colors due to {}", index, e)) [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] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 120 - _ => panic!(format!("Pixel no. {} seems to have more than 3 colors due to {}", index, e)) [INFO] [stdout] 120 + _ => panic!("Pixel no. {} seems to have more than 3 colors due to {}", index, e) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.96s [INFO] running `Command { std: "docker" "inspect" "04fc67c4ccd84a8fcc9557573ca8d86f263e939dd70544ddb998dd4363823d59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04fc67c4ccd84a8fcc9557573ca8d86f263e939dd70544ddb998dd4363823d59", kill_on_drop: false }` [INFO] [stdout] 04fc67c4ccd84a8fcc9557573ca8d86f263e939dd70544ddb998dd4363823d59 [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=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" "+1.60.0" "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] 8d3c718c519e4cf83002330fd909b07af735ab375f3d9828efc970ccfcf963ef [INFO] running `Command { std: "docker" "start" "-a" "8d3c718c519e4cf83002330fd909b07af735ab375f3d9828efc970ccfcf963ef", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Pixels` [INFO] [stderr] --> src/main.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use pixels::{Pixels, SurfaceTexture, wgpu::Surface, PixelsBuilder}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:95:30 [INFO] [stderr] | [INFO] [stderr] 95 | Err(e) => panic!(format!("Could not read line {} as a string due to {}", index, e)) [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] 95 - Err(e) => panic!(format!("Could not read line {} as a string due to {}", index, e)) [INFO] [stderr] 95 + Err(e) => panic!("Could not read line {} as a string due to {}", index, e) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:117:37 [INFO] [stderr] | [INFO] [stderr] 117 | ... 0 => panic!(format!("Could not parse Red component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [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] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 117 - 0 => panic!(format!("Could not parse Red component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [INFO] [stderr] 117 + 0 => panic!("Could not parse Red component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:118:37 [INFO] [stderr] | [INFO] [stderr] 118 | ... 1 => panic!(format!("Could not parse Green component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [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] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 118 - 1 => panic!(format!("Could not parse Green component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [INFO] [stderr] 118 + 1 => panic!("Could not parse Green component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:119:37 [INFO] [stderr] | [INFO] [stderr] 119 | ... 2 => panic!(format!("Could not parse Blue component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [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] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 119 - 2 => panic!(format!("Could not parse Blue component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e)), [INFO] [stderr] 119 + 2 => panic!("Could not parse Blue component of pixel no. {} as an 8-bit unsigned integer due to {}", index, e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:120:37 [INFO] [stderr] | [INFO] [stderr] 120 | _ => panic!(format!("Pixel no. {} seems to have more than 3 colors due to {}", index, e)) [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] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 120 - _ => panic!(format!("Pixel no. {} seems to have more than 3 colors due to {}", index, e)) [INFO] [stderr] 120 + _ => panic!("Pixel no. {} seems to have more than 3 colors due to {}", index, e) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `dip_viewer` (bin "dip_viewer" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.34s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/dip_viewer-5a974d6bee331fd1) [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" "8d3c718c519e4cf83002330fd909b07af735ab375f3d9828efc970ccfcf963ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d3c718c519e4cf83002330fd909b07af735ab375f3d9828efc970ccfcf963ef", kill_on_drop: false }` [INFO] [stdout] 8d3c718c519e4cf83002330fd909b07af735ab375f3d9828efc970ccfcf963ef