[INFO] cloning repository https://github.com/FaceFTW/img2xterm-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FaceFTW/img2xterm-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFaceFTW%2Fimg2xterm-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFaceFTW%2Fimg2xterm-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] aaa6c5c03f912b8b8a0f8cd79c8716efe8f0bd19
[INFO] checking FaceFTW/img2xterm-rs against try#2b39fe756f52bc2825bf5b2bfc385cab922dae10 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFaceFTW%2Fimg2xterm-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/FaceFTW/img2xterm-rs
[INFO] finished tweaking git repo https://github.com/FaceFTW/img2xterm-rs
[INFO] tweaked toml for git repo https://github.com/FaceFTW/img2xterm-rs written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/FaceFTW/img2xterm-rs on toolchain 2b39fe756f52bc2825bf5b2bfc385cab922dae10
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/FaceFTW/img2xterm-rs 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" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6590e477facfdc7352fd30b587bf6397ac53f0c8746a66d32efc7fe628a82ef9
[INFO] running `Command { std: "docker" "start" "-a" "6590e477facfdc7352fd30b587bf6397ac53f0c8746a66d32efc7fe628a82ef9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6590e477facfdc7352fd30b587bf6397ac53f0c8746a66d32efc7fe628a82ef9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6590e477facfdc7352fd30b587bf6397ac53f0c8746a66d32efc7fe628a82ef9", kill_on_drop: false }`
[INFO] [stdout] 6590e477facfdc7352fd30b587bf6397ac53f0c8746a66d32efc7fe628a82ef9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+2b39fe756f52bc2825bf5b2bfc385cab922dae10" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d8cbe521382bae972e2459943ef16f3b47f7fc7f8d819284be758a5d64a9424b
[INFO] running `Command { std: "docker" "start" "-a" "d8cbe521382bae972e2459943ef16f3b47f7fc7f8d819284be758a5d64a9424b", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]     Checking bytemuck v1.18.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]     Checking fdeflate v0.3.5
[INFO] [stderr]     Checking miniz_oxide v0.7.4
[INFO] [stderr]     Checking miniz_oxide v0.8.0
[INFO] [stderr]     Checking rgb v0.8.50
[INFO] [stderr]     Checking flate2 v1.0.34
[INFO] [stderr]     Checking png v0.17.13
[INFO] [stderr]     Checking img2xterm-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found keyword `in`
[INFO] [stdout]    --> src/lib.rs:140:66
[INFO] [stdout]     |
[INFO] [stdout] 140 |         png::ColorType::Rgba => Vec::from(buf.as_rgba().to_vec().in),
[INFO] [stdout]     |                                                                  ^^ expected identifier, found keyword
[INFO] [stdout]     |
[INFO] [stdout] help: escape `in` to use it as an identifier
[INFO] [stdout]     |
[INFO] [stdout] 140 |         png::ColorType::Rgba => Vec::from(buf.as_rgba().to_vec().r#in),
[INFO] [stdout]     |                                                                  ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found keyword `in`
[INFO] [stdout]    --> src/lib.rs:140:66
[INFO] [stdout]     |
[INFO] [stdout] 140 |         png::ColorType::Rgba => Vec::from(buf.as_rgba().to_vec().in),
[INFO] [stdout]     |                                                                  ^^ expected identifier, found keyword
[INFO] [stdout]     |
[INFO] [stdout] help: escape `in` to use it as an identifier
[INFO] [stdout]     |
[INFO] [stdout] 140 |         png::ColorType::Rgba => Vec::from(buf.as_rgba().to_vec().r#in),
[INFO] [stdout]     |                                                                  ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `img_data` in this scope
[INFO] [stdout]    --> src/lib.rs:143:50
[INFO] [stdout]     |
[INFO] [stdout] 143 |                 let mut vec = Vec::with_capacity(img_data.len() * 3);
[INFO] [stdout]     |                                                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `img_data` in this scope
[INFO] [stdout]    --> src/lib.rs:144:26
[INFO] [stdout]     |
[INFO] [stdout] 144 |                 for g in img_data {
[INFO] [stdout]     |                          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `img_data` in this scope
[INFO] [stdout]    --> src/lib.rs:153:50
[INFO] [stdout]     |
[INFO] [stdout] 153 |                 let mut vec = Vec::with_capacity(img_data.len() * 3);
[INFO] [stdout]     |                                                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `img_data` in this scope
[INFO] [stdout]    --> src/lib.rs:154:27
[INFO] [stdout]     |
[INFO] [stdout] 154 |                 for ga in img_data.chunks(2) {
[INFO] [stdout]     |                           ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `img_data` in this scope
[INFO] [stdout]    --> src/lib.rs:143:50
[INFO] [stdout]     |
[INFO] [stdout] 143 |                 let mut vec = Vec::with_capacity(img_data.len() * 3);
[INFO] [stdout]     |                                                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `img_data` in this scope
[INFO] [stdout]    --> src/lib.rs:144:26
[INFO] [stdout]     |
[INFO] [stdout] 144 |                 for g in img_data {
[INFO] [stdout]     |                          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `img_data` in this scope
[INFO] [stdout]    --> src/lib.rs:153:50
[INFO] [stdout]     |
[INFO] [stdout] 153 |                 let mut vec = Vec::with_capacity(img_data.len() * 3);
[INFO] [stdout]     |                                                  ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `img_data` in this scope
[INFO] [stdout]    --> src/lib.rs:154:27
[INFO] [stdout]     |
[INFO] [stdout] 154 |                 for ga in img_data.chunks(2) {
[INFO] [stdout]     |                           ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `r#in` on type `Vec<RGBA<u8>>`
[INFO] [stdout]    --> src/lib.rs:140:66
[INFO] [stdout]     |
[INFO] [stdout] 140 |         png::ColorType::Rgba => Vec::from(buf.as_rgba().to_vec().in),
[INFO] [stdout]     |                                                                  ^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `r#in` on type `Vec<RGBA<u8>>`
[INFO] [stdout]    --> src/lib.rs:140:66
[INFO] [stdout]     |
[INFO] [stdout] 140 |         png::ColorType::Rgba => Vec::from(buf.as_rgba().to_vec().in),
[INFO] [stdout]     |                                                                  ^^ unknown field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientFormat`
[INFO] [stdout]    --> src/lib.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |             ClientFormat::U8U8U8,
[INFO] [stdout]     |             ^^^^^^^^^^^^ use of undeclared type `ClientFormat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientFormat`
[INFO] [stdout]    --> src/lib.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 |             ClientFormat::U8U8U8,
[INFO] [stdout]     |             ^^^^^^^^^^^^ use of undeclared type `ClientFormat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientFormat`
[INFO] [stdout]    --> src/lib.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             ClientFormat::U8U8U8U8,
[INFO] [stdout]     |             ^^^^^^^^^^^^ use of undeclared type `ClientFormat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClientFormat`
[INFO] [stdout]    --> src/lib.rs:161:13
[INFO] [stdout]     |
[INFO] [stdout] 161 |             ClientFormat::U8U8U8U8,
[INFO] [stdout]     |             ^^^^^^^^^^^^ use of undeclared type `ClientFormat`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]  --> src/lib.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn basename2(string: &str) {
[INFO] [stdout]   |                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `string`
[INFO] [stdout]  --> src/lib.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub fn basename2(string: &str) {
[INFO] [stdout]   |                  ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout]    --> src/lib.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut ret: u32 = 0;
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/lib.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let mut d: f64 = f64::INFINITY;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `smallest_distance`
[INFO] [stdout]    --> src/lib.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let mut smallest_distance: f64 = f64::INFINITY;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_smallest_distance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ret`
[INFO] [stdout]    --> src/lib.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut ret: u32 = 0;
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_ret`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `d`
[INFO] [stdout]    --> src/lib.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let mut d: f64 = f64::INFINITY;
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `smallest_distance`
[INFO] [stdout]    --> src/lib.rs:118:13
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let mut smallest_distance: f64 = f64::INFINITY;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_smallest_distance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let mut i: u32 = 16;
[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/lib.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut ret: u32 = 0;
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:114:9
[INFO] [stdout]     |
[INFO] [stdout] 114 |     let mut i: u32 = 16;
[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/lib.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |     let mut ret: u32 = 0;
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let mut d: f64 = f64::INFINITY;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let mut d: f64 = f64::INFINITY;
[INFO] [stdout]     |         ----^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let mut smallest_distance: f64 = f64::INFINITY;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let mut smallest_distance: f64 = f64::INFINITY;
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `img2xterm-rs` (lib test) due to 8 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `img2xterm-rs` (lib) due to 8 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "d8cbe521382bae972e2459943ef16f3b47f7fc7f8d819284be758a5d64a9424b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8cbe521382bae972e2459943ef16f3b47f7fc7f8d819284be758a5d64a9424b", kill_on_drop: false }`
[INFO] [stdout] d8cbe521382bae972e2459943ef16f3b47f7fc7f8d819284be758a5d64a9424b
