[INFO] fetching crate colors 0.0.1...
[INFO] testing colors-0.0.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate colors 0.0.1 into /workspace/builds/worker-0-tc1/source
[INFO] started tweaking crates.io crate colors 0.0.1
[INFO] finished tweaking crates.io crate colors 0.0.1
[INFO] tweaked toml for crates.io crate colors 0.0.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate colors 0.0.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 077abb6b08ba5b853db107b0a2f6e7137ab1d4ef52198f4f4bdf5ac87a813948
[INFO] running `Command { std: "docker" "start" "-a" "077abb6b08ba5b853db107b0a2f6e7137ab1d4ef52198f4f4bdf5ac87a813948", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "077abb6b08ba5b853db107b0a2f6e7137ab1d4ef52198f4f4bdf5ac87a813948", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "077abb6b08ba5b853db107b0a2f6e7137ab1d4ef52198f4f4bdf5ac87a813948", kill_on_drop: false }`
[INFO] [stdout] 077abb6b08ba5b853db107b0a2f6e7137ab1d4ef52198f4f4bdf5ac87a813948
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 52270594c8f15f5b741235e102e9200c82cca78197113c7a789f56e6c41a6948
[INFO] running `Command { std: "docker" "start" "-a" "52270594c8f15f5b741235e102e9200c82cca78197113c7a789f56e6c41a6948", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling colors v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] error: incorrect unicode escape sequence
[INFO] [stdout]   --> src/styles.rs:68:26
[INFO] [stdout]    |
[INFO] [stdout] 68 |         String::new() + "\u001b[" + self.prefix.to_string().as_slice() + "m"
[INFO] [stdout]    |                          ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: format of unicode escape sequences uses braces
[INFO] [stdout]    |
[INFO] [stdout] 68 -         String::new() + "\u001b[" + self.prefix.to_string().as_slice() + "m"
[INFO] [stdout] 68 +         String::new() + "\u{001b}[" + self.prefix.to_string().as_slice() + "m"
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: incorrect unicode escape sequence
[INFO] [stdout]   --> src/styles.rs:72:26
[INFO] [stdout]    |
[INFO] [stdout] 72 |         String::new() + "\u001b[" + self.suffix.to_string().as_slice() + "m"
[INFO] [stdout]    |                          ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: format of unicode escape sequences uses braces
[INFO] [stdout]    |
[INFO] [stdout] 72 -         String::new() + "\u001b[" + self.suffix.to_string().as_slice() + "m"
[INFO] [stdout] 72 +         String::new() + "\u{001b}[" + self.suffix.to_string().as_slice() + "m"
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]  --> src/env.rs:4:33
[INFO] [stdout]   |
[INFO] [stdout] 4 | const COLORS_OFF : [&'static str, ..2] = ["--no-color", "--color=false"];
[INFO] [stdout]   |                                 ^ expected `;` or `]`
[INFO] [stdout]   |
[INFO] [stdout]   = note: you might have meant to write a slice or array type
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]   |
[INFO] [stdout] 4 - const COLORS_OFF : [&'static str, ..2] = ["--no-color", "--color=false"];
[INFO] [stdout] 4 + const COLORS_OFF : [&'static str; ..2] = ["--no-color", "--color=false"];
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;` or `]`, found `,`
[INFO] [stdout]  --> src/env.rs:5:33
[INFO] [stdout]   |
[INFO] [stdout] 5 | const COLORS_ON  : [&'static str, ..3] = ["--color", "--color=always", "--color=true"];
[INFO] [stdout]   |                                 ^ expected `;` or `]`
[INFO] [stdout]   |
[INFO] [stdout]   = note: you might have meant to write a slice or array type
[INFO] [stdout] help: you might have meant to use `;` as the separator
[INFO] [stdout]   |
[INFO] [stdout] 5 - const COLORS_ON  : [&'static str, ..3] = ["--color", "--color=always", "--color=true"];
[INFO] [stdout] 5 + const COLORS_ON  : [&'static str; ..3] = ["--color", "--color=always", "--color=true"];
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `regex`
[INFO] [stdout]   --> src/lib.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | extern crate regex;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `regex_macros`
[INFO] [stdout]   --> src/lib.rs:55:1
[INFO] [stdout]    |
[INFO] [stdout] 55 | extern crate regex_macros;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `crate_id` in this scope
[INFO] [stdout]  --> src/lib.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![crate_id = "colors"]
[INFO] [stdout]   |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `phase` in this scope
[INFO] [stdout]   --> src/lib.rs:54:3
[INFO] [stdout]    |
[INFO] [stdout] 54 | #[phase(plugin)]
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `regex` in this scope
[INFO] [stdout]   --> src/env.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 |     return regex!(r"/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i").is_match(term.as_slice())
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `regex` is imported here, but it is an unresolved item, not a macro
[INFO] [stdout]   --> src/lib.rs:56:1
[INFO] [stdout]    |
[INFO] [stdout] 56 | extern crate regex;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/styles.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |     prefix: int,
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             not found in this scope
[INFO] [stdout]    |             help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `int` in this scope
[INFO] [stdout]   --> src/styles.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |     suffix: int
[INFO] [stdout]    |             ^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             not found in this scope
[INFO] [stdout]    |             help: perhaps you intended to use this type: `i32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `args` in module `os`
[INFO] [stdout]   --> src/env.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let os_args = os::args();
[INFO] [stdout]    |                       ^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `args`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 12 -     let os_args = os::args();
[INFO] [stdout] 12 +     let os_args = args();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os`
[INFO] [stdout]   --> src/env.rs:21:29
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let is_color_term = os::getenv("COLOR_TERM").is_some();
[INFO] [stdout]    |                             ^^^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use libc::getenv;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `getenv`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 21 -     let is_color_term = os::getenv("COLOR_TERM").is_some();
[INFO] [stdout] 21 +     let is_color_term = getenv("COLOR_TERM").is_some();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `getenv` in module `os`
[INFO] [stdout]   --> src/env.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let term = os::getenv("TERM").unwrap_or(String::new());
[INFO] [stdout]    |                    ^^^^^^ not found in `os`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  1 + use libc::getenv;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `getenv`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 22 -     let term = os::getenv("TERM").unwrap_or(String::new());
[INFO] [stdout] 22 +     let term = getenv("TERM").unwrap_or(String::new());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:38:59
[INFO] [stdout]    |
[INFO] [stdout] 38 |             Styles::Reset         => StylePoint { prefix: 0i, suffix: 0i },
[INFO] [stdout]    |                                                           ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:38:71
[INFO] [stdout]    |
[INFO] [stdout] 38 |             Styles::Reset         => StylePoint { prefix: 0i, suffix: 0i },
[INFO] [stdout]    |                                                                       ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:39:59
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Styles::Bold          => StylePoint { prefix: 1i, suffix: 22i },
[INFO] [stdout]    |                                                           ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:39:71
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Styles::Bold          => StylePoint { prefix: 1i, suffix: 22i },
[INFO] [stdout]    |                                                                       ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:40:59
[INFO] [stdout]    |
[INFO] [stdout] 40 |             Styles::Dim           => StylePoint { prefix: 2i, suffix: 22i },
[INFO] [stdout]    |                                                           ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:40:71
[INFO] [stdout]    |
[INFO] [stdout] 40 |             Styles::Dim           => StylePoint { prefix: 2i, suffix: 22i },
[INFO] [stdout]    |                                                                       ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:41:59
[INFO] [stdout]    |
[INFO] [stdout] 41 |             Styles::Italic        => StylePoint { prefix: 3i, suffix: 23i },
[INFO] [stdout]    |                                                           ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:41:71
[INFO] [stdout]    |
[INFO] [stdout] 41 |             Styles::Italic        => StylePoint { prefix: 3i, suffix: 23i },
[INFO] [stdout]    |                                                                       ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:42:59
[INFO] [stdout]    |
[INFO] [stdout] 42 |             Styles::Underline     => StylePoint { prefix: 4i, suffix: 24i },
[INFO] [stdout]    |                                                           ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:42:71
[INFO] [stdout]    |
[INFO] [stdout] 42 |             Styles::Underline     => StylePoint { prefix: 4i, suffix: 24i },
[INFO] [stdout]    |                                                                       ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:43:59
[INFO] [stdout]    |
[INFO] [stdout] 43 |             Styles::Inverse       => StylePoint { prefix: 7i, suffix: 27i },
[INFO] [stdout]    |                                                           ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:43:71
[INFO] [stdout]    |
[INFO] [stdout] 43 |             Styles::Inverse       => StylePoint { prefix: 7i, suffix: 27i },
[INFO] [stdout]    |                                                                       ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:44:59
[INFO] [stdout]    |
[INFO] [stdout] 44 |             Styles::Hidden        => StylePoint { prefix: 8i, suffix: 28i },
[INFO] [stdout]    |                                                           ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:44:71
[INFO] [stdout]    |
[INFO] [stdout] 44 |             Styles::Hidden        => StylePoint { prefix: 8i, suffix: 28i },
[INFO] [stdout]    |                                                                       ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:45:59
[INFO] [stdout]    |
[INFO] [stdout] 45 |             Styles::Strikethrough => StylePoint { prefix: 9i, suffix: 29i },
[INFO] [stdout]    |                                                           ^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:45:71
[INFO] [stdout]    |
[INFO] [stdout] 45 |             Styles::Strikethrough => StylePoint { prefix: 9i, suffix: 29i },
[INFO] [stdout]    |                                                                       ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:46:59
[INFO] [stdout]    |
[INFO] [stdout] 46 |             Styles::Black         => StylePoint { prefix: 30i, suffix: 39i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:46:72
[INFO] [stdout]    |
[INFO] [stdout] 46 |             Styles::Black         => StylePoint { prefix: 30i, suffix: 39i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:47:59
[INFO] [stdout]    |
[INFO] [stdout] 47 |             Styles::Red           => StylePoint { prefix: 31i, suffix: 39i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:47:72
[INFO] [stdout]    |
[INFO] [stdout] 47 |             Styles::Red           => StylePoint { prefix: 31i, suffix: 39i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:48:59
[INFO] [stdout]    |
[INFO] [stdout] 48 |             Styles::Green         => StylePoint { prefix: 32i, suffix: 39i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:48:72
[INFO] [stdout]    |
[INFO] [stdout] 48 |             Styles::Green         => StylePoint { prefix: 32i, suffix: 39i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:49:59
[INFO] [stdout]    |
[INFO] [stdout] 49 |             Styles::Yellow        => StylePoint { prefix: 33i, suffix: 39i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:49:72
[INFO] [stdout]    |
[INFO] [stdout] 49 |             Styles::Yellow        => StylePoint { prefix: 33i, suffix: 39i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:50:59
[INFO] [stdout]    |
[INFO] [stdout] 50 |             Styles::Blue          => StylePoint { prefix: 34i, suffix: 39i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:50:72
[INFO] [stdout]    |
[INFO] [stdout] 50 |             Styles::Blue          => StylePoint { prefix: 34i, suffix: 39i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:51:59
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Styles::Magenta       => StylePoint { prefix: 35i, suffix: 39i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:51:72
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Styles::Magenta       => StylePoint { prefix: 35i, suffix: 39i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:52:59
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Styles::Cyan          => StylePoint { prefix: 36i, suffix: 39i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:52:72
[INFO] [stdout]    |
[INFO] [stdout] 52 |             Styles::Cyan          => StylePoint { prefix: 36i, suffix: 39i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:53:59
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Styles::White         => StylePoint { prefix: 37i, suffix: 39i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:53:72
[INFO] [stdout]    |
[INFO] [stdout] 53 |             Styles::White         => StylePoint { prefix: 37i, suffix: 39i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:54:59
[INFO] [stdout]    |
[INFO] [stdout] 54 |             Styles::Gray          => StylePoint { prefix: 90i, suffix: 39i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:54:72
[INFO] [stdout]    |
[INFO] [stdout] 54 |             Styles::Gray          => StylePoint { prefix: 90i, suffix: 39i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:55:59
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Styles::Grey          => StylePoint { prefix: 90i, suffix: 39i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:55:72
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Styles::Grey          => StylePoint { prefix: 90i, suffix: 39i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:56:59
[INFO] [stdout]    |
[INFO] [stdout] 56 |             Styles::BgBlack       => StylePoint { prefix: 40i, suffix: 49i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:56:72
[INFO] [stdout]    |
[INFO] [stdout] 56 |             Styles::BgBlack       => StylePoint { prefix: 40i, suffix: 49i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:57:59
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Styles::BgRed         => StylePoint { prefix: 41i, suffix: 49i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:57:72
[INFO] [stdout]    |
[INFO] [stdout] 57 |             Styles::BgRed         => StylePoint { prefix: 41i, suffix: 49i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:58:59
[INFO] [stdout]    |
[INFO] [stdout] 58 |             Styles::BgGreen       => StylePoint { prefix: 42i, suffix: 49i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:58:72
[INFO] [stdout]    |
[INFO] [stdout] 58 |             Styles::BgGreen       => StylePoint { prefix: 42i, suffix: 49i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:59:59
[INFO] [stdout]    |
[INFO] [stdout] 59 |             Styles::BgYellow      => StylePoint { prefix: 43i, suffix: 49i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:59:72
[INFO] [stdout]    |
[INFO] [stdout] 59 |             Styles::BgYellow      => StylePoint { prefix: 43i, suffix: 49i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:60:59
[INFO] [stdout]    |
[INFO] [stdout] 60 |             Styles::BgBlue        => StylePoint { prefix: 44i, suffix: 49i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:60:72
[INFO] [stdout]    |
[INFO] [stdout] 60 |             Styles::BgBlue        => StylePoint { prefix: 44i, suffix: 49i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:61:59
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Styles::BgMagenta     => StylePoint { prefix: 45i, suffix: 49i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:61:72
[INFO] [stdout]    |
[INFO] [stdout] 61 |             Styles::BgMagenta     => StylePoint { prefix: 45i, suffix: 49i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:62:59
[INFO] [stdout]    |
[INFO] [stdout] 62 |             Styles::BgCyan        => StylePoint { prefix: 46i, suffix: 49i },
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:62:72
[INFO] [stdout]    |
[INFO] [stdout] 62 |             Styles::BgCyan        => StylePoint { prefix: 46i, suffix: 49i },
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:63:59
[INFO] [stdout]    |
[INFO] [stdout] 63 |             Styles::BgWhite       => StylePoint { prefix: 47i, suffix: 49i }
[INFO] [stdout]    |                                                           ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid suffix `i` for number literal
[INFO] [stdout]   --> src/styles.rs:63:72
[INFO] [stdout]    |
[INFO] [stdout] 63 |             Styles::BgWhite       => StylePoint { prefix: 47i, suffix: 49i }
[INFO] [stdout]    |                                                                        ^^^ invalid suffix `i`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/lib.rs:57:1
[INFO] [stdout]    |
[INFO] [stdout] 57 | extern crate libc;
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-11-06; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `phase`
[INFO] [stdout]   --> src/lib.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | #![feature(phase)]
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]  --> src/env.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use libc;
[INFO] [stdout]   |     ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]   = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]   = note: this compiler was built on 2025-11-06; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/env.rs:20:27
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let is_tty = unsafe { libc::isatty(libc::STDIN_FILENO as i32) } != 0;
[INFO] [stdout]    |                           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-11-06; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: use of unstable library feature `rustc_private`: this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via `Cargo.toml` instead?
[INFO] [stdout]   --> src/env.rs:20:40
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let is_tty = unsafe { libc::isatty(libc::STDIN_FILENO as i32) } != 0;
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #27812 <https://github.com/rust-lang/rust/issues/27812> for more information
[INFO] [stdout]    = help: add `#![feature(rustc_private)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-11-06; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/env.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | const COLORS_OFF : [&'static str, ..2] = ["--no-color", "--color=false"];
[INFO] [stdout]   |                                   ^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected type `usize`
[INFO] [stdout]            found struct `RangeTo<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/env.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | const COLORS_ON  : [&'static str, ..3] = ["--color", "--color=always", "--color=true"];
[INFO] [stdout]   |                                   ^^^ expected `usize`, found `RangeTo<{integer}>`
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected type `usize`
[INFO] [stdout]            found struct `RangeTo<{integer}>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:64:67
[INFO] [stdout]    |
[INFO] [stdout] 64 |     fn style(self, choice: Styles) -> String { style(choice, self.as_slice()) }
[INFO] [stdout]    |                                                                   ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:65:58
[INFO] [stdout]    |
[INFO] [stdout] 65 |     fn reset(self) -> String { style(Styles::Reset, self.as_slice()) }
[INFO] [stdout]    |                                                          ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:66:56
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn bold(self) -> String { style(Styles::Bold, self.as_slice()) }
[INFO] [stdout]    |                                                        ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:67:54
[INFO] [stdout]    |
[INFO] [stdout] 67 |     fn dim(self) -> String { style(Styles::Dim, self.as_slice()) }
[INFO] [stdout]    |                                                      ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:68:60
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn italic(self) -> String { style(Styles::Italic, self.as_slice()) }
[INFO] [stdout]    |                                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:69:66
[INFO] [stdout]    |
[INFO] [stdout] 69 |     fn underline(self) -> String { style(Styles::Underline, self.as_slice()) }
[INFO] [stdout]    |                                                                  ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:70:62
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn inverse(self) -> String { style(Styles::Inverse, self.as_slice()) }
[INFO] [stdout]    |                                                              ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:71:60
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn hidden(self) -> String { style(Styles::Hidden, self.as_slice()) }
[INFO] [stdout]    |                                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:72:74
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn strikethrough(self) -> String { style(Styles::Strikethrough, self.as_slice()) }
[INFO] [stdout]    |                                                                          ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:73:58
[INFO] [stdout]    |
[INFO] [stdout] 73 |     fn black(self) -> String { style(Styles::Black, self.as_slice()) }
[INFO] [stdout]    |                                                          ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:74:54
[INFO] [stdout]    |
[INFO] [stdout] 74 |     fn red(self) -> String { style(Styles::Red, self.as_slice()) }
[INFO] [stdout]    |                                                      ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:75:58
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn green(self) -> String { style(Styles::Green, self.as_slice()) }
[INFO] [stdout]    |                                                          ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:76:60
[INFO] [stdout]    |
[INFO] [stdout] 76 |     fn yellow(self) -> String { style(Styles::Yellow, self.as_slice()) }
[INFO] [stdout]    |                                                            ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:77:56
[INFO] [stdout]    |
[INFO] [stdout] 77 |     fn blue(self) -> String { style(Styles::Blue, self.as_slice()) }
[INFO] [stdout]    |                                                        ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:78:62
[INFO] [stdout]    |
[INFO] [stdout] 78 |     fn magenta(self) -> String { style(Styles::Magenta, self.as_slice()) }
[INFO] [stdout]    |                                                              ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:79:56
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn cyan(self) -> String { style(Styles::Cyan, self.as_slice()) }
[INFO] [stdout]    |                                                        ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:80:58
[INFO] [stdout]    |
[INFO] [stdout] 80 |     fn white(self) -> String { style(Styles::White, self.as_slice()) }
[INFO] [stdout]    |                                                          ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:81:56
[INFO] [stdout]    |
[INFO] [stdout] 81 |     fn gray(self) -> String { style(Styles::Gray, self.as_slice()) }
[INFO] [stdout]    |                                                        ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:82:56
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn grey(self) -> String { style(Styles::Grey, self.as_slice()) }
[INFO] [stdout]    |                                                        ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:83:63
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn bg_black(self) -> String { style(Styles::BgBlack, self.as_slice()) }
[INFO] [stdout]    |                                                               ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:84:59
[INFO] [stdout]    |
[INFO] [stdout] 84 |     fn bg_red(self) -> String { style(Styles::BgRed, self.as_slice()) }
[INFO] [stdout]    |                                                           ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:85:63
[INFO] [stdout]    |
[INFO] [stdout] 85 |     fn bg_green(self) -> String { style(Styles::BgGreen, self.as_slice()) }
[INFO] [stdout]    |                                                               ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:86:65
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn bg_yellow(self) -> String { style(Styles::BgYellow, self.as_slice()) }
[INFO] [stdout]    |                                                                 ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:87:61
[INFO] [stdout]    |
[INFO] [stdout] 87 |     fn bg_blue(self) -> String { style(Styles::BgBlue, self.as_slice()) }
[INFO] [stdout]    |                                                             ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:88:67
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn bg_magenta(self) -> String { style(Styles::BgMagenta, self.as_slice()) }
[INFO] [stdout]    |                                                                   ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:89:61
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn bg_cyan(self) -> String { style(Styles::BgCyan, self.as_slice()) }
[INFO] [stdout]    |                                                             ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/traits.rs:90:63
[INFO] [stdout]    |
[INFO] [stdout] 90 |     fn bg_white(self) -> String { style(Styles::BgWhite, self.as_slice()) }
[INFO] [stdout]    |                                                               ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/env.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 |         .filter_map(|arg| colors.iter().find(|&&c| arg.as_slice() == c).map(|&c| c))
[INFO] [stdout]    |                      ^^^                           --- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 16 |         .filter_map(|arg: /* Type */| colors.iter().find(|&&c| arg.as_slice() == c).map(|&c| c))
[INFO] [stdout]    |                         ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&&str` in the current scope
[INFO] [stdout]   --> src/env.rs:28:74
[INFO] [stdout]    |
[INFO] [stdout] 28 |     if args.iter().any(|arg| { COLORS_OFF.iter().any(|&neg| { neg == arg.as_slice() }) }) {
[INFO] [stdout]    |                                                                          ^^^^^^^^ method not found in `&&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for reference `&&str` in the current scope
[INFO] [stdout]   --> src/env.rs:32:73
[INFO] [stdout]    |
[INFO] [stdout] 32 |     if args.iter().any(|arg| { COLORS_ON.iter().any(|&pos| { pos == arg.as_slice() }) }) {
[INFO] [stdout]    |                                                                         ^^^^^^^^ method not found in `&&str`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/env.rs:44:13
[INFO] [stdout]    |
[INFO] [stdout] 44 |     if term.as_slice() == "dumb" {
[INFO] [stdout]    |             ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope
[INFO] [stdout]   --> src/env.rs:48:86
[INFO] [stdout]    |
[INFO] [stdout] 48 |     return regex!(r"/^screen|^xterm|^vt100|color|ansi|cygwin|linux/i").is_match(term.as_slice())
[INFO] [stdout]    |                                                                                      ^^^^^^^^ method not found in `String`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:78:38
[INFO] [stdout]    |
[INFO] [stdout] 78 |     points.get_prefix() + original + points.get_suffix()
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^^^^^^^ expected `&str`, found `String`
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 78 |     points.get_prefix() + original + &points.get_suffix()
[INFO] [stdout]    |                                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0308, E0412, E0425, E0463, E0599, E0635, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `colors` (lib) due to 106 previous errors
[INFO] running `Command { std: "docker" "inspect" "52270594c8f15f5b741235e102e9200c82cca78197113c7a789f56e6c41a6948", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "52270594c8f15f5b741235e102e9200c82cca78197113c7a789f56e6c41a6948", kill_on_drop: false }`
[INFO] [stdout] 52270594c8f15f5b741235e102e9200c82cca78197113c7a789f56e6c41a6948
