[INFO] cloning repository https://github.com/drew-marsh/stringify
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drew-marsh/stringify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrew-marsh%2Fstringify", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrew-marsh%2Fstringify'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7fe20f0caf82507dfb49a1f6dab80a7e48c81a15
[INFO] checking drew-marsh/stringify against master#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155499
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrew-marsh%2Fstringify" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/drew-marsh/stringify
[INFO] finished tweaking git repo https://github.com/drew-marsh/stringify
[INFO] tweaked toml for git repo https://github.com/drew-marsh/stringify written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/drew-marsh/stringify on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/drew-marsh/stringify 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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded phf_macros v0.11.2
[INFO] [stderr]   Downloaded bresenham v0.1.1
[INFO] [stderr]   Downloaded find-crate v0.6.3
[INFO] [stderr]   Downloaded palette_derive v0.6.1
[INFO] [stderr]   Downloaded palette v0.6.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 821a01682c48a1a78043ec64dee47ba540cf0b57433af50b1c57cfb252b489c5
[INFO] running `Command { std: "docker" "start" "-a" "821a01682c48a1a78043ec64dee47ba540cf0b57433af50b1c57cfb252b489c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "821a01682c48a1a78043ec64dee47ba540cf0b57433af50b1c57cfb252b489c5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "821a01682c48a1a78043ec64dee47ba540cf0b57433af50b1c57cfb252b489c5", kill_on_drop: false }`
[INFO] [stdout] 821a01682c48a1a78043ec64dee47ba540cf0b57433af50b1c57cfb252b489c5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aeb1c2888e7f62bf30e5c1e62abb7a9612921174e5f08936c8c428f35c6006a2
[INFO] running `Command { std: "docker" "start" "-a" "aeb1c2888e7f62bf30e5c1e62abb7a9612921174e5f08936c8c428f35c6006a2", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling palette v0.6.1
[INFO] [stderr]     Checking bytemuck v1.16.1
[INFO] [stderr]     Checking bresenham v0.1.1
[INFO] [stderr]    Compiling syn v2.0.71
[INFO] [stderr]     Checking phf_shared v0.11.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling phf_macros v0.11.2
[INFO] [stderr]     Checking phf v0.11.2
[INFO] [stderr]    Compiling find-crate v0.6.3
[INFO] [stderr]    Compiling palette_derive v0.6.1
[INFO] [stderr]     Checking stringify v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `image_utils::kmeans`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image_utils::kmeans;
[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: `std::thread`
[INFO] [stdout]   --> src/stringifier.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image_utils::kmeans`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use image_utils::kmeans;
[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: `std::thread`
[INFO] [stdout]   --> src/stringifier.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]    --> src/stringifier.rs:240:26
[INFO] [stdout]     |
[INFO] [stdout] 240 |     use std::sync::{Arc, Mutex};
[INFO] [stdout]     |                          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GenericImageView`
[INFO] [stdout]  --> src/stringifier.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 9 | use image::{DynamicImage, GenericImageView, Rgb};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]    --> src/stringifier.rs:241:9
[INFO] [stdout]     |
[INFO] [stdout] 241 |     use std::thread;
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handles`
[INFO] [stdout]    --> src/stringifier.rs:152:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |         let handles: Vec<_> = nails
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handles`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pattern`
[INFO] [stdout]   --> src/main.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let pattern = generator.pattern();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_mask_images` is never used
[INFO] [stdout]   --> src/main.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn save_mask_images(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_color_masks` is never used
[INFO] [stdout]   --> src/image_utils/dither.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub(crate) fn get_color_masks(
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `kmeans` is never used
[INFO] [stdout]  --> src/image_utils/kmeans.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn kmeans(k: usize, image: &ImageBuffer<Rgb<u8>, Vec<u8>>) -> Vec<Rgb<u8>> {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `assign_pixels_to_centroids` is never used
[INFO] [stdout]   --> src/image_utils/kmeans.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn assign_pixels_to_centroids(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_centroids` is never used
[INFO] [stdout]   --> src/image_utils/kmeans.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn update_centroids(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_distance` is never used
[INFO] [stdout]   --> src/image_utils/kmeans.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn calculate_distance(pixel1: &Rgb<u8>, pixel2: &Rgb<u8>) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GenericImageView`
[INFO] [stdout]  --> src/stringifier.rs:9:27
[INFO] [stdout]   |
[INFO] [stdout] 9 | use image::{DynamicImage, GenericImageView, Rgb};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `handles`
[INFO] [stdout]    --> src/stringifier.rs:152:13
[INFO] [stdout]     |
[INFO] [stdout] 152 |         let handles: Vec<_> = nails
[INFO] [stdout]     |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handles`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pattern`
[INFO] [stdout]   --> src/main.rs:73:9
[INFO] [stdout]    |
[INFO] [stdout] 73 |     let pattern = generator.pattern();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pattern`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `save_mask_images` is never used
[INFO] [stdout]   --> src/main.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn save_mask_images(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_color_masks` is never used
[INFO] [stdout]   --> src/image_utils/dither.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub(crate) fn get_color_masks(
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `kmeans` is never used
[INFO] [stdout]  --> src/image_utils/kmeans.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub fn kmeans(k: usize, image: &ImageBuffer<Rgb<u8>, Vec<u8>>) -> Vec<Rgb<u8>> {
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `assign_pixels_to_centroids` is never used
[INFO] [stdout]   --> src/image_utils/kmeans.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn assign_pixels_to_centroids(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_centroids` is never used
[INFO] [stdout]   --> src/image_utils/kmeans.rs:62:4
[INFO] [stdout]    |
[INFO] [stdout] 62 | fn update_centroids(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_distance` is never used
[INFO] [stdout]   --> src/image_utils/kmeans.rs:89:4
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn calculate_distance(pixel1: &Rgb<u8>, pixel2: &Rgb<u8>) -> u32 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.16s
[INFO] running `Command { std: "docker" "inspect" "aeb1c2888e7f62bf30e5c1e62abb7a9612921174e5f08936c8c428f35c6006a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aeb1c2888e7f62bf30e5c1e62abb7a9612921174e5f08936c8c428f35c6006a2", kill_on_drop: false }`
[INFO] [stdout] aeb1c2888e7f62bf30e5c1e62abb7a9612921174e5f08936c8c428f35c6006a2
