[INFO] fetching crate chalk-plus 0.1.0... [INFO] checking chalk-plus-0.1.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate chalk-plus 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate chalk-plus 0.1.0 [INFO] finished tweaking crates.io crate chalk-plus 0.1.0 [INFO] tweaked toml for crates.io crate chalk-plus 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate chalk-plus 0.1.0 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 crates.io crate chalk-plus 0.1.0 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] 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] ddfea6d4ea38e1cfaf0d4cd0029287e489092da86af467f06d81fc2a35d55d83 [INFO] running `Command { std: "docker" "start" "-a" "ddfea6d4ea38e1cfaf0d4cd0029287e489092da86af467f06d81fc2a35d55d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddfea6d4ea38e1cfaf0d4cd0029287e489092da86af467f06d81fc2a35d55d83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddfea6d4ea38e1cfaf0d4cd0029287e489092da86af467f06d81fc2a35d55d83", kill_on_drop: false }` [INFO] [stdout] ddfea6d4ea38e1cfaf0d4cd0029287e489092da86af467f06d81fc2a35d55d83 [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] e5095612e7d2d434c7754c9b634416849d5bc8b1c652d7a1af01e96de26ea790 [INFO] running `Command { std: "docker" "start" "-a" "e5095612e7d2d434c7754c9b634416849d5bc8b1c652d7a1af01e96de26ea790", kill_on_drop: false }` [INFO] [stderr] Checking chalk-plus v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/text_styling.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | fn colors>(&mut self, text: S, mut color: StyleCode) -> &mut Self{ [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: multiple variants are never constructed [INFO] [stdout] --> src/text_styling.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ColorCode{ [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 8 | Black, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | Red, [INFO] [stdout] 10 | Green, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | Yellow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | Magenta, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | Cyan, [INFO] [stdout] | ^^^^ [INFO] [stdout] 15 | White [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Dim`, `Italic`, `Inverse`, `Hidden`, `Strikethrough`, and `Overline` are never constructed [INFO] [stdout] --> src/text_styling.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum TextStyle { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 18 | Bold, [INFO] [stdout] 19 | Dim, [INFO] [stdout] | ^^^ [INFO] [stdout] 20 | Italic, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | Underline, [INFO] [stdout] 22 | Inverse, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | Hidden, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 24 | Strikethrough, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 25 | Overline, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/text_styling.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Colors { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 37 | fn black>(&mut self, text: S) -> &mut Self; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn green>(&mut self, text: S) -> &mut Self; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | [INFO] [stdout] 43 | fn yellow>(&mut self, text: S) -> &mut Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 44 | [INFO] [stdout] 45 | fn blue>(&mut self, text: S) -> &mut Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] 46 | [INFO] [stdout] 47 | fn magenta>(&mut self, text: S) -> &mut Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | [INFO] [stdout] 49 | fn cyan>(&mut self, text: S) -> &mut Self; [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | [INFO] [stdout] 51 | fn white>(&mut self, text: S) -> &mut Self; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dim`, `italic`, `hidden`, `strikethrough`, and `overline` are never used [INFO] [stdout] --> src/text_styling.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub trait Styles { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 55 | fn bold(&mut self) -> &mut Self; [INFO] [stdout] 56 | fn dim(&mut self) -> &mut Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | fn italic(&mut self) -> &mut Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 58 | fn underline(&mut self) -> &mut Self; [INFO] [stdout] 59 | fn hidden(&mut self) -> &mut Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | fn strikethrough(&mut self) -> &mut Self; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 61 | fn overline(&mut self) -> &mut Self; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::text_styling::*` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::text_styling::*; [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/text_styling.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | fn colors>(&mut self, text: S, mut color: StyleCode) -> &mut Self{ [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: enum `StyleCode` is never used [INFO] [stdout] --> src/text_styling.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum StyleCode { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ColorCode` is never used [INFO] [stdout] --> src/text_styling.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ColorCode{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TextStyle` is never used [INFO] [stdout] --> src/text_styling.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum TextStyle { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Chalk` is never constructed [INFO] [stdout] --> src/text_styling.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Chalk { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Colors` is never used [INFO] [stdout] --> src/text_styling.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait Colors { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Styles` is never used [INFO] [stdout] --> src/text_styling.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub trait Styles { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_code` is never used [INFO] [stdout] --> src/text_styling.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 64 | impl ColorCode{ [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 65 | pub fn to_code(&self) -> u8{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_code` is never used [INFO] [stdout] --> src/text_styling.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | impl TextStyle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 80 | pub fn to_code(&self) -> u8 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_code` is never used [INFO] [stdout] --> src/text_styling.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl StyleCode { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 95 | pub fn to_code(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> src/text_styling.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 197 | impl Chalk { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 198 | pub fn display(&self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "e5095612e7d2d434c7754c9b634416849d5bc8b1c652d7a1af01e96de26ea790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5095612e7d2d434c7754c9b634416849d5bc8b1c652d7a1af01e96de26ea790", kill_on_drop: false }` [INFO] [stdout] e5095612e7d2d434c7754c9b634416849d5bc8b1c652d7a1af01e96de26ea790