[INFO] cloning repository https://github.com/patsore/silly-edgy-objecty-detecty-snippety [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patsore/silly-edgy-objecty-detecty-snippety" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatsore%2Fsilly-edgy-objecty-detecty-snippety", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatsore%2Fsilly-edgy-objecty-detecty-snippety'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b185773ecb05f4e2ea856a088ba9bf910168ce3 [INFO] building patsore/silly-edgy-objecty-detecty-snippety against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatsore%2Fsilly-edgy-objecty-detecty-snippety" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/patsore/silly-edgy-objecty-detecty-snippety [INFO] finished tweaking git repo https://github.com/patsore/silly-edgy-objecty-detecty-snippety [INFO] tweaked toml for git repo https://github.com/patsore/silly-edgy-objecty-detecty-snippety written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/patsore/silly-edgy-objecty-detecty-snippety on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/patsore/silly-edgy-objecty-detecty-snippety 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded built v0.7.2 [INFO] [stderr] Downloaded rten-simd v0.10.0 [INFO] [stderr] Downloaded rten-vecmath v0.10.0 [INFO] [stderr] Downloaded flatbuffers v22.12.6 [INFO] [stderr] Downloaded simba v0.8.1 [INFO] [stderr] Downloaded conv v0.3.3 [INFO] [stderr] Downloaded imageproc v0.24.0 [INFO] [stderr] Downloaded winnow v0.6.8 [INFO] [stderr] Downloaded wide v0.7.19 [INFO] [stderr] Downloaded nalgebra v0.32.5 [INFO] [stderr] Downloaded rten-imageio v0.10.0 [INFO] [stderr] Downloaded rten-tensor v0.10.0 [INFO] [stderr] Downloaded rten v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10a346e1503e5ce8886edfcdf5e604071dfd0e312be46bb98625b523befdc898 [INFO] running `Command { std: "docker" "start" "-a" "10a346e1503e5ce8886edfcdf5e604071dfd0e312be46bb98625b523befdc898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10a346e1503e5ce8886edfcdf5e604071dfd0e312be46bb98625b523befdc898", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10a346e1503e5ce8886edfcdf5e604071dfd0e312be46bb98625b523befdc898", kill_on_drop: false }` [INFO] [stdout] 10a346e1503e5ce8886edfcdf5e604071dfd0e312be46bb98625b523befdc898 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8fb51b0b59cb8a9a36109fdfbdefbda8cb9db4a9a659b5a36f15eae0a6d95cb [INFO] running `Command { std: "docker" "start" "-a" "c8fb51b0b59cb8a9a36109fdfbdefbda8cb9db4a9a659b5a36f15eae0a6d95cb", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling built v0.7.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling bitstream-io v2.3.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling wide v0.7.19 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling rten-tensor v0.10.0 [INFO] [stderr] Compiling flatbuffers v22.12.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling rten-simd v0.10.0 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rten-vecmath v0.10.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling rten v0.10.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling owned_ttf_parser v0.21.0 [INFO] [stderr] Compiling ab_glyph v0.2.26 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling image-webp v0.1.2 [INFO] [stderr] Compiling nalgebra v0.32.5 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling image v0.25.1 [INFO] [stderr] Compiling rten-imageio v0.10.0 [INFO] [stderr] Compiling imageproc v0.24.0 [INFO] [stderr] Compiling images-again v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/glitches.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use image::{DynamicImage, GenericImage, GenericImageView, Rgba}; [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: `draw_text_mut` [INFO] [stdout] --> src/glitches.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use imageproc::drawing::{draw_text_mut, text_size}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsView` [INFO] [stdout] --> src/main.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use rten_tensor::{AsView, NdTensor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/main.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{DynamicImage, GenericImage, GenericImageView, Rgba, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/object_detection.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let score = scores[[batch_idx as usize, cls as usize, box_idx as usize]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 55 | let _score = scores[[batch_idx as usize, cls as usize, box_idx as usize]]; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TEXT_SIZE` [INFO] [stdout] | [INFO] [stdout] 55 - let score = scores[[batch_idx as usize, cls as usize, box_idx as usize]]; [INFO] [stdout] 55 + let TEXT_SIZE = scores[[batch_idx as usize, cls as usize, box_idx as usize]]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `box_width` [INFO] [stdout] --> src/object_detection.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let box_width = (right - left) * scale_x; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 62 | let _box_width = (right - left) * scale_x; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TEXT_SIZE` [INFO] [stdout] | [INFO] [stdout] 62 - let box_width = (right - left) * scale_x; [INFO] [stdout] 62 + let TEXT_SIZE = (right - left) * scale_x; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `box_height` [INFO] [stdout] --> src/object_detection.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let box_height = (bottom - top) * scale_y; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 63 | let _box_height = (bottom - top) * scale_y; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TEXT_SIZE` [INFO] [stdout] | [INFO] [stdout] 63 - let box_height = (bottom - top) * scale_y; [INFO] [stdout] 63 + let TEXT_SIZE = (bottom - top) * scale_y; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_data` [INFO] [stdout] --> src/glitches.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let edge_data: Vec = edge_img.to_luma8().into_raw(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/glitches.rs:15:105 [INFO] [stdout] | [INFO] [stdout] 15 | ...ensor_image: &NdTensor, rng: &mut SmallRng, model: &Model, font: &FontRef) -> (DynamicImage, Vec<(String, i32, i32)>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let seed: [u8; 32] = [arg[1].parse().unwrap(); 32]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_luminance` is never used [INFO] [stdout] --> src/glitches.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn get_luminance(pixel: Rgba) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.60s [INFO] running `Command { std: "docker" "inspect" "c8fb51b0b59cb8a9a36109fdfbdefbda8cb9db4a9a659b5a36f15eae0a6d95cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8fb51b0b59cb8a9a36109fdfbdefbda8cb9db4a9a659b5a36f15eae0a6d95cb", kill_on_drop: false }` [INFO] [stdout] c8fb51b0b59cb8a9a36109fdfbdefbda8cb9db4a9a659b5a36f15eae0a6d95cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d59b062b52ff390022e32cd30c2dcd7f30dc2bbf287a7d705d0127de18880c2 [INFO] running `Command { std: "docker" "start" "-a" "9d59b062b52ff390022e32cd30c2dcd7f30dc2bbf287a7d705d0127de18880c2", kill_on_drop: false }` [INFO] [stderr] Compiling images-again v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/glitches.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use image::{DynamicImage, GenericImage, GenericImageView, Rgba}; [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: `draw_text_mut` [INFO] [stdout] --> src/glitches.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use imageproc::drawing::{draw_text_mut, text_size}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsView` [INFO] [stdout] --> src/main.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | use rten_tensor::{AsView, NdTensor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GenericImage` [INFO] [stdout] --> src/main.rs:6:27 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{DynamicImage, GenericImage, GenericImageView, Rgba, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/object_detection.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let score = scores[[batch_idx as usize, cls as usize, box_idx as usize]]; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 55 | let _score = scores[[batch_idx as usize, cls as usize, box_idx as usize]]; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TEXT_SIZE` [INFO] [stdout] | [INFO] [stdout] 55 - let score = scores[[batch_idx as usize, cls as usize, box_idx as usize]]; [INFO] [stdout] 55 + let TEXT_SIZE = scores[[batch_idx as usize, cls as usize, box_idx as usize]]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `box_width` [INFO] [stdout] --> src/object_detection.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let box_width = (right - left) * scale_x; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 62 | let _box_width = (right - left) * scale_x; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TEXT_SIZE` [INFO] [stdout] | [INFO] [stdout] 62 - let box_width = (right - left) * scale_x; [INFO] [stdout] 62 + let TEXT_SIZE = (right - left) * scale_x; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `box_height` [INFO] [stdout] --> src/object_detection.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let box_height = (bottom - top) * scale_y; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 63 | let _box_height = (bottom - top) * scale_y; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `TEXT_SIZE` [INFO] [stdout] | [INFO] [stdout] 63 - let box_height = (bottom - top) * scale_y; [INFO] [stdout] 63 + let TEXT_SIZE = (bottom - top) * scale_y; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge_data` [INFO] [stdout] --> src/glitches.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let edge_data: Vec = edge_img.to_luma8().into_raw(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/glitches.rs:15:105 [INFO] [stdout] | [INFO] [stdout] 15 | ...ensor_image: &NdTensor, rng: &mut SmallRng, model: &Model, font: &FontRef) -> (DynamicImage, Vec<(String, i32, i32)>) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seed` [INFO] [stdout] --> src/main.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let seed: [u8; 32] = [arg[1].parse().unwrap(); 32]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_luminance` is never used [INFO] [stdout] --> src/glitches.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn get_luminance(pixel: Rgba) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "9d59b062b52ff390022e32cd30c2dcd7f30dc2bbf287a7d705d0127de18880c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d59b062b52ff390022e32cd30c2dcd7f30dc2bbf287a7d705d0127de18880c2", kill_on_drop: false }` [INFO] [stdout] 9d59b062b52ff390022e32cd30c2dcd7f30dc2bbf287a7d705d0127de18880c2