[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] building FaceFTW/img2xterm-rs against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFaceFTW%2Fimg2xterm-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/FaceFTW/img2xterm-rs on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-7-tc1/source/Cargo.toml
[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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d30c5e46b289950f5bea0097da7b474803b2ac384dbd2814fa5d4b4ffcea96d0
[INFO] running `Command { std: "docker" "start" "-a" "d30c5e46b289950f5bea0097da7b474803b2ac384dbd2814fa5d4b4ffcea96d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d30c5e46b289950f5bea0097da7b474803b2ac384dbd2814fa5d4b4ffcea96d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d30c5e46b289950f5bea0097da7b474803b2ac384dbd2814fa5d4b4ffcea96d0", kill_on_drop: false }`
[INFO] [stdout] d30c5e46b289950f5bea0097da7b474803b2ac384dbd2814fa5d4b4ffcea96d0
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1d859defd530e63c4eb916cb3346c7072d3c47a07d225264a2774d7bfccdd476
[INFO] running `Command { std: "docker" "start" "-a" "1d859defd530e63c4eb916cb3346c7072d3c47a07d225264a2774d7bfccdd476", kill_on_drop: false }`
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling bytemuck v1.18.0
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling fdeflate v0.3.5
[INFO] [stderr]    Compiling miniz_oxide v0.7.4
[INFO] [stderr]    Compiling rgb v0.8.50
[INFO] [stderr]    Compiling flate2 v1.0.34
[INFO] [stderr]    Compiling png v0.17.13
[INFO] [stderr]    Compiling 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[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[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] 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: 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: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] [stderr] error: could not compile `img2xterm-rs` (lib) due to 8 previous errors; 8 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "1d859defd530e63c4eb916cb3346c7072d3c47a07d225264a2774d7bfccdd476", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d859defd530e63c4eb916cb3346c7072d3c47a07d225264a2774d7bfccdd476", kill_on_drop: false }`
[INFO] [stdout] 1d859defd530e63c4eb916cb3346c7072d3c47a07d225264a2774d7bfccdd476
