[INFO] cloning repository https://github.com/tomerhc/colorust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tomerhc/colorust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomerhc%2Fcolorust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomerhc%2Fcolorust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f91ea9698a78f01fa9e5beabbc60d8757c8d3942
[INFO] checking tomerhc/colorust against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomerhc%2Fcolorust" "/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/tomerhc/colorust
[INFO] finished tweaking git repo https://github.com/tomerhc/colorust
[INFO] tweaked toml for git repo https://github.com/tomerhc/colorust written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tomerhc/colorust on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tomerhc/colorust 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[ERROR] error running command: no output for 300 seconds
[INFO] checking tomerhc/colorust against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftomerhc%2Fcolorust" "/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/tomerhc/colorust
[INFO] finished tweaking git repo https://github.com/tomerhc/colorust
[INFO] tweaked toml for git repo https://github.com/tomerhc/colorust written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/tomerhc/colorust on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/tomerhc/colorust 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded png v0.16.3
[INFO] [stderr]   Downloaded deflate v0.8.4
[INFO] [stderr]   Downloaded image v0.23.4
[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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 28b28b6c7841e4542d8388e11db6fe25fcfdd5cf6bab407bb95ae4cae653a9fc
[INFO] running `Command { std: "docker" "start" "-a" "28b28b6c7841e4542d8388e11db6fe25fcfdd5cf6bab407bb95ae4cae653a9fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "28b28b6c7841e4542d8388e11db6fe25fcfdd5cf6bab407bb95ae4cae653a9fc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "28b28b6c7841e4542d8388e11db6fe25fcfdd5cf6bab407bb95ae4cae653a9fc", kill_on_drop: false }`
[INFO] [stdout] 28b28b6c7841e4542d8388e11db6fe25fcfdd5cf6bab407bb95ae4cae653a9fc
[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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 18ab010ef217a43af3c90639a62e3473243811568e8624155235a45a29cb7b53
[INFO] running `Command { std: "docker" "start" "-a" "18ab010ef217a43af3c90639a62e3473243811568e8624155235a45a29cb7b53", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking adler32 v1.0.4
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking lzw v0.10.0
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking color_quant v1.0.1
[INFO] [stderr]     Checking scoped_threadpool v0.1.9
[INFO] [stderr]     Checking bytemuck v1.2.0
[INFO] [stderr]     Checking miniz_oxide v0.3.6
[INFO] [stderr]     Checking inflate v0.4.5
[INFO] [stderr]     Checking gif v0.10.3
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling memoffset v0.5.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]    Compiling num-rational v0.2.4
[INFO] [stderr]    Compiling num-iter v0.1.40
[INFO] [stderr]     Checking deflate v0.8.4
[INFO] [stderr]     Checking tiff v0.4.0
[INFO] [stderr]     Checking png v0.16.3
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking crossbeam-queue v0.2.1
[INFO] [stderr]     Checking crossbeam-deque v0.7.3
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking jpeg-decoder v0.1.18
[INFO] [stderr]     Checking image v0.23.4
[INFO] [stderr]     Checking colorust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/mcq.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |         for i in (0..buckets.len()){//.step_by(2) {
[INFO] [stdout]    |                  ^                ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 10 -         for i in (0..buckets.len()){//.step_by(2) {
[INFO] [stdout] 10 +         for i in 0..buckets.len() {//.step_by(2) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::imageops::FilterType`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use image::imageops::FilterType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/mcq.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |         for i in (0..buckets.len()){//.step_by(2) {
[INFO] [stdout]    |                  ^                ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 10 -         for i in (0..buckets.len()){//.step_by(2) {
[INFO] [stdout] 10 +         for i in 0..buckets.len() {//.step_by(2) {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `image::imageops::FilterType`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use image::imageops::FilterType;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/mcq.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let mut sat_vec: Vec<(image::Rgb<u8>, f64)> = v.into_iter().map(|&mut a| (*a, img_ops::calc_sat(a))).collect();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/mcq.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let mut sat_vec: Vec<(image::Rgb<u8>, f64)> = v.into_iter().map(|&mut a| (*a, img_ops::calc_sat(a))).collect();
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_mode` is never used
[INFO] [stdout]  --> src/img_ops.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |  pub fn  find_mode(v: &mut [image::Rgb<u8>], len_res: usize) -> Vec<(image::Rgb<u8>, i32)> {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_closest` is never used
[INFO] [stdout]   --> src/img_ops.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |  pub fn  find_closest(v: &[image::Rgb<u8>], pix: &image::Rgb<u8>) -> (image::Rgb<u8>, f64) {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `combine` is never used
[INFO] [stdout]   --> src/img_ops.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 |  pub fn  combine(v: &mut [&image:: Rgb<u8>], threshold: i32) -> Vec<image::Rgb<u8>> {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_distinct` is never used
[INFO] [stdout]   --> src/img_ops.rs:65:10
[INFO] [stdout]    |
[INFO] [stdout] 65 |  pub fn  find_distinct(v: &mut [image::Rgb<u8>], avg_col: &image::Rgb<u8>, num: usize) -> Vec<image::Rgb<u8>> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_mode` is never used
[INFO] [stdout]  --> src/img_ops.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 |  pub fn  find_mode(v: &mut [image::Rgb<u8>], len_res: usize) -> Vec<(image::Rgb<u8>, i32)> {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_avg` is never used
[INFO] [stdout]   --> src/img_ops.rs:88:10
[INFO] [stdout]    |
[INFO] [stdout] 88 |  pub fn  find_avg(v: &mut [&image::Rgb<u8>]) -> image::Rgb<u8>{
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_closest` is never used
[INFO] [stdout]   --> src/img_ops.rs:21:10
[INFO] [stdout]    |
[INFO] [stdout] 21 |  pub fn  find_closest(v: &[image::Rgb<u8>], pix: &image::Rgb<u8>) -> (image::Rgb<u8>, f64) {
[INFO] [stdout]    |          ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cut_index` is never used
[INFO] [stdout]   --> src/mcq.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn cut_index(v: &Vec<&image::Rgb<u8>>, channel: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `combine` is never used
[INFO] [stdout]   --> src/img_ops.rs:39:10
[INFO] [stdout]    |
[INFO] [stdout] 39 |  pub fn  combine(v: &mut [&image:: Rgb<u8>], threshold: i32) -> Vec<image::Rgb<u8>> {
[INFO] [stdout]    |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_distinct` is never used
[INFO] [stdout]   --> src/img_ops.rs:65:10
[INFO] [stdout]    |
[INFO] [stdout] 65 |  pub fn  find_distinct(v: &mut [image::Rgb<u8>], avg_col: &image::Rgb<u8>, num: usize) -> Vec<image::Rgb<u8>> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_avg` is never used
[INFO] [stdout]   --> src/img_ops.rs:88:10
[INFO] [stdout]    |
[INFO] [stdout] 88 |  pub fn  find_avg(v: &mut [&image::Rgb<u8>]) -> image::Rgb<u8>{
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `cut_index` is never used
[INFO] [stdout]   --> src/mcq.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn cut_index(v: &Vec<&image::Rgb<u8>>, channel: usize) -> usize {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.23s
[INFO] running `Command { std: "docker" "inspect" "18ab010ef217a43af3c90639a62e3473243811568e8624155235a45a29cb7b53", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18ab010ef217a43af3c90639a62e3473243811568e8624155235a45a29cb7b53", kill_on_drop: false }`
[INFO] [stdout] 18ab010ef217a43af3c90639a62e3473243811568e8624155235a45a29cb7b53
