[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 try#1bdcb63291ccffc030f8223f6f978568dd240e3e for 155501-infallible-never-with-reservation
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrew-marsh%2Fstringify" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/drew-marsh/stringify on toolchain 1bdcb63291ccffc030f8223f6f978568dd240e3e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1bdcb63291ccffc030f8223f6f978568dd240e3e" "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" "+1bdcb63291ccffc030f8223f6f978568dd240e3e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1bdcb63291ccffc030f8223f6f978568dd240e3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9602843354b8dae0e5fc6e8bf29325d446f710c678e5cd90a22c3c0674499b53
[INFO] running `Command { std: "docker" "start" "-a" "9602843354b8dae0e5fc6e8bf29325d446f710c678e5cd90a22c3c0674499b53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9602843354b8dae0e5fc6e8bf29325d446f710c678e5cd90a22c3c0674499b53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9602843354b8dae0e5fc6e8bf29325d446f710c678e5cd90a22c3c0674499b53", kill_on_drop: false }`
[INFO] [stdout] 9602843354b8dae0e5fc6e8bf29325d446f710c678e5cd90a22c3c0674499b53
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1bdcb63291ccffc030f8223f6f978568dd240e3e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 158165c14cd5288f53c9029ad840a6f5be1dc91c90a6ec3379240c33e3bfd1be
[INFO] running `Command { std: "docker" "start" "-a" "158165c14cd5288f53c9029ad840a6f5be1dc91c90a6ec3379240c33e3bfd1be", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking either v1.13.0
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]     Checking deflate v0.8.6
[INFO] [stderr]     Checking miniz_oxide v0.3.7
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling palette v0.6.1
[INFO] [stderr]     Checking gif v0.11.4
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking bytemuck v1.16.1
[INFO] [stderr]     Checking bresenham v0.1.1
[INFO] [stderr]     Checking rayon v1.10.0
[INFO] [stderr]    Compiling syn v2.0.71
[INFO] [stderr]     Checking png v0.16.8
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]    Compiling phf_macros v0.11.2
[INFO] [stderr]     Checking phf v0.11.2
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]    Compiling toml v0.5.11
[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: `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: `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 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: `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] [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 14.78s
[INFO] running `Command { std: "docker" "inspect" "158165c14cd5288f53c9029ad840a6f5be1dc91c90a6ec3379240c33e3bfd1be", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "158165c14cd5288f53c9029ad840a6f5be1dc91c90a6ec3379240c33e3bfd1be", kill_on_drop: false }`
[INFO] [stdout] 158165c14cd5288f53c9029ad840a6f5be1dc91c90a6ec3379240c33e3bfd1be
