[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] 2809890d4bde5b3146a71bf5623f6218b0b0e9ec [INFO] checking DhruvDh/dis_image_viewer against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDhruvDh%2Fdis_image_viewer" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DhruvDh/dis_image_viewer on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "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-4-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/parasyte/pixels.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded x11-dl v2.18.4 [INFO] [stderr] Downloaded winit_input_helper v0.4.0-alpha6 [INFO] [stderr] Downloaded walkdir v2.2.9 [INFO] [stderr] Downloaded same-file v1.0.5 [INFO] [stderr] Downloaded xml-rs v0.8.0 [INFO] [stderr] Downloaded atty v0.2.13 [INFO] [stderr] Downloaded quick-error v1.2.3 [INFO] [stderr] Downloaded regex-syntax v0.6.12 [INFO] [stderr] Downloaded libc v0.2.66 [INFO] [stderr] Downloaded wasm-bindgen v0.2.56 [INFO] [stderr] Downloaded zerocopy-derive v0.1.4 [INFO] [stderr] Downloaded spirv_cross v0.16.0 [INFO] [stderr] Downloaded regex v1.3.1 [INFO] [stderr] Downloaded gfx-backend-dx11 v0.4.4 [INFO] [stderr] Downloaded colorful v0.2.1 [INFO] [stderr] Downloaded relevant v0.4.2 [INFO] [stderr] Downloaded syn v1.0.13 [INFO] [stderr] Downloaded ash v0.29.0 [INFO] [stderr] Downloaded winit v0.20.0-alpha6 [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded aho-corasick v0.7.6 [INFO] [stderr] Downloaded memchr v2.2.1 [INFO] [stderr] Downloaded thread_local v0.3.6 [INFO] [stderr] Downloaded termcolor v1.0.5 [INFO] [stderr] Downloaded wgpu v0.4.0 [INFO] [stderr] Downloaded env_logger v0.7.1 [INFO] [stderr] Downloaded d3d12 v0.3.0 [INFO] [stderr] Downloaded gfx-backend-dx12 v0.4.1 [INFO] [stderr] Downloaded copyless v0.1.4 [INFO] [stderr] Downloaded metal v0.17.1 [INFO] [stderr] Downloaded js-sys v0.3.33 [INFO] [stderr] Downloaded proc-macro2 v1.0.7 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.56 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.56 [INFO] [stderr] Downloaded gfx-backend-metal v0.4.2 [INFO] [stderr] Downloaded x11 v2.18.1 [INFO] [stderr] Downloaded gfx-backend-vulkan v0.4.0 [INFO] [stderr] Downloaded parking_lot_core v0.6.2 [INFO] [stderr] Downloaded parking_lot v0.9.0 [INFO] [stderr] Downloaded gfx-hal v0.4.1 [INFO] [stderr] Downloaded atom v0.3.5 [INFO] [stderr] Downloaded smallvec v0.6.14 [INFO] [stderr] Downloaded wgpu-native v0.4.2 [INFO] [stderr] Downloaded ryu v1.0.2 [INFO] [stderr] Downloaded serde v1.0.104 [INFO] [stderr] Downloaded serde_json v1.0.48 [INFO] [stderr] Downloaded dispatch v0.1.4 [INFO] [stderr] Downloaded parking_lot v0.10.0 [INFO] [stderr] Downloaded smithay-client-toolkit v0.6.4 [INFO] [stderr] Downloaded wincolor v1.0.2 [INFO] [stderr] Downloaded gfx-backend-empty v0.4.0 [INFO] [stderr] Downloaded gfx-auxil v0.1.0 [INFO] [stderr] Downloaded range-alloc v0.1.0 [INFO] [stderr] Downloaded quote v1.0.2 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.56 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.56 [INFO] [stderr] Downloaded storage-map v0.2.0 [INFO] [stderr] Downloaded rendy-descriptor v0.5.1 [INFO] [stderr] Downloaded hibitset v0.6.2 [INFO] [stderr] Downloaded rendy-memory v0.5.2 [INFO] [stderr] Downloaded synstructure v0.10.2 [INFO] [stderr] Downloaded zerocopy v0.2.8 [INFO] [stderr] Downloaded itoa v0.4.5 [INFO] [stderr] Downloaded scopeguard v1.0.0 [INFO] [stderr] Downloaded lock_api v0.3.3 [INFO] [stderr] Downloaded smallvec v1.1.0 [INFO] [stderr] Downloaded parking_lot_core v0.7.0 [INFO] [stderr] Downloaded byteorder v1.3.2 [INFO] [stderr] Downloaded rusttype v0.8.2 [INFO] [stderr] Downloaded winapi-util v0.1.2 [INFO] [stderr] Downloaded cc v1.0.48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c85097ab87bab6b5a0fc3c75b607ba1b051a7de8a77a86a7cf9fed25cf79c00 [INFO] running `Command { std: "docker" "start" "-a" "3c85097ab87bab6b5a0fc3c75b607ba1b051a7de8a77a86a7cf9fed25cf79c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c85097ab87bab6b5a0fc3c75b607ba1b051a7de8a77a86a7cf9fed25cf79c00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c85097ab87bab6b5a0fc3c75b607ba1b051a7de8a77a86a7cf9fed25cf79c00", kill_on_drop: false }` [INFO] [stdout] 3c85097ab87bab6b5a0fc3c75b607ba1b051a7de8a77a86a7cf9fed25cf79c00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3943c117d0598ca2d07f5a85a50c3b73caa2bb869a1ed6947017d42ae25d640c [INFO] running `Command { std: "docker" "start" "-a" "3943c117d0598ca2d07f5a85a50c3b73caa2bb869a1ed6947017d42ae25d640c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking hibitset v0.6.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking colorful v0.2.1 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling x11 v2.18.1 [INFO] [stderr] Checking relevant v0.4.2 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking copyless v0.1.4 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking gfx-hal v0.4.1 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking ash v0.29.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking rendy-memory v0.5.2 [INFO] [stderr] Checking rendy-descriptor v0.5.1 [INFO] [stderr] Checking gfx-backend-empty v0.4.0 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Compiling zerocopy-derive v0.1.4 [INFO] [stderr] Checking zerocopy v0.2.8 [INFO] [stderr] Checking gfx-backend-vulkan v0.4.0 [INFO] [stderr] Checking wgpu-native v0.4.2 [INFO] [stderr] Checking wgpu v0.4.0 [INFO] [stderr] Checking pixels v0.0.3 (https://github.com/parasyte/pixels.git#7701ac2d) [INFO] [stderr] Checking smithay-client-toolkit v0.6.4 [INFO] [stderr] Checking winit v0.20.0-alpha6 [INFO] [stderr] Checking winit_input_helper v0.4.0-alpha6 [INFO] [stderr] Checking 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: 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: 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)]` on by default [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] [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: 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)]` on by default [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` profile [unoptimized + debuginfo] target(s) in 32.79s [INFO] running `Command { std: "docker" "inspect" "3943c117d0598ca2d07f5a85a50c3b73caa2bb869a1ed6947017d42ae25d640c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3943c117d0598ca2d07f5a85a50c3b73caa2bb869a1ed6947017d42ae25d640c", kill_on_drop: false }` [INFO] [stdout] 3943c117d0598ca2d07f5a85a50c3b73caa2bb869a1ed6947017d42ae25d640c