[INFO] cloning repository https://github.com/MoMus2000/computer-vision
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MoMus2000/computer-vision" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoMus2000%2Fcomputer-vision", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoMus2000%2Fcomputer-vision'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f441602645fee0530777cd522a69ca7c024b2568
[INFO] building MoMus2000/computer-vision against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoMus2000%2Fcomputer-vision" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/MoMus2000/computer-vision
[INFO] finished tweaking git repo https://github.com/MoMus2000/computer-vision
[INFO] tweaked toml for git repo https://github.com/MoMus2000/computer-vision written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MoMus2000/computer-vision on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MoMus2000/computer-vision 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f1fae2b6314c60d659020522f097f9db2a937a0c794bfd526cece99853963bfd
[INFO] running `Command { std: "docker" "start" "-a" "f1fae2b6314c60d659020522f097f9db2a937a0c794bfd526cece99853963bfd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f1fae2b6314c60d659020522f097f9db2a937a0c794bfd526cece99853963bfd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f1fae2b6314c60d659020522f097f9db2a937a0c794bfd526cece99853963bfd", kill_on_drop: false }`
[INFO] [stdout] f1fae2b6314c60d659020522f097f9db2a937a0c794bfd526cece99853963bfd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 935e52a5aa6610d20ca7e81f5a19faf4e1b374d072e911ad8712675cb19d0315
[INFO] running `Command { std: "docker" "start" "-a" "935e52a5aa6610d20ca7e81f5a19faf4e1b374d072e911ad8712675cb19d0315", kill_on_drop: false }`
[INFO] [stderr]    Compiling bytes v1.7.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling mio v1.0.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling miniz_oxide v0.7.4
[INFO] [stderr]    Compiling zstd-safe v7.2.0
[INFO] [stderr]    Compiling cc v1.1.7
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling flate2 v1.0.30
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling indexmap v2.3.0
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling bytestring v1.3.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling unicode-normalization v0.1.23
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling built v0.7.4
[INFO] [stderr]    Compiling serde_json v1.0.121
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling aligned-vec v0.5.0
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling zstd-sys v2.0.12+zstd.1.5.6
[INFO] [stderr]    Compiling idna v0.5.0
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling bytemuck v1.16.3
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling url v2.5.2
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling darling_core v0.20.10
[INFO] [stderr]    Compiling av1-grain v0.2.3
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling v_htmlescape v0.15.8
[INFO] [stderr]    Compiling quick-error v2.0.1
[INFO] [stderr]    Compiling imgref v1.10.1
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling noop_proc_macro v0.3.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.14
[INFO] [stderr]    Compiling portable-atomic v1.7.0
[INFO] [stderr]    Compiling bitstream-io v2.5.0
[INFO] [stderr]    Compiling loop9 v0.1.5
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling rgb v0.8.45
[INFO] [stderr]    Compiling avif-serialize v0.8.1
[INFO] [stderr]    Compiling zune-inflate v0.2.54
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling fdeflate v0.3.4
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling zerocopy-derive v0.6.6
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling profiling-procmacros v1.0.15
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling tokio v1.39.2
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling zerocopy v0.6.6
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling darling_macro v0.20.10
[INFO] [stderr]    Compiling ppv-lite86 v0.2.18
[INFO] [stderr]    Compiling profiling v1.0.15
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling darling v0.20.10
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling zune-core v0.4.12
[INFO] [stderr]    Compiling unicode-width v0.1.13
[INFO] [stderr]    Compiling lebe v0.5.2
[INFO] [stderr]    Compiling byteorder-lite v0.1.0
[INFO] [stderr]    Compiling fastrand v2.1.0
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling parse-size v1.0.0
[INFO] [stderr]    Compiling bit_field v0.10.2
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling png v0.17.13
[INFO] [stderr]    Compiling console v0.15.8
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling exr v1.72.0
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling actix-multipart-derive v0.7.0
[INFO] [stderr]    Compiling image-webp v0.1.3
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling zune-jpeg v0.4.13
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling actix-rt v2.10.0
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling actix-server v2.4.0
[INFO] [stderr]    Compiling actix-codec v0.5.2
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling serde_plain v1.0.2
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling http-range v0.1.5
[INFO] [stderr]    Compiling number_prefix v0.4.0
[INFO] [stderr]    Compiling indicatif v0.17.8
[INFO] [stderr]    Compiling ravif v0.11.9
[INFO] [stderr]    Compiling zstd v0.13.2
[INFO] [stderr]    Compiling actix-http v3.8.0
[INFO] [stderr]    Compiling image v0.25.2
[INFO] [stderr]    Compiling actix-web v4.8.0
[INFO] [stderr]    Compiling actix-multipart v0.7.2
[INFO] [stderr]    Compiling actix-files v0.6.6
[INFO] [stderr]    Compiling comp_vision v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rayon::vec`
[INFO] [stdout]  --> src/cv/vision.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rayon::vec;
[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 import: `thread_rng`
[INFO] [stdout]  --> src/cv/vision.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{thread_rng, Rng};
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/cv/vision.rs:300:13
[INFO] [stdout]     |
[INFO] [stdout] 300 |         for i in 0 .. 10 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clusters`
[INFO] [stdout]    --> src/cv/vision.rs:301:17
[INFO] [stdout]     |
[INFO] [stdout] 301 |             let clusters = CompVision::assign_clusters(&centroids, &vectors);
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clusters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/cv/vision.rs:323:25
[INFO] [stdout]     |
[INFO] [stdout] 323 |     fn update_centroids(data:Vec<Vec3d>, clusters: Vec<Vec3d>, k: usize) {
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clusters`
[INFO] [stdout]    --> src/cv/vision.rs:323:42
[INFO] [stdout]     |
[INFO] [stdout] 323 |     fn update_centroids(data:Vec<Vec3d>, clusters: Vec<Vec3d>, k: usize) {
[INFO] [stdout]     |                                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clusters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/cv/vision.rs:323:64
[INFO] [stdout]     |
[INFO] [stdout] 323 |     fn update_centroids(data:Vec<Vec3d>, clusters: Vec<Vec3d>, k: usize) {
[INFO] [stdout]     |                                                                ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cv/vision.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |         let mut test_img = image::ImageBuffer::new(width, height);
[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: multiple associated items are never used
[INFO] [stdout]    --> src/cv/vision.rs:31:8
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl CompVision{
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  31 |     fn split_rbg(pixel: Rgb<u8>) -> (f32, f32, f32){
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  35 |     fn convert_to_grayscale(&self) -> Result<ImageBuffer<Luma<u8>, Vec<u8>>, Error>{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  88 |     fn create_gaussian_kernel_2d(radius: usize, sigma: f32) -> Vec<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     fn gaussian_blur(img: DynamicImage, radius: usize, sigma: f32) -> Result<ImageBuffer<Rgb<u8>, Vec<u8>>, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     fn box_blur(img: DynamicImage, radius: u32) -> Result<ImageBuffer<Rgb<u8>, Vec<u8>>, Error> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     fn edge_detection_gaussian(img: DynamicImage) -> Result<ImageBuffer<Rgb<u8>, Vec<u8>>, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 273 |     pub fn kmeans(img: DynamicImage, palette: usize)-> Result<ImageBuffer<Rgb<u8>, Vec<u8>>, Error> {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 296 |     fn create_cluster(map: HashMap<Rgba<u8>, usize>, palette: usize){
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 305 |     fn assign_clusters(centroids: &Vec<Vec3d>, pixels: &Vec<Vec3d>) -> Vec<usize>{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 323 |     fn update_centroids(data:Vec<Vec3d>, clusters: Vec<Vec3d>, k: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 326 |     fn map_to_vec(map: HashMap<Rgba<u8>, usize>) -> Vec<Vec3d>{
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 335 |     fn initialize_centroids(data: &Vec<Vec3d>, palette: usize) -> Vec<Vec3d>{
[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 `process_image` is never used
[INFO] [stdout]    --> src/cv/vision.rs:347:4
[INFO] [stdout]     |
[INFO] [stdout] 347 | fn process_image(image_path: &str) -> Result<(), Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Vec3d` is never constructed
[INFO] [stdout]    --> src/cv/vision.rs:378:12
[INFO] [stdout]     |
[INFO] [stdout] 378 | pub struct Vec3d {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `calcluate_distance` are never used
[INFO] [stdout]    --> src/cv/vision.rs:385:12
[INFO] [stdout]     |
[INFO] [stdout] 384 | impl Vec3d{
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout] 385 |     pub fn new(x: f32, y: f32, z: f32) -> Vec3d{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 389 |     pub fn calcluate_distance(&self, vec: Vec3d) -> f32{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `kmeans_filter` is never used
[INFO] [stdout]  --> src/cv/kmeans.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn kmeans_filter(video_path: &str) -> Result<(), Error>{
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 57s
[INFO] running `Command { std: "docker" "inspect" "935e52a5aa6610d20ca7e81f5a19faf4e1b374d072e911ad8712675cb19d0315", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "935e52a5aa6610d20ca7e81f5a19faf4e1b374d072e911ad8712675cb19d0315", kill_on_drop: false }`
[INFO] [stdout] 935e52a5aa6610d20ca7e81f5a19faf4e1b374d072e911ad8712675cb19d0315
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 53c837a549cbc0d5fdfd0bb93758b4de46f60579dc4fe5254060549ee01b4bd2
[INFO] running `Command { std: "docker" "start" "-a" "53c837a549cbc0d5fdfd0bb93758b4de46f60579dc4fe5254060549ee01b4bd2", kill_on_drop: false }`
[INFO] [stderr]    Compiling comp_vision v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rayon::vec`
[INFO] [stdout]  --> src/cv/vision.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rayon::vec;
[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 import: `thread_rng`
[INFO] [stdout]  --> src/cv/vision.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{thread_rng, Rng};
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/cv/vision.rs:323:25
[INFO] [stdout]     |
[INFO] [stdout] 323 |     fn update_centroids(data:Vec<Vec3d>, clusters: Vec<Vec3d>, k: usize) {
[INFO] [stdout]     |                         ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clusters`
[INFO] [stdout]    --> src/cv/vision.rs:323:42
[INFO] [stdout]     |
[INFO] [stdout] 323 |     fn update_centroids(data:Vec<Vec3d>, clusters: Vec<Vec3d>, k: usize) {
[INFO] [stdout]     |                                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clusters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/cv/vision.rs:323:64
[INFO] [stdout]     |
[INFO] [stdout] 323 |     fn update_centroids(data:Vec<Vec3d>, clusters: Vec<Vec3d>, k: usize) {
[INFO] [stdout]     |                                                                ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cv/vision.rs:275:13
[INFO] [stdout]     |
[INFO] [stdout] 275 |         let mut test_img = image::ImageBuffer::new(width, height);
[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: `i`
[INFO] [stdout]    --> src/cv/vision.rs:300:13
[INFO] [stdout]     |
[INFO] [stdout] 300 |         for i in 0 .. 10 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clusters`
[INFO] [stdout]    --> src/cv/vision.rs:301:17
[INFO] [stdout]     |
[INFO] [stdout] 301 |             let clusters = CompVision::assign_clusters(&centroids, &vectors);
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clusters`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]    --> src/cv/vision.rs:369:13
[INFO] [stdout]     |
[INFO] [stdout] 369 |         let res = CompVision::kmeans(img.image, 10)?;
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/cv/vision.rs:31:8
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl CompVision{
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  31 |     fn split_rbg(pixel: Rgb<u8>) -> (f32, f32, f32){
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  35 |     fn convert_to_grayscale(&self) -> Result<ImageBuffer<Luma<u8>, Vec<u8>>, Error>{
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  88 |     fn create_gaussian_kernel_2d(radius: usize, sigma: f32) -> Vec<f32> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 123 |     fn gaussian_blur(img: DynamicImage, radius: usize, sigma: f32) -> Result<ImageBuffer<Rgb<u8>, Vec<u8>>, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 169 |     fn box_blur(img: DynamicImage, radius: u32) -> Result<ImageBuffer<Rgb<u8>, Vec<u8>>, Error> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     fn edge_detection_gaussian(img: DynamicImage) -> Result<ImageBuffer<Rgb<u8>, Vec<u8>>, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 323 |     fn update_centroids(data:Vec<Vec3d>, clusters: Vec<Vec3d>, k: usize) {
[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 `process_image` is never used
[INFO] [stdout]    --> src/cv/vision.rs:347:4
[INFO] [stdout]     |
[INFO] [stdout] 347 | fn process_image(image_path: &str) -> Result<(), Error> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `kmeans_filter` is never used
[INFO] [stdout]  --> src/cv/kmeans.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn kmeans_filter(video_path: &str) -> Result<(), Error>{
[INFO] [stdout]   |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.61s
[INFO] running `Command { std: "docker" "inspect" "53c837a549cbc0d5fdfd0bb93758b4de46f60579dc4fe5254060549ee01b4bd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "53c837a549cbc0d5fdfd0bb93758b4de46f60579dc4fe5254060549ee01b4bd2", kill_on_drop: false }`
[INFO] [stdout] 53c837a549cbc0d5fdfd0bb93758b4de46f60579dc4fe5254060549ee01b4bd2
