[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] testing patsore/silly-edgy-objecty-detecty-snippety against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatsore%2Fsilly-edgy-objecty-detecty-snippety" "/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/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/patsore/silly-edgy-objecty-detecty-snippety on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rten-simd v0.10.0 [INFO] [stderr] Downloaded image-webp v0.1.2 [INFO] [stderr] Downloaded rten-vecmath v0.10.0 [INFO] [stderr] Downloaded rten-imageio v0.10.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.82 [INFO] [stderr] Downloaded rten-tensor v0.10.0 [INFO] [stderr] Downloaded rten v0.10.0 [INFO] [stderr] Downloaded flatbuffers v22.12.6 [INFO] [stderr] Downloaded wide v0.7.19 [INFO] [stderr] Downloaded cc v1.0.97 [INFO] [stderr] Downloaded syn v2.0.64 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d55cc14e06b27d4ae3658345dde77cfb4df52e1f92b469aceca3217db31e556f [INFO] running `Command { std: "docker" "start" "-a" "d55cc14e06b27d4ae3658345dde77cfb4df52e1f92b469aceca3217db31e556f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d55cc14e06b27d4ae3658345dde77cfb4df52e1f92b469aceca3217db31e556f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d55cc14e06b27d4ae3658345dde77cfb4df52e1f92b469aceca3217db31e556f", kill_on_drop: false }` [INFO] [stdout] d55cc14e06b27d4ae3658345dde77cfb4df52e1f92b469aceca3217db31e556f [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 047a0d4ec4cd111c6c07bb13d1e83cc52cec66918c5b092999a387ae85cdab19 [INFO] running `Command { std: "docker" "start" "-a" "047a0d4ec4cd111c6c07bb13d1e83cc52cec66918c5b092999a387ae85cdab19", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling built v0.7.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling bitstream-io v2.3.0 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling rten-tensor v0.10.0 [INFO] [stderr] Compiling wide v0.7.19 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rten-simd v0.10.0 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling flatbuffers v22.12.6 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling rten-vecmath v0.10.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling num-complex v0.4.6 [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 maybe-rayon v0.1.1 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling owned_ttf_parser v0.21.0 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling ab_glyph v0.2.26 [INFO] [stderr] Compiling rten v0.10.0 [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 thiserror v1.0.61 [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 imageproc v0.24.0 [INFO] [stderr] Compiling rten-imageio v0.10.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 51.48s [INFO] running `Command { std: "docker" "inspect" "047a0d4ec4cd111c6c07bb13d1e83cc52cec66918c5b092999a387ae85cdab19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "047a0d4ec4cd111c6c07bb13d1e83cc52cec66918c5b092999a387ae85cdab19", kill_on_drop: false }` [INFO] [stdout] 047a0d4ec4cd111c6c07bb13d1e83cc52cec66918c5b092999a387ae85cdab19 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f72cb86cae59d33f31e7a6dcda2f5fe881b74fbd95b5ebaa61c7e84fcbff139 [INFO] running `Command { std: "docker" "start" "-a" "4f72cb86cae59d33f31e7a6dcda2f5fe881b74fbd95b5ebaa61c7e84fcbff139", 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.74s [INFO] running `Command { std: "docker" "inspect" "4f72cb86cae59d33f31e7a6dcda2f5fe881b74fbd95b5ebaa61c7e84fcbff139", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f72cb86cae59d33f31e7a6dcda2f5fe881b74fbd95b5ebaa61c7e84fcbff139", kill_on_drop: false }` [INFO] [stdout] 4f72cb86cae59d33f31e7a6dcda2f5fe881b74fbd95b5ebaa61c7e84fcbff139 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c2e2bbd383ad466c107380b06417261ee4265ae7852307f975d65666434907bc [INFO] running `Command { std: "docker" "start" "-a" "c2e2bbd383ad466c107380b06417261ee4265ae7852307f975d65666434907bc", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `GenericImage` [INFO] [stderr] --> src/glitches.rs:4:27 [INFO] [stderr] | [INFO] [stderr] 4 | use image::{DynamicImage, GenericImage, GenericImageView, Rgba}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `draw_text_mut` [INFO] [stderr] --> src/glitches.rs:6:26 [INFO] [stderr] | [INFO] [stderr] 6 | use imageproc::drawing::{draw_text_mut, text_size}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AsView` [INFO] [stderr] --> src/main.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | use rten_tensor::{AsView, NdTensor}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `GenericImage` [INFO] [stderr] --> src/main.rs:6:27 [INFO] [stderr] | [INFO] [stderr] 6 | use image::{DynamicImage, GenericImage, GenericImageView, Rgba, RgbaImage}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `score` [INFO] [stderr] --> src/object_detection.rs:55:13 [INFO] [stderr] | [INFO] [stderr] 55 | let score = scores[[batch_idx as usize, cls as usize, box_idx as usize]]; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 55 | let _score = scores[[batch_idx as usize, cls as usize, box_idx as usize]]; [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `TEXT_SIZE` [INFO] [stderr] | [INFO] [stderr] 55 - let score = scores[[batch_idx as usize, cls as usize, box_idx as usize]]; [INFO] [stderr] 55 + let TEXT_SIZE = scores[[batch_idx as usize, cls as usize, box_idx as usize]]; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `box_width` [INFO] [stderr] --> src/object_detection.rs:62:13 [INFO] [stderr] | [INFO] [stderr] 62 | let box_width = (right - left) * scale_x; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 62 | let _box_width = (right - left) * scale_x; [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `TEXT_SIZE` [INFO] [stderr] | [INFO] [stderr] 62 - let box_width = (right - left) * scale_x; [INFO] [stderr] 62 + let TEXT_SIZE = (right - left) * scale_x; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `box_height` [INFO] [stderr] --> src/object_detection.rs:63:13 [INFO] [stderr] | [INFO] [stderr] 63 | let box_height = (bottom - top) * scale_y; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 63 | let _box_height = (bottom - top) * scale_y; [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `TEXT_SIZE` [INFO] [stderr] | [INFO] [stderr] 63 - let box_height = (bottom - top) * scale_y; [INFO] [stderr] 63 + let TEXT_SIZE = (bottom - top) * scale_y; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `edge_data` [INFO] [stderr] --> src/glitches.rs:19:9 [INFO] [stderr] | [INFO] [stderr] 19 | let edge_data: Vec = edge_img.to_luma8().into_raw(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rng` [INFO] [stderr] --> src/glitches.rs:15:105 [INFO] [stderr] | [INFO] [stderr] 15 | ...ensor_image: &NdTensor, rng: &mut SmallRng, model: &Model, font: &FontRef) -> (DynamicImage, Vec<(String, i32, i32)>) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `seed` [INFO] [stderr] --> src/main.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | let seed: [u8; 32] = [arg[1].parse().unwrap(); 32]; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_seed` [INFO] [stderr] [INFO] [stderr] warning: function `get_luminance` is never used [INFO] [stderr] --> src/glitches.rs:46:4 [INFO] [stderr] | [INFO] [stderr] 46 | fn get_luminance(pixel: Rgba) -> u8 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `images-again` (bin "images-again" test) generated 11 warnings (run `cargo fix --bin "images-again" --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/images_again-b0425706b3c47a15) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c2e2bbd383ad466c107380b06417261ee4265ae7852307f975d65666434907bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2e2bbd383ad466c107380b06417261ee4265ae7852307f975d65666434907bc", kill_on_drop: false }` [INFO] [stdout] c2e2bbd383ad466c107380b06417261ee4265ae7852307f975d65666434907bc