[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 try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [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-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/patsore/silly-edgy-objecty-detecty-snippety on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ebea0c81d82c183c9403e4851d1dece607b90760014afb1739c67485aa1cbb6 [INFO] running `Command { std: "docker" "start" "-a" "2ebea0c81d82c183c9403e4851d1dece607b90760014afb1739c67485aa1cbb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ebea0c81d82c183c9403e4851d1dece607b90760014afb1739c67485aa1cbb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ebea0c81d82c183c9403e4851d1dece607b90760014afb1739c67485aa1cbb6", kill_on_drop: false }` [INFO] [stdout] 2ebea0c81d82c183c9403e4851d1dece607b90760014afb1739c67485aa1cbb6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac67417c0ee67a76d1435d9f5753ed1241b9a9652939d5960bbaa63e8b766ee9 [INFO] running `Command { std: "docker" "start" "-a" "ac67417c0ee67a76d1435d9f5753ed1241b9a9652939d5960bbaa63e8b766ee9", 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 unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [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 crc32fast v1.4.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling built v0.7.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling bitstream-io v2.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling syn v2.0.64 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling flatbuffers v22.12.6 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling wide v0.7.19 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling num-bigint v0.4.5 [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 num-iter v0.1.45 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rten-tensor v0.10.0 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling rten-simd v0.10.0 [INFO] [stderr] Compiling rten-vecmath v0.10.0 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling num v0.4.3 [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 owned_ttf_parser v0.21.0 [INFO] [stderr] Compiling ab_glyph v0.2.26 [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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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: `rng` [INFO] [stdout] --> src/glitches.rs:15:105 [INFO] [stdout] | [INFO] [stdout] 15 | ...or_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: `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: `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 59.51s [INFO] running `Command { std: "docker" "inspect" "ac67417c0ee67a76d1435d9f5753ed1241b9a9652939d5960bbaa63e8b766ee9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac67417c0ee67a76d1435d9f5753ed1241b9a9652939d5960bbaa63e8b766ee9", kill_on_drop: false }` [INFO] [stdout] ac67417c0ee67a76d1435d9f5753ed1241b9a9652939d5960bbaa63e8b766ee9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2af60bc443fc139d07d54aac0b7dd679c281dcb1e35d1a6f7451a54394cda74e [INFO] running `Command { std: "docker" "start" "-a" "2af60bc443fc139d07d54aac0b7dd679c281dcb1e35d1a6f7451a54394cda74e", 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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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: `rng` [INFO] [stdout] --> src/glitches.rs:15:105 [INFO] [stdout] | [INFO] [stdout] 15 | ...or_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: `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: `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.94s [INFO] running `Command { std: "docker" "inspect" "2af60bc443fc139d07d54aac0b7dd679c281dcb1e35d1a6f7451a54394cda74e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2af60bc443fc139d07d54aac0b7dd679c281dcb1e35d1a6f7451a54394cda74e", kill_on_drop: false }` [INFO] [stdout] 2af60bc443fc139d07d54aac0b7dd679c281dcb1e35d1a6f7451a54394cda74e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d64973123d61ccb773de853ec8a3b2b05fc1dcadd5a2010e69b7d3a81f8ddd22 [INFO] running `Command { std: "docker" "start" "-a" "d64973123d61ccb773de853ec8a3b2b05fc1dcadd5a2010e69b7d3a81f8ddd22", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `GenericImage` [INFO] [stdout] [INFO] [stderr] --> src/glitches.rs:4:27 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 4 | use image::{DynamicImage, GenericImage, GenericImageView, Rgba}; [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] [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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) 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: `rng` [INFO] [stderr] --> src/glitches.rs:15:105 [INFO] [stderr] | [INFO] [stderr] 15 | ...or_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: `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: `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" -p images-again --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/images_again-b0425706b3c47a15) [INFO] running `Command { std: "docker" "inspect" "d64973123d61ccb773de853ec8a3b2b05fc1dcadd5a2010e69b7d3a81f8ddd22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d64973123d61ccb773de853ec8a3b2b05fc1dcadd5a2010e69b7d3a81f8ddd22", kill_on_drop: false }` [INFO] [stdout] d64973123d61ccb773de853ec8a3b2b05fc1dcadd5a2010e69b7d3a81f8ddd22