[INFO] cloning repository https://github.com/PeterHatch/color-smash
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PeterHatch/color-smash" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterHatch%2Fcolor-smash", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterHatch%2Fcolor-smash'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dddc315e7374940b7780528b841a91837dfd8854
[INFO] checking PeterHatch/color-smash against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPeterHatch%2Fcolor-smash" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/PeterHatch/color-smash
[INFO] finished tweaking git repo https://github.com/PeterHatch/color-smash
[INFO] tweaked toml for git repo https://github.com/PeterHatch/color-smash written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/PeterHatch/color-smash on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/PeterHatch/color-smash 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded getopts v0.2.18
[INFO] [stderr]   Downloaded png v0.14.0
[INFO] [stderr]   Downloaded num-derive v0.2.4
[INFO] [stderr]   Downloaded image v0.21.1
[INFO] [stderr]   Downloaded libc v0.2.51
[INFO] [stderr]   Downloaded tiff v0.2.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5faed0d0144efb3d4f7c369d85e74f80278412c65c8474aac82542982b2bcdae
[INFO] running `Command { std: "docker" "start" "-a" "5faed0d0144efb3d4f7c369d85e74f80278412c65c8474aac82542982b2bcdae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5faed0d0144efb3d4f7c369d85e74f80278412c65c8474aac82542982b2bcdae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5faed0d0144efb3d4f7c369d85e74f80278412c65c8474aac82542982b2bcdae", kill_on_drop: false }`
[INFO] [stdout] 5faed0d0144efb3d4f7c369d85e74f80278412c65c8474aac82542982b2bcdae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eb95eb53e45dfc39a28dfe25aecdc5161229da60ddd897ff0af9c5c8b69ddc96
[INFO] running `Command { std: "docker" "start" "-a" "eb95eb53e45dfc39a28dfe25aecdc5161229da60ddd897ff0af9c5c8b69ddc96", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling arrayvec v0.4.10
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling proc-macro2 v0.4.27
[INFO] [stderr]     Checking cfg-if v0.1.7
[INFO] [stderr]    Compiling byteorder v1.3.1
[INFO] [stderr]    Compiling libc v0.2.51
[INFO] [stderr]     Checking nodrop v0.1.13
[INFO] [stderr]    Compiling rayon-core v1.4.1
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]    Compiling num-bigint v0.2.2
[INFO] [stderr]    Compiling syn v0.15.31
[INFO] [stderr]    Compiling num-iter v0.1.37
[INFO] [stderr]    Compiling num-rational v0.2.1
[INFO] [stderr]    Compiling num-derive v0.2.4
[INFO] [stderr]     Checking crossbeam-utils v0.2.2
[INFO] [stderr]     Checking adler32 v1.0.3
[INFO] [stderr]    Compiling rayon v1.0.3
[INFO] [stderr]    Compiling num-complex v0.2.1
[INFO] [stderr]     Checking either v1.5.2
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking gif v0.10.1
[INFO] [stderr]     Checking getopts v0.2.18
[INFO] [stderr]     Checking deflate v0.7.19
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]     Checking crossbeam-epoch v0.3.1
[INFO] [stderr]     Checking num_cpus v1.10.0
[INFO] [stderr]     Checking ordered-float v1.0.2
[INFO] [stderr]     Checking crossbeam-deque v0.2.0
[INFO] [stderr]     Checking png v0.14.0
[INFO] [stderr]     Checking num v0.2.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.15
[INFO] [stderr]     Checking tiff v0.2.2
[INFO] [stderr]     Checking image v0.21.1
[INFO] [stderr]     Checking color_smash v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/color/rgb5a3/mod.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 74 |             1...6 => {
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/images/mod.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     try!(write_pngs(
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/images/mod.rs:34:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let images = try!(open_images(input_paths));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/images/mod.rs:79:21
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let image = try!(image_lib::open(input_path)).to_rgba();
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/images/mod.rs:291:9
[INFO] [stdout]     |
[INFO] [stdout] 291 |         try!(writer.write_chunk(png::chunk::PLTE, &rgb_palette));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/images/mod.rs:292:9
[INFO] [stdout]     |
[INFO] [stdout] 292 |         try!(writer.write_chunk(png::chunk::tRNS, &alpha_palette));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/images/mod.rs:293:9
[INFO] [stdout]     |
[INFO] [stdout] 293 |         try!(writer.write_image_data(&indexed_image_data));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/images/mod.rs:284:27
[INFO] [stdout]     |
[INFO] [stdout] 284 |         let mut output = &try!(File::create(output_path));
[INFO] [stdout]     |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/images/mod.rs:290:26
[INFO] [stdout]     |
[INFO] [stdout] 290 |         let mut writer = try!(encoder.write_header());
[INFO] [stdout]     |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]   --> src/color/rgb5a3/mod.rs:74:14
[INFO] [stdout]    |
[INFO] [stdout] 74 |             1...6 => {
[INFO] [stdout]    |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/images/mod.rs:62:5
[INFO] [stdout]    |
[INFO] [stdout] 62 |     try!(write_pngs(
[INFO] [stdout]    |     ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/images/mod.rs:34:18
[INFO] [stdout]    |
[INFO] [stdout] 34 |     let images = try!(open_images(input_paths));
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/images/mod.rs:79:21
[INFO] [stdout]    |
[INFO] [stdout] 79 |         let image = try!(image_lib::open(input_path)).to_rgba();
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/images/mod.rs:291:9
[INFO] [stdout]     |
[INFO] [stdout] 291 |         try!(writer.write_chunk(png::chunk::PLTE, &rgb_palette));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/images/mod.rs:292:9
[INFO] [stdout]     |
[INFO] [stdout] 292 |         try!(writer.write_chunk(png::chunk::tRNS, &alpha_palette));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/images/mod.rs:293:9
[INFO] [stdout]     |
[INFO] [stdout] 293 |         try!(writer.write_image_data(&indexed_image_data));
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/images/mod.rs:284:27
[INFO] [stdout]     |
[INFO] [stdout] 284 |         let mut output = &try!(File::create(output_path));
[INFO] [stdout]     |                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/images/mod.rs:290:26
[INFO] [stdout]     |
[INFO] [stdout] 290 |         let mut writer = try!(encoder.write_header());
[INFO] [stdout]     |                          ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/images/mod.rs:284:13
[INFO] [stdout]     |
[INFO] [stdout] 284 |         let mut output = &try!(File::create(output_path));
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/images/mod.rs:284:13
[INFO] [stdout]     |
[INFO] [stdout] 284 |         let mut output = &try!(File::create(output_path));
[INFO] [stdout]     |             ----^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `nearest` is never used
[INFO] [stdout]   --> src/k_means/mod.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub trait SimpleInput: Eq + Hash + Clone + Debug {
[INFO] [stdout]    |           ----------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn nearest(&self, centers: &[Self::Output]) -> u32 {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `nearest` is never used
[INFO] [stdout]   --> src/k_means/mod.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub trait SimpleInput: Eq + Hash + Clone + Debug {
[INFO] [stdout]    |           ----------- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 39 |     fn nearest(&self, centers: &[Self::Output]) -> u32 {
[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 10.04s
[INFO] running `Command { std: "docker" "inspect" "eb95eb53e45dfc39a28dfe25aecdc5161229da60ddd897ff0af9c5c8b69ddc96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb95eb53e45dfc39a28dfe25aecdc5161229da60ddd897ff0af9c5c8b69ddc96", kill_on_drop: false }`
[INFO] [stdout] eb95eb53e45dfc39a28dfe25aecdc5161229da60ddd897ff0af9c5c8b69ddc96
