[INFO] cloning repository https://github.com/awxkee/yuvutils-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/awxkee/yuvutils-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawxkee%2Fyuvutils-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawxkee%2Fyuvutils-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 289b60c777620fa3a237e8a82ed66224afb6e16c [INFO] checking awxkee/yuvutils-rs against master#31a9463c6e2794a59ce57a8f37abc6966afc2a58 for pr-149045 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fawxkee%2Fyuvutils-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/awxkee/yuvutils-rs [INFO] finished tweaking git repo https://github.com/awxkee/yuvutils-rs [INFO] tweaked toml for git repo https://github.com/awxkee/yuvutils-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/awxkee/yuvutils-rs on toolchain 31a9463c6e2794a59ce57a8f37abc6966afc2a58 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "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" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 132 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.6.0 (available: v0.8.2) [INFO] [stderr] Adding rand v0.9.4 (available: v0.10.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fast_transpose v0.2.6 [INFO] [stderr] Downloaded criterion v0.6.0 [INFO] [stderr] Downloaded yuv-sys v0.3.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d25f856319f7e30b71b4c5105a930afc9f655231f209062ed5f0d241bc95501d [INFO] running `Command { std: "docker" "start" "-a" "d25f856319f7e30b71b4c5105a930afc9f655231f209062ed5f0d241bc95501d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d25f856319f7e30b71b4c5105a930afc9f655231f209062ed5f0d241bc95501d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d25f856319f7e30b71b4c5105a930afc9f655231f209062ed5f0d241bc95501d", kill_on_drop: false }` [INFO] [stdout] d25f856319f7e30b71b4c5105a930afc9f655231f209062ed5f0d241bc95501d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+31a9463c6e2794a59ce57a8f37abc6966afc2a58" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5ff976dd1da001f6858bfb9e160576f9ed474d7fa5a5d04d209fee2ce0827db9 [INFO] running `Command { std: "docker" "start" "-a" "5ff976dd1da001f6858bfb9e160576f9ed474d7fa5a5d04d209fee2ce0827db9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling zerocopy v0.8.50 [INFO] [stderr] Compiling memchr v2.8.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling rustc-hash v2.1.2 [INFO] [stderr] Compiling bitflags v2.12.1 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling log v0.4.31 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking fast_transpose v0.2.6 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking zune-core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking pxfm v0.1.29 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking zune-jpeg v0.5.15 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Checking rayon v1.12.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking yuv v0.8.14 (/opt/rustwide/workdir) [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking serde_json v1.0.150 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking getrandom v0.4.2 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking rand v0.10.1 [INFO] [stderr] Checking moxcms v0.8.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.50 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking image v0.25.10 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling yuv-sys v0.3.14 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.4 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking criterion v0.6.0 [INFO] [stderr] Checking app v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stdout] warning: unused import: `std::hint::black_box` [INFO] [stdout] --> app/benches/yuv8/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use std::hint::black_box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `YuvPlanarImage`, `gbr_to_rgba`, `icgc_ro210_to_rgba`, `icgc_ro410_to_rgba`, `rdp_rgba_to_yuv444`, `rgb_to_icgc_ro410`, `rgba_to_icgc_ro210`, and `rgba_to_icgc_ro410` [INFO] [stdout] --> app/benches/yuv8/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | gbr_to_rgba, icgc_ro210_to_rgba, icgc_ro410_to_rgba, rdp_rgba_to_yuv444, rgb_to_gbr, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | rgb_to_icgc_ro410, rgb_to_yuv400, rgb_to_yuv420, rgb_to_yuv422, rgb_to_yuv444, rgb_to_yuv_nv12, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | rgb_to_yuv_nv16, rgba_to_icgc_ro210, rgba_to_icgc_ro410, rgba_to_yuv420, rgba_to_yuv422, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | YuvPlanarImage, YuvPlanarImageMut, YuvRange, YuvStandardMatrix, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rs_RGB24ToI420` [INFO] [stdout] --> app/benches/yuv8/main.rs:45:50 [INFO] [stdout] | [INFO] [stdout] 45 | rs_I422ToABGR, rs_I444ToABGR, rs_NV21ToABGR, rs_RGB24ToI420, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `YuvPlanarImageWithAlpha`, `YuvPlanarImage`, `i010_alpha_to_rgba10`, `i010_to_rgb10_bilinear`, `i010_to_rgba10_bilinear`, `i010_to_rgba10`, `i012_to_rgb12`, `i210_to_rgba10_bilinear`, `i210_to_rgba10`, `i212_to_rgb12`, `i212_to_rgb`, `icgc_re010_to_rgba`, `icgc_re410_to_rgb`, `icgc_ro010_to_rgba`, `icgc_ro210_to_rgb`, `icgc_ro210_to_rgba`, `icgc_ro410_to_rgb`, `icgc_ro410_to_rgba`, `p010_to_rgba10`, `rgb10_to_i010`, `rgb10_to_i410`, `rgb10_to_p010`, `rgb12_to_i012`, `rgb12_to_i212`, `rgb12_to_i412`, `rgb_to_icgc_re410`, `rgb_to_icgc_ro210`, `rgb_to_icgc_ro410`, `rgb_to_ycgco444`, `rgb_to_yuv420`, `rgb_to_yuv422`, `rgb_to_yuv444`, `rgb_to_yuv_nv12`, `rgb_to_yuv_nv16`, `rgb_to_yuv_nv24`, `rgba10_to_i010`, `rgba10_to_i210`, `rgba10_to_p010`, `rgba12_to_i412`, `rgba_to_icgc_re010`, `rgba_to_icgc_ro010`, `rgba_to_icgc_ro210`, `rgba_to_icgc_ro410`, `rgba_to_ycgco420`, `rgba_to_ycgco444`, `rgba_to_yuv422`, `rgba_to_yuv444`, `rgba_to_yuv_nv12`, `rgba_to_yuv_nv16`, `rgba_to_yuv_nv24`, `ycgco420_to_rgba`, `ycgco444_to_rgb`, `ycgco444_to_rgba`, `yuv420_alpha_to_rgba`, `yuv420_to_rgb_bilinear`, `yuv420_to_rgb`, `yuv420_to_rgba_bilinear`, `yuv422_to_rgb_bilinear`, `yuv422_to_rgb`, `yuv422_to_rgba_bilinear`, `yuv422_to_rgba`, `yuv444_to_rgb`, `yuv444_to_rgba`, `yuv_nv12_to_rgb`, `yuv_nv12_to_rgba`, `yuv_nv16_to_rgb`, `yuv_nv16_to_rgba`, `yuv_nv24_to_rgb`, and `yuv_nv24_to_rgba` [INFO] [stdout] --> app/src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | i010_alpha_to_rgba10, i010_to_rgb10_bilinear, i010_to_rgba10, i010_to_rgba10_bilinear, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | i012_to_rgb12, i210_to_rgba10, i210_to_rgba10_bilinear, i212_to_rgb, i212_to_rgb12, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 39 | icgc_re010_to_rgba, icgc_re410_to_rgb, icgc_ro010_to_rgba, icgc_ro210_to_rgb, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | icgc_ro210_to_rgba, icgc_ro410_to_rgb, icgc_ro410_to_rgba, p010_to_rgba10, rgb10_to_i010, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 41 | rgb10_to_i410, rgb10_to_p010, rgb12_to_i012, rgb12_to_i212, rgb12_to_i412, rgb_to_icgc_re410, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | rgb_to_icgc_ro210, rgb_to_icgc_ro410, rgb_to_ycgco444, rgb_to_yuv420, rgb_to_yuv422, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 43 | rgb_to_yuv444, rgb_to_yuv_nv12, rgb_to_yuv_nv16, rgb_to_yuv_nv24, rgba10_to_i010, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 44 | rgba10_to_i210, rgba10_to_p010, rgba12_to_i412, rgba_to_icgc_re010, rgba_to_icgc_ro010, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | rgba_to_icgc_ro210, rgba_to_icgc_ro410, rgba_to_ycgco420, rgba_to_ycgco444, rgba_to_yuv420, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | rgba_to_yuv422, rgba_to_yuv444, rgba_to_yuv_nv12, rgba_to_yuv_nv16, rgba_to_yuv_nv24, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | ycgco420_to_rgba, ycgco444_to_rgb, ycgco444_to_rgba, yuv420_alpha_to_rgba, yuv420_to_rgb, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 48 | yuv420_to_rgb_bilinear, yuv420_to_rgba, yuv420_to_rgba_bilinear, yuv422_to_rgb, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 49 | yuv422_to_rgb_bilinear, yuv422_to_rgba, yuv422_to_rgba_bilinear, yuv444_to_rgb, yuv444_to_rgba, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | yuv_nv12_to_rgb, yuv_nv12_to_rgba, yuv_nv16_to_rgb, yuv_nv16_to_rgba, yuv_nv24_to_rgb, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | yuv_nv24_to_rgba, YuvBiPlanarImageMut, YuvChromaSubsampling, YuvConversionMode, YuvPlanarImage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 52 | YuvPlanarImageMut, YuvPlanarImageWithAlpha, YuvRange, YuvStandardMatrix, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> app/src/support.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | width: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> app/src/support.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | height: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut img = ImageReader::open("./assets/bench.png") [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut components = match img.color() { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut y_plane = vec![0u8; y_stride as usize * height as usize]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let mut u_plane = vec![0u8; height as usize * u_stride as usize]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut v_plane = vec![0u8; height as usize * v_stride as usize]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let mut y_nv_plane = vec![0u8; width as usize * height as usize]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut uv_nv_plane = vec![0u8; width as usize * (height as usize + 1) / 2]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let mut bi_planar_image = [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut bytes_16: Vec = src_bytes [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let mut img = ImageReader::open("./converted_sharp151_x86_0.png") [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_plane` [INFO] [stdout] --> app/src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut y_plane = vec![0u8; y_stride as usize * height as usize]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u_plane` [INFO] [stdout] --> app/src/main.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let mut u_plane = vec![0u8; height as usize * u_stride as usize]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_plane` [INFO] [stdout] --> app/src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut v_plane = vec![0u8; height as usize * v_stride as usize]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> app/src/main.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let start_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_nv_plane` [INFO] [stdout] --> app/src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let mut y_nv_plane = vec![0u8; width as usize * height as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_nv_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv_nv_plane` [INFO] [stdout] --> app/src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut uv_nv_plane = vec![0u8; width as usize * (height as usize + 1) / 2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uv_nv_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bi_planar_image` [INFO] [stdout] --> app/src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let mut bi_planar_image = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bi_planar_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_16` [INFO] [stdout] --> app/src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut bytes_16: Vec = src_bytes [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fixed_planar` [INFO] [stdout] --> app/src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let fixed_planar = planar_image.to_fixed(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixed_planar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_bytes` is never used [INFO] [stdout] --> app/src/main.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_file_bytes(file_path: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `qrshr` is never used [INFO] [stdout] --> app/src/bilinear.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn qrshr(val: i32) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Y_BIAS` is never used [INFO] [stdout] --> app/src/bilinear.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const Y_BIAS: i16 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UV_BIAS` is never used [INFO] [stdout] --> app/src/bilinear.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const UV_BIAS: i16 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Y_COEF` is never used [INFO] [stdout] --> app/src/bilinear.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const Y_COEF: i16 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CR_COEF` is never used [INFO] [stdout] --> app/src/bilinear.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const CR_COEF: i16 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CB_COEF` is never used [INFO] [stdout] --> app/src/bilinear.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const CB_COEF: i16 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G_COEF_1` is never used [INFO] [stdout] --> app/src/bilinear.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const G_COEF_1: i16 = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G_COEF_2` is never used [INFO] [stdout] --> app/src/bilinear.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | const G_COEF_2: i16 = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpolate_1_row` is never used [INFO] [stdout] --> app/src/bilinear.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn interpolate_1_row( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpolate_2_rows` is never used [INFO] [stdout] --> app/src/bilinear.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn interpolate_2_rows( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Sampling` is never used [INFO] [stdout] --> app/src/bilinear.rs:259:6 [INFO] [stdout] | [INFO] [stdout] 259 | enum Sampling { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `yuv_to_rgbx_impl_bilinear` is never used [INFO] [stdout] --> app/src/bilinear.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn yuv_to_rgbx_impl_bilinear< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_yuy2_image` is never used [INFO] [stdout] --> app/src/support.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn save_yuy2_image( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_yuv420_16bit` is never used [INFO] [stdout] --> app/src/support.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_yuv420_16bit>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `YuvPlanarImageWithAlpha`, `YuvPlanarImage`, `i010_alpha_to_rgba10`, `i010_to_rgb10_bilinear`, `i010_to_rgba10_bilinear`, `i010_to_rgba10`, `i012_to_rgb12`, `i210_to_rgba10_bilinear`, `i210_to_rgba10`, `i212_to_rgb12`, `i212_to_rgb`, `icgc_re010_to_rgba`, `icgc_re410_to_rgb`, `icgc_ro010_to_rgba`, `icgc_ro210_to_rgb`, `icgc_ro210_to_rgba`, `icgc_ro410_to_rgb`, `icgc_ro410_to_rgba`, `p010_to_rgba10`, `rgb10_to_i010`, `rgb10_to_i410`, `rgb10_to_p010`, `rgb12_to_i012`, `rgb12_to_i212`, `rgb12_to_i412`, `rgb_to_icgc_re410`, `rgb_to_icgc_ro210`, `rgb_to_icgc_ro410`, `rgb_to_ycgco444`, `rgb_to_yuv420`, `rgb_to_yuv422`, `rgb_to_yuv444`, `rgb_to_yuv_nv12`, `rgb_to_yuv_nv16`, `rgb_to_yuv_nv24`, `rgba10_to_i010`, `rgba10_to_i210`, `rgba10_to_p010`, `rgba12_to_i412`, `rgba_to_icgc_re010`, `rgba_to_icgc_ro010`, `rgba_to_icgc_ro210`, `rgba_to_icgc_ro410`, `rgba_to_ycgco420`, `rgba_to_ycgco444`, `rgba_to_yuv422`, `rgba_to_yuv444`, `rgba_to_yuv_nv12`, `rgba_to_yuv_nv16`, `rgba_to_yuv_nv24`, `ycgco420_to_rgba`, `ycgco444_to_rgb`, `ycgco444_to_rgba`, `yuv420_alpha_to_rgba`, `yuv420_to_rgb_bilinear`, `yuv420_to_rgb`, `yuv420_to_rgba_bilinear`, `yuv422_to_rgb_bilinear`, `yuv422_to_rgb`, `yuv422_to_rgba_bilinear`, `yuv422_to_rgba`, `yuv444_to_rgb`, `yuv444_to_rgba`, `yuv_nv12_to_rgb`, `yuv_nv12_to_rgba`, `yuv_nv16_to_rgb`, `yuv_nv16_to_rgba`, `yuv_nv24_to_rgb`, and `yuv_nv24_to_rgba` [INFO] [stdout] --> app/src/main.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | i010_alpha_to_rgba10, i010_to_rgb10_bilinear, i010_to_rgba10, i010_to_rgba10_bilinear, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | i012_to_rgb12, i210_to_rgba10, i210_to_rgba10_bilinear, i212_to_rgb, i212_to_rgb12, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 39 | icgc_re010_to_rgba, icgc_re410_to_rgb, icgc_ro010_to_rgba, icgc_ro210_to_rgb, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | icgc_ro210_to_rgba, icgc_ro410_to_rgb, icgc_ro410_to_rgba, p010_to_rgba10, rgb10_to_i010, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 41 | rgb10_to_i410, rgb10_to_p010, rgb12_to_i012, rgb12_to_i212, rgb12_to_i412, rgb_to_icgc_re410, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | rgb_to_icgc_ro210, rgb_to_icgc_ro410, rgb_to_ycgco444, rgb_to_yuv420, rgb_to_yuv422, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 43 | rgb_to_yuv444, rgb_to_yuv_nv12, rgb_to_yuv_nv16, rgb_to_yuv_nv24, rgba10_to_i010, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 44 | rgba10_to_i210, rgba10_to_p010, rgba12_to_i412, rgba_to_icgc_re010, rgba_to_icgc_ro010, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | rgba_to_icgc_ro210, rgba_to_icgc_ro410, rgba_to_ycgco420, rgba_to_ycgco444, rgba_to_yuv420, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 46 | rgba_to_yuv422, rgba_to_yuv444, rgba_to_yuv_nv12, rgba_to_yuv_nv16, rgba_to_yuv_nv24, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 47 | ycgco420_to_rgba, ycgco444_to_rgb, ycgco444_to_rgba, yuv420_alpha_to_rgba, yuv420_to_rgb, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 48 | yuv420_to_rgb_bilinear, yuv420_to_rgba, yuv420_to_rgba_bilinear, yuv422_to_rgb, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 49 | yuv422_to_rgb_bilinear, yuv422_to_rgba, yuv422_to_rgba_bilinear, yuv444_to_rgb, yuv444_to_rgba, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | yuv_nv12_to_rgb, yuv_nv12_to_rgba, yuv_nv16_to_rgb, yuv_nv16_to_rgba, yuv_nv24_to_rgb, [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | yuv_nv24_to_rgba, YuvBiPlanarImageMut, YuvChromaSubsampling, YuvConversionMode, YuvPlanarImage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 52 | YuvPlanarImageMut, YuvPlanarImageWithAlpha, YuvRange, YuvStandardMatrix, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/benches/yuv8/main.rs:649:13 [INFO] [stdout] | [INFO] [stdout] 649 | let mut rgb_bytes = vec![0u8; dimensions.0 as usize * 4 * dimensions.1 as usize]; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fixed_gbr` [INFO] [stdout] --> app/benches/yuv8/main.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let fixed_gbr = gbr_image.to_fixed(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixed_gbr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> app/src/support.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | width: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> app/src/support.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | height: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | let mut img = ImageReader::open("./assets/bench.png") [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut components = match img.color() { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut y_plane = vec![0u8; y_stride as usize * height as usize]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let mut u_plane = vec![0u8; height as usize * u_stride as usize]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut v_plane = vec![0u8; height as usize * v_stride as usize]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let mut y_nv_plane = vec![0u8; width as usize * height as usize]; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut uv_nv_plane = vec![0u8; width as usize * (height as usize + 1) / 2]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let mut bi_planar_image = [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut bytes_16: Vec = src_bytes [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> app/src/main.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | let mut img = ImageReader::open("./converted_sharp151_x86_0.png") [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_plane` [INFO] [stdout] --> app/src/main.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let mut y_plane = vec![0u8; y_stride as usize * height as usize]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u_plane` [INFO] [stdout] --> app/src/main.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let mut u_plane = vec![0u8; height as usize * u_stride as usize]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_u_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v_plane` [INFO] [stdout] --> app/src/main.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let mut v_plane = vec![0u8; height as usize * v_stride as usize]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_v_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start_time` [INFO] [stdout] --> app/src/main.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let start_time = Instant::now(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_nv_plane` [INFO] [stdout] --> app/src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let mut y_nv_plane = vec![0u8; width as usize * height as usize]; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_nv_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uv_nv_plane` [INFO] [stdout] --> app/src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let mut uv_nv_plane = vec![0u8; width as usize * (height as usize + 1) / 2]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uv_nv_plane` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bi_planar_image` [INFO] [stdout] --> app/src/main.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | let mut bi_planar_image = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bi_planar_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bytes_16` [INFO] [stdout] --> app/src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let mut bytes_16: Vec = src_bytes [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bytes_16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fixed_planar` [INFO] [stdout] --> app/src/main.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let fixed_planar = planar_image.to_fixed(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixed_planar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_bytes` is never used [INFO] [stdout] --> app/src/main.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn read_file_bytes(file_path: &str) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `qrshr` is never used [INFO] [stdout] --> app/src/bilinear.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn qrshr(val: i32) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Y_BIAS` is never used [INFO] [stdout] --> app/src/bilinear.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const Y_BIAS: i16 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `UV_BIAS` is never used [INFO] [stdout] --> app/src/bilinear.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | const UV_BIAS: i16 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Y_COEF` is never used [INFO] [stdout] --> app/src/bilinear.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const Y_COEF: i16 = 0; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CR_COEF` is never used [INFO] [stdout] --> app/src/bilinear.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const CR_COEF: i16 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CB_COEF` is never used [INFO] [stdout] --> app/src/bilinear.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const CB_COEF: i16 = 0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G_COEF_1` is never used [INFO] [stdout] --> app/src/bilinear.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const G_COEF_1: i16 = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `G_COEF_2` is never used [INFO] [stdout] --> app/src/bilinear.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | const G_COEF_2: i16 = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpolate_1_row` is never used [INFO] [stdout] --> app/src/bilinear.rs:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | fn interpolate_1_row( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interpolate_2_rows` is never used [INFO] [stdout] --> app/src/bilinear.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn interpolate_2_rows( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Sampling` is never used [INFO] [stdout] --> app/src/bilinear.rs:259:6 [INFO] [stdout] | [INFO] [stdout] 259 | enum Sampling { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `yuv_to_rgbx_impl_bilinear` is never used [INFO] [stdout] --> app/src/bilinear.rs:264:4 [INFO] [stdout] | [INFO] [stdout] 264 | fn yuv_to_rgbx_impl_bilinear< [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_yuy2_image` is never used [INFO] [stdout] --> app/src/support.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) fn save_yuy2_image( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_yuv420_16bit` is never used [INFO] [stdout] --> app/src/support.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_yuv420_16bit>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 01s [INFO] running `Command { std: "docker" "inspect" "5ff976dd1da001f6858bfb9e160576f9ed474d7fa5a5d04d209fee2ce0827db9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ff976dd1da001f6858bfb9e160576f9ed474d7fa5a5d04d209fee2ce0827db9", kill_on_drop: false }` [INFO] [stdout] 5ff976dd1da001f6858bfb9e160576f9ed474d7fa5a5d04d209fee2ce0827db9