[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#595316b4006932405a63862d8fe65f71a6356293 for pr-128254 [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] validating manifest of git repo https://github.com/patsore/silly-edgy-objecty-detecty-snippety on toolchain 595316b4006932405a63862d8fe65f71a6356293 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+595316b4006932405a63862d8fe65f71a6356293" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rten-imageio v0.10.0 [INFO] [stderr] Downloaded flatbuffers v22.12.6 [INFO] [stderr] Downloaded rten-tensor v0.10.0 [INFO] [stderr] Downloaded rten-simd v0.10.0 [INFO] [stderr] Downloaded rten-vecmath v0.10.0 [INFO] [stderr] Downloaded wide v0.7.19 [INFO] [stderr] Downloaded rten v0.10.0 [INFO] [stderr] Downloaded imageproc v0.24.0 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 79dbc4e36853435098b9a40e7eade7cb3bd515b405b51ab968e49bf70aa6cb42 [INFO] running `Command { std: "docker" "start" "-a" "79dbc4e36853435098b9a40e7eade7cb3bd515b405b51ab968e49bf70aa6cb42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "79dbc4e36853435098b9a40e7eade7cb3bd515b405b51ab968e49bf70aa6cb42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79dbc4e36853435098b9a40e7eade7cb3bd515b405b51ab968e49bf70aa6cb42", kill_on_drop: false }` [INFO] [stdout] 79dbc4e36853435098b9a40e7eade7cb3bd515b405b51ab968e49bf70aa6cb42 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a303e433f93fa7810309197db9d5ae907c5169425bc86026ca678550f6656e8 [INFO] running `Command { std: "docker" "start" "-a" "8a303e433f93fa7810309197db9d5ae907c5169425bc86026ca678550f6656e8", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling built v0.7.2 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling bitstream-io v2.3.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling wide v0.7.19 [INFO] [stderr] Compiling flatbuffers v22.12.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling ttf-parser v0.21.1 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rten-tensor v0.10.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling rten-simd v0.10.0 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling rten-vecmath v0.10.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling owned_ttf_parser v0.21.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling ab_glyph v0.2.26 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling image-webp v0.1.2 [INFO] [stderr] Compiling rten v0.10.0 [INFO] [stderr] Compiling colored v2.1.0 [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)]` 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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_box_width` [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] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_box_height` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.81s [INFO] running `Command { std: "docker" "inspect" "8a303e433f93fa7810309197db9d5ae907c5169425bc86026ca678550f6656e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a303e433f93fa7810309197db9d5ae907c5169425bc86026ca678550f6656e8", kill_on_drop: false }` [INFO] [stdout] 8a303e433f93fa7810309197db9d5ae907c5169425bc86026ca678550f6656e8 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a39087007bb83f7dee99192dc965c80f05f5a807add5e4ed4d23d3c80dff7787 [INFO] running `Command { std: "docker" "start" "-a" "a39087007bb83f7dee99192dc965c80f05f5a807add5e4ed4d23d3c80dff7787", 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)]` 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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_box_width` [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] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_box_height` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "a39087007bb83f7dee99192dc965c80f05f5a807add5e4ed4d23d3c80dff7787", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a39087007bb83f7dee99192dc965c80f05f5a807add5e4ed4d23d3c80dff7787", kill_on_drop: false }` [INFO] [stdout] a39087007bb83f7dee99192dc965c80f05f5a807add5e4ed4d23d3c80dff7787 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+595316b4006932405a63862d8fe65f71a6356293" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 359534602b4d9cb118144299d4347a5cdf5c76cb293539b0f42864d57d328e09 [INFO] running `Command { std: "docker" "start" "-a" "359534602b4d9cb118144299d4347a5cdf5c76cb293539b0f42864d57d328e09", 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)]` 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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [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] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_box_width` [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] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_box_height` [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)]` 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 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/images_again-f171b1e798d07612) [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" "359534602b4d9cb118144299d4347a5cdf5c76cb293539b0f42864d57d328e09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "359534602b4d9cb118144299d4347a5cdf5c76cb293539b0f42864d57d328e09", kill_on_drop: false }` [INFO] [stdout] 359534602b4d9cb118144299d4347a5cdf5c76cb293539b0f42864d57d328e09