[INFO] cloning repository https://github.com/yangsnapify/de-mosaic-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yangsnapify/de-mosaic-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangsnapify%2Fde-mosaic-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangsnapify%2Fde-mosaic-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e81b5ff2b98763df5635ac8a7b911fb75d187a51 [INFO] checking yangsnapify/de-mosaic-rs against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyangsnapify%2Fde-mosaic-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yangsnapify/de-mosaic-rs [INFO] finished tweaking git repo https://github.com/yangsnapify/de-mosaic-rs [INFO] tweaked toml for git repo https://github.com/yangsnapify/de-mosaic-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yangsnapify/de-mosaic-rs on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yangsnapify/de-mosaic-rs 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f6567b91165685681b8a645998086b99957e23c575b14d061da75e98d0a290b3 [INFO] running `Command { std: "docker" "start" "-a" "f6567b91165685681b8a645998086b99957e23c575b14d061da75e98d0a290b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f6567b91165685681b8a645998086b99957e23c575b14d061da75e98d0a290b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6567b91165685681b8a645998086b99957e23c575b14d061da75e98d0a290b3", kill_on_drop: false }` [INFO] [stdout] f6567b91165685681b8a645998086b99957e23c575b14d061da75e98d0a290b3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 56fa105f33d01f6ae777a24d8d3ee32a0be051551632be0b109693e4b0344521 [INFO] running `Command { std: "docker" "start" "-a" "56fa105f33d01f6ae777a24d8d3ee32a0be051551632be0b109693e4b0344521", kill_on_drop: false }` [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling portable-atomic v1.10.0 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking miniz_oxide v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking console v0.15.10 [INFO] [stderr] Checking indicatif v0.17.9 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking de_mosaic_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `GrayImage`, `Luma`, `RgbImage`, and `open` [INFO] [stdout] --> src/modules/mosaic.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{ GrayImage, Luma, RgbImage, open }; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GrayImage`, `Luma`, `RgbImage`, and `open` [INFO] [stdout] --> src/modules/mosaic.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{ GrayImage, Luma, RgbImage, open }; [INFO] [stdout] | ^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel` [INFO] [stdout] --> src/helpers/img.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let pixel = input_img.get_pixel(x, y); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `temp_path` is never read [INFO] [stdout] --> src/modules/mosaic.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Mosaic { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | temp_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN_RED` is never used [INFO] [stdout] --> src/helpers/img.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const GREEN_RED: [[f32; 5]; 5] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN_BLUE` is never used [INFO] [stdout] --> src/helpers/img.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const GREEN_BLUE: [[f32; 5]; 5] = GREEN_RED; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED_GREEN` is never used [INFO] [stdout] --> src/helpers/img.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const RED_GREEN: [[f32; 5]; 5] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE_GREEN` is never used [INFO] [stdout] --> src/helpers/img.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const BLUE_GREEN: [[f32; 5]; 5] = RED_GREEN; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED_BLUE` is never used [INFO] [stdout] --> src/helpers/img.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const RED_BLUE: [[f32; 5]; 5] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE_RED` is never used [INFO] [stdout] --> src/helpers/img.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const BLUE_RED: [[f32; 5]; 5] = RED_BLUE; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_pixel_info` is never used [INFO] [stdout] --> src/helpers/img.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn print_pixel_info(x: u32, y: u32, pixel: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_kernel` is never used [INFO] [stdout] --> src/helpers/img.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn apply_kernel(buffer: &[u8], x: u32, y: u32, width: u32, kernel: &[[f32; 5]; 5], channel: usize, normalizer: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_original_value` is never used [INFO] [stdout] --> src/helpers/img.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn get_original_value(buffer: &[u8], x: u32, y: u32, width: u32, channel: usize) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/helpers/img.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn clamp(value: f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel` [INFO] [stdout] --> src/helpers/img.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | let pixel = input_img.get_pixel(x, y); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `temp_path` is never read [INFO] [stdout] --> src/modules/mosaic.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Mosaic { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | temp_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN_RED` is never used [INFO] [stdout] --> src/helpers/img.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const GREEN_RED: [[f32; 5]; 5] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN_BLUE` is never used [INFO] [stdout] --> src/helpers/img.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const GREEN_BLUE: [[f32; 5]; 5] = GREEN_RED; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED_GREEN` is never used [INFO] [stdout] --> src/helpers/img.rs:25:7 [INFO] [stdout] | [INFO] [stdout] 25 | const RED_GREEN: [[f32; 5]; 5] = [ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE_GREEN` is never used [INFO] [stdout] --> src/helpers/img.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | const BLUE_GREEN: [[f32; 5]; 5] = RED_GREEN; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED_BLUE` is never used [INFO] [stdout] --> src/helpers/img.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 35 | const RED_BLUE: [[f32; 5]; 5] = [ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE_RED` is never used [INFO] [stdout] --> src/helpers/img.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const BLUE_RED: [[f32; 5]; 5] = RED_BLUE; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_pixel_info` is never used [INFO] [stdout] --> src/helpers/img.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn print_pixel_info(x: u32, y: u32, pixel: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_kernel` is never used [INFO] [stdout] --> src/helpers/img.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn apply_kernel(buffer: &[u8], x: u32, y: u32, width: u32, kernel: &[[f32; 5]; 5], channel: usize, normalizer: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_original_value` is never used [INFO] [stdout] --> src/helpers/img.rs:119:4 [INFO] [stdout] | [INFO] [stdout] 119 | fn get_original_value(buffer: &[u8], x: u32, y: u32, width: u32, channel: usize) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clamp` is never used [INFO] [stdout] --> src/helpers/img.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn clamp(value: f32) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | Ok(img) => println!("Image loaded successfully!"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | Ok(img) => println!("Image loaded successfully!"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.32s [INFO] running `Command { std: "docker" "inspect" "56fa105f33d01f6ae777a24d8d3ee32a0be051551632be0b109693e4b0344521", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56fa105f33d01f6ae777a24d8d3ee32a0be051551632be0b109693e4b0344521", kill_on_drop: false }` [INFO] [stdout] 56fa105f33d01f6ae777a24d8d3ee32a0be051551632be0b109693e4b0344521