[INFO] fetching crate ansi 0.1.0... [INFO] checking ansi-0.1.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate ansi 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate ansi 0.1.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ansi 0.1.0 [INFO] finished tweaking crates.io crate ansi 0.1.0 [INFO] tweaked toml for crates.io crate ansi 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87787c52ec720336c628a1b5c8da46dc8699a76bb3307af05b11471ac202a040 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "87787c52ec720336c628a1b5c8da46dc8699a76bb3307af05b11471ac202a040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87787c52ec720336c628a1b5c8da46dc8699a76bb3307af05b11471ac202a040", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87787c52ec720336c628a1b5c8da46dc8699a76bb3307af05b11471ac202a040", kill_on_drop: false }` [INFO] [stdout] 87787c52ec720336c628a1b5c8da46dc8699a76bb3307af05b11471ac202a040 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cfd22581724c40c67eaf89a3bee82d3bb80502c4df118d6f21a42ace540662b4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cfd22581724c40c67eaf89a3bee82d3bb80502c4df118d6f21a42ace540662b4", kill_on_drop: false }` [INFO] [stderr] Checking ansi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | assert_show(super::Red("red"), "\u001b[31mred\u001b[39m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:79:54 [INFO] [stdout] | [INFO] [stdout] 79 | assert_show(super::Red("red"), "\u001b[31mred\u001b[39m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:85:45 [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:85:58 [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:85:68 [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:47 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:56 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:69 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:79 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:89 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:93:36 [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:93:58 [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:93:68 [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:47 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:56 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:69 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:79 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:89 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:79:41 [INFO] [stdout] | [INFO] [stdout] 79 | assert_show(super::Red("red"), "\u001b[31mred\u001b[39m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:79:54 [INFO] [stdout] | [INFO] [stdout] 79 | assert_show(super::Red("red"), "\u001b[31mred\u001b[39m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:85:36 [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:85:45 [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:85:58 [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:85:68 [INFO] [stdout] | [INFO] [stdout] 85 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:47 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:56 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:69 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/ansi.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | write!(fmt, "\u001b[{}m", c) [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/ansi.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | impl AsSlice for [Ansi, ..1] { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/fmt.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use ansi::{mod, Ansi}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 5 | use ansi::{r#mod, Ansi}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/fmt.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | macro_rules! styles ( [INFO] [stdout] | _____________________^ [INFO] [stdout] 68 | | ($($name:ident: $ansi:ident, $method:ident),*) => { [INFO] [stdout] 69 | | $( [INFO] [stdout] 70 | | #[allow(non_upper_case_globals)] [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 67 | macro_rules! styles { [INFO] [stdout] 68 | ($($name:ident: $ansi:ident, $method:ident),*) => { [INFO] [stdout] 69 | $( [INFO] [stdout] 70 | #[allow(non_upper_case_globals)] [INFO] [stdout] 71 | pub static $name: Style<[Ansi, ..1]> = Style { [INFO] [stdout] 72 | styles: [ansi::$ansi] [INFO] [stdout] ... [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 84 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:79 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:87:89 [INFO] [stdout] | [INFO] [stdout] 87 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:93:36 [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:93:58 [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:93:68 [INFO] [stdout] | [INFO] [stdout] 93 | assert_show(color("red"), "\u001b[1m\u001b[31mred\u001b[39m\u001b[22m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:47 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:56 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:69 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:79 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/lib.rs:95:89 [INFO] [stdout] | [INFO] [stdout] 95 | assert_show(color2("red"), "\u001b[43m\u001b[1m\u001b[31mred\u001b[39m\u001b[22m\u001b[49m"); [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/fmt.rs:71:38 [INFO] [stdout] | [INFO] [stdout] 71 | pub static $name: Style<[Ansi, ..1]> = Style { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] ... [INFO] [stdout] 86 | / styles! { [INFO] [stdout] 87 | | Bold: BOLD, bold, [INFO] [stdout] 88 | | Dim: DIM, dim, [INFO] [stdout] 89 | | Italic: ITALIC, italic, [INFO] [stdout] ... | [INFO] [stdout] 112 | | BgWhite: BG_WHITE, bg_white [INFO] [stdout] 113 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: incorrect unicode escape sequence [INFO] [stdout] --> src/ansi.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | write!(fmt, "\u001b[{}m", c) [INFO] [stdout] | ^^^--- [INFO] [stdout] | | [INFO] [stdout] | help: format of unicode escape sequences uses braces: `\u{001b}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/ansi.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | impl AsSlice for [Ansi, ..1] { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `mod` [INFO] [stdout] --> src/fmt.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use ansi::{mod, Ansi}; [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] | [INFO] [stdout] help: you can escape reserved keywords to use them as identifiers [INFO] [stdout] | [INFO] [stdout] 5 | use ansi::{r#mod, Ansi}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `fmt::Bold`, `fmt::Dim`, `fmt::Italic`, `fmt::Underline`, `fmt::Inverse`, `fmt::Hidden`, `fmt::Strike`, `fmt::Black`, `fmt::Red`, `fmt::Green`, `fmt::Yellow`, `fmt::Blue`, `fmt::Magenta`, `fmt::Cyan`, `fmt::White`, `fmt::Gray`, `fmt::BgBlack`, `fmt::BgRed`, `fmt::BgGreen`, `fmt::BgYellow`, `fmt::BgBlue`, `fmt::BgMagenta`, `fmt::BgCyan`, `fmt::BgWhite` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Bold, [INFO] [stdout] | ^^^^ no `Bold` in `fmt` [INFO] [stdout] 35 | Dim, [INFO] [stdout] | ^^^ no `Dim` in `fmt` [INFO] [stdout] 36 | Italic, [INFO] [stdout] | ^^^^^^ no `Italic` in `fmt` [INFO] [stdout] 37 | Underline, [INFO] [stdout] | ^^^^^^^^^ no `Underline` in `fmt` [INFO] [stdout] 38 | Inverse, [INFO] [stdout] | ^^^^^^^ no `Inverse` in `fmt` [INFO] [stdout] 39 | Hidden, [INFO] [stdout] | ^^^^^^ no `Hidden` in `fmt` [INFO] [stdout] 40 | Strike, [INFO] [stdout] | ^^^^^^ no `Strike` in `fmt` [INFO] [stdout] 41 | [INFO] [stdout] 42 | Black, [INFO] [stdout] | ^^^^^ no `Black` in `fmt` [INFO] [stdout] 43 | Red, [INFO] [stdout] | ^^^ no `Red` in `fmt` [INFO] [stdout] 44 | Green, [INFO] [stdout] | ^^^^^ no `Green` in `fmt` [INFO] [stdout] 45 | Yellow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | Magenta, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | Cyan, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | Gray, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | [INFO] [stdout] 52 | BgBlack, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | BgRed, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | BgGreen, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | BgYellow, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | BgBlue, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | BgMagenta, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | BgCyan, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | BgWhite [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::slice::Items` [INFO] [stdout] --> src/fmt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::slice::Items; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Items` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/fmt.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | macro_rules! styles ( [INFO] [stdout] | _____________________^ [INFO] [stdout] 68 | | ($($name:ident: $ansi:ident, $method:ident),*) => { [INFO] [stdout] 69 | | $( [INFO] [stdout] 70 | | #[allow(non_upper_case_globals)] [INFO] [stdout] ... | [INFO] [stdout] 83 | | } [INFO] [stdout] 84 | | ) [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 67 | macro_rules! styles { [INFO] [stdout] 68 | ($($name:ident: $ansi:ident, $method:ident),*) => { [INFO] [stdout] 69 | $( [INFO] [stdout] 70 | #[allow(non_upper_case_globals)] [INFO] [stdout] 71 | pub static $name: Style<[Ansi, ..1]> = Style { [INFO] [stdout] 72 | styles: [ansi::$ansi] [INFO] [stdout] ... [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 84 | ); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ansi::r#mod`, `ansi::Ansi` [INFO] [stdout] --> src/fmt.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use ansi::{mod, Ansi}; [INFO] [stdout] | ^^^ ^^^^ no `Ansi` in `ansi` [INFO] [stdout] | | [INFO] [stdout] | no `r#mod` in `ansi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::fmt::Show` [INFO] [stdout] --> src/lib.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | use std::fmt::Show; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `Show` in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/lib.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | #![experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/lib.rs:77:7 [INFO] [stdout] | [INFO] [stdout] 77 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/lib.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `test` [INFO] [stdout] --> src/lib.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | #[test] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `bench` [INFO] [stdout] --> src/lib.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `bench` [INFO] [stdout] --> src/lib.rs:106:7 [INFO] [stdout] | [INFO] [stdout] 106 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `bench` [INFO] [stdout] --> src/lib.rs:114:7 [INFO] [stdout] | [INFO] [stdout] 114 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl, VR: AsSlice> Add, Style>> for Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | impl, VR: AsSlice> Add, Style>> for Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | impl> Style { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | impl> Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | impl> Fn<(T,), Styled> for Style { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | impl> Fn<(T,), Styled> for Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | impl fmt::Show for Styled { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | impl fmt::Show for Styled { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | fn recurse<'a, T: fmt::Show>(mut styles: Items<'a, Ansi>, subject: &T, fmt: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,` [INFO] [stdout] --> src/fmt.rs:71:38 [INFO] [stdout] | [INFO] [stdout] 71 | pub static $name: Style<[Ansi, ..1]> = Style { [INFO] [stdout] | ^ expected one of 7 possible tokens [INFO] [stdout] ... [INFO] [stdout] 86 | / styles! { [INFO] [stdout] 87 | | Bold: BOLD, bold, [INFO] [stdout] 88 | | Dim: DIM, dim, [INFO] [stdout] 89 | | Italic: ITALIC, italic, [INFO] [stdout] ... | [INFO] [stdout] 112 | | BgWhite: BG_WHITE, bg_white [INFO] [stdout] 113 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | try!(style.open.fmt(fmt)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | try!(recurse(styles, subject, fmt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | #[cfg(test)] extern crate test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `fmt::Bold`, `fmt::Dim`, `fmt::Italic`, `fmt::Underline`, `fmt::Inverse`, `fmt::Hidden`, `fmt::Strike`, `fmt::Black`, `fmt::Red`, `fmt::Green`, `fmt::Yellow`, `fmt::Blue`, `fmt::Magenta`, `fmt::Cyan`, `fmt::White`, `fmt::Gray`, `fmt::BgBlack`, `fmt::BgRed`, `fmt::BgGreen`, `fmt::BgYellow`, `fmt::BgBlue`, `fmt::BgMagenta`, `fmt::BgCyan`, `fmt::BgWhite` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | Bold, [INFO] [stdout] | ^^^^ no `Bold` in `fmt` [INFO] [stdout] 35 | Dim, [INFO] [stdout] | ^^^ no `Dim` in `fmt` [INFO] [stdout] 36 | Italic, [INFO] [stdout] | ^^^^^^ no `Italic` in `fmt` [INFO] [stdout] 37 | Underline, [INFO] [stdout] | ^^^^^^^^^ no `Underline` in `fmt` [INFO] [stdout] 38 | Inverse, [INFO] [stdout] | ^^^^^^^ no `Inverse` in `fmt` [INFO] [stdout] 39 | Hidden, [INFO] [stdout] | ^^^^^^ no `Hidden` in `fmt` [INFO] [stdout] 40 | Strike, [INFO] [stdout] | ^^^^^^ no `Strike` in `fmt` [INFO] [stdout] 41 | [INFO] [stdout] 42 | Black, [INFO] [stdout] | ^^^^^ no `Black` in `fmt` [INFO] [stdout] 43 | Red, [INFO] [stdout] | ^^^ no `Red` in `fmt` [INFO] [stdout] 44 | Green, [INFO] [stdout] | ^^^^^ no `Green` in `fmt` [INFO] [stdout] 45 | Yellow, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 46 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 47 | Magenta, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 48 | Cyan, [INFO] [stdout] | ^^^^ [INFO] [stdout] 49 | White, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 50 | Gray, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | [INFO] [stdout] 52 | BgBlack, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 53 | BgRed, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | BgGreen, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 55 | BgYellow, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 56 | BgBlue, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 57 | BgMagenta, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | BgCyan, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | BgWhite [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::slice::Items` [INFO] [stdout] --> src/fmt.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::slice::Items; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Items` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `ansi::r#mod`, `ansi::Ansi` [INFO] [stdout] --> src/fmt.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use ansi::{mod, Ansi}; [INFO] [stdout] | ^^^ ^^^^ no `Ansi` in `ansi` [INFO] [stdout] | | [INFO] [stdout] | no `r#mod` in `ansi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `experimental` in this scope [INFO] [stdout] --> src/lib.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | #![experimental] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | impl, VR: AsSlice> Add, Style>> for Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:13:29 [INFO] [stdout] | [INFO] [stdout] 13 | impl, VR: AsSlice> Add, Style>> for Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | impl> Style { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | impl> Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:38:14 [INFO] [stdout] | [INFO] [stdout] 38 | impl> Fn<(T,), Styled> for Style { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AsSlice` in this scope [INFO] [stdout] --> src/fmt.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | impl> Fn<(T,), Styled> for Style { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | impl fmt::Show for Styled { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | impl fmt::Show for Styled { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Show` in module `fmt` [INFO] [stdout] --> src/fmt.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | fn recurse<'a, T: fmt::Show>(mut styles: Items<'a, Ansi>, subject: &T, fmt: &mut fmt::Formatter) -> fmt::Result { [INFO] [stdout] | ^^^^ not found in `fmt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt.rs:57:21 [INFO] [stdout] | [INFO] [stdout] 57 | try!(style.open.fmt(fmt)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | try!(recurse(styles, subject, fmt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes at most 1 type argument but 2 type arguments were supplied [INFO] [stdout] --> src/fmt.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | impl, VR: AsSlice> Add, Style>> for Style { [INFO] [stdout] | ^^^ ------------------ help: remove this type argument [INFO] [stdout] | | [INFO] [stdout] | expected at most 1 type argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with at most 1 type parameter: `Rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 1 type argument but 2 type arguments were supplied [INFO] [stdout] --> src/fmt.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | impl> Fn<(T,), Styled> for Style { [INFO] [stdout] | ^^ ----------- help: remove this type argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 type parameter: `Args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes at most 1 type argument but 2 type arguments were supplied [INFO] [stdout] --> src/fmt.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | impl, VR: AsSlice> Add, Style>> for Style { [INFO] [stdout] | ^^^ ------------------ help: remove this type argument [INFO] [stdout] | | [INFO] [stdout] | expected at most 1 type argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with at most 1 type parameter: `Rhs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: this trait takes 1 type argument but 2 type arguments were supplied [INFO] [stdout] --> src/fmt.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | impl> Fn<(T,), Styled> for Style { [INFO] [stdout] | ^^ ----------- help: remove this type argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: trait defined here, with 1 type parameter: `Args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 44 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 52 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0405, E0432, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ansi` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cfd22581724c40c67eaf89a3bee82d3bb80502c4df118d6f21a42ace540662b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfd22581724c40c67eaf89a3bee82d3bb80502c4df118d6f21a42ace540662b4", kill_on_drop: false }` [INFO] [stdout] cfd22581724c40c67eaf89a3bee82d3bb80502c4df118d6f21a42ace540662b4