[INFO] cloning repository https://github.com/TAFH-debug/color-term [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TAFH-debug/color-term" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTAFH-debug%2Fcolor-term", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTAFH-debug%2Fcolor-term'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5276e895084de0165c52b0ae2f59458bbaf573ec [INFO] checking TAFH-debug/color-term against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTAFH-debug%2Fcolor-term" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TAFH-debug/color-term on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TAFH-debug/color-term [INFO] finished tweaking git repo https://github.com/TAFH-debug/color-term [INFO] tweaked toml for git repo https://github.com/TAFH-debug/color-term written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TAFH-debug/color-term 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d05179d15dad4a040504f17b613296985b76a6455158ab18b268582b82da3ce [INFO] running `Command { std: "docker" "start" "-a" "3d05179d15dad4a040504f17b613296985b76a6455158ab18b268582b82da3ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d05179d15dad4a040504f17b613296985b76a6455158ab18b268582b82da3ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d05179d15dad4a040504f17b613296985b76a6455158ab18b268582b82da3ce", kill_on_drop: false }` [INFO] [stdout] 3d05179d15dad4a040504f17b613296985b76a6455158ab18b268582b82da3ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9517ffeff1a9afb3874709993aaeb58aadb828e15269ad9c74f7dc0b7c9aee2 [INFO] running `Command { std: "docker" "start" "-a" "e9517ffeff1a9afb3874709993aaeb58aadb828e15269ad9c74f7dc0b7c9aee2", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking weezl v0.1.6 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling servo-fontconfig-sys v5.1.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling freetype-sys v0.13.1 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling pathfinder_simd v0.5.1 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking freetype v0.7.0 [INFO] [stderr] Checking servo-fontconfig v0.5.1 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking font-kit v0.10.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking plotters-bitmap v0.3.1 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking color-term v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/png/png_decoder.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let p = (a + b - c); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 165 - let p = (a + b - c); [INFO] [stdout] 165 + let p = a + b - c; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/png/png_decoder.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | let p = (a + b - c); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 165 - let p = (a + b - c); [INFO] [stdout] 165 + let p = a + b - c; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/animations.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut len = 10; [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/animations.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | let mut len = 10; [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/animations.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut file = BufReader::new(File::open(filename).unwrap()); [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/animations.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let mut file = BufReader::new(File::open(filename).unwrap()); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/png/png_decoder.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | let (image, width, height) = match raw_decode(filename) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/png/png_decoder.rs:44:24 [INFO] [stdout] | [INFO] [stdout] 44 | let (image, width, height) = match raw_decode(filename) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/png/png_decoder.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut idata = inflate_bytes(idat_data.as_slice()).unwrap(); [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/png/png_decoder.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | let mut idata = inflate_bytes(idat_data.as_slice()).unwrap(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `font_background` is never used [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn font_background>(fontc: Color, back: Color, text: S) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `append` are never used [INFO] [stdout] --> src/structs.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl StringBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add>(&mut self, string: S) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn append(&mut self, c: char) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `loading_line` is never used [INFO] [stdout] --> src/animations.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn loading_line(count: i32, len: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `animate_loading` is never used [INFO] [stdout] --> src/animations.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn animate_loading() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `paint_sym` is never used [INFO] [stdout] --> src/console.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn paint_sym>(src: S, color: Color, sym: char) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `font_background` is never used [INFO] [stdout] --> src/main.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn font_background>(fontc: Color, back: Color, text: S) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add` and `append` are never used [INFO] [stdout] --> src/structs.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl StringBuilder { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn add>(&mut self, string: S) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn append(&mut self, c: char) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `loading_line` is never used [INFO] [stdout] --> src/animations.rs:11:4 [INFO] [stdout] | [INFO] [stdout] 11 | fn loading_line(count: i32, len: i32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `animate_loading` is never used [INFO] [stdout] --> src/animations.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn animate_loading() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `paint_sym` is never used [INFO] [stdout] --> src/console.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn paint_sym>(src: S, color: Color, sym: char) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/animations.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/animations.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | stdout().flush(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = stdout().flush(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/png/chuncks.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let slice = bytes.as_slice().clone(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/png/chuncks.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let slice = bytes.as_slice().clone(); [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/png/png_decoder.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | f.read(&mut [0; 4]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 192 | let _ = f.read(&mut [0; 4]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/png/png_decoder.rs:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | f.read(&mut [0; 4]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 192 | let _ = f.read(&mut [0; 4]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `color-term` (bin "color-term" test) due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `color-term` (bin "color-term") due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e9517ffeff1a9afb3874709993aaeb58aadb828e15269ad9c74f7dc0b7c9aee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9517ffeff1a9afb3874709993aaeb58aadb828e15269ad9c74f7dc0b7c9aee2", kill_on_drop: false }` [INFO] [stdout] e9517ffeff1a9afb3874709993aaeb58aadb828e15269ad9c74f7dc0b7c9aee2