[INFO] fetching crate recolored 1.9.3... [INFO] checking recolored-1.9.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate recolored 1.9.3 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate recolored 1.9.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate recolored 1.9.3 [INFO] finished tweaking crates.io crate recolored 1.9.3 [INFO] tweaked toml for crates.io crate recolored 1.9.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate recolored 1.9.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hermit-abi v0.1.11 [INFO] [stderr] Downloaded libc v0.2.69 [INFO] [stderr] Downloaded rspec v1.0.0-beta.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 778396ec98d93274c6e5f581e0c3eac14ecfeef261ae65d7eb03f8a1f5f1dde0 [INFO] running `Command { std: "docker" "start" "-a" "778396ec98d93274c6e5f581e0c3eac14ecfeef261ae65d7eb03f8a1f5f1dde0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "778396ec98d93274c6e5f581e0c3eac14ecfeef261ae65d7eb03f8a1f5f1dde0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "778396ec98d93274c6e5f581e0c3eac14ecfeef261ae65d7eb03f8a1f5f1dde0", kill_on_drop: false }` [INFO] [stdout] 778396ec98d93274c6e5f581e0c3eac14ecfeef261ae65d7eb03f8a1f5f1dde0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8ea3819dc1cd1fbc70674b25897996a7dd8b802b2bcf72808c139c2bbd3ed8e [INFO] running `Command { std: "docker" "start" "-a" "d8ea3819dc1cd1fbc70674b25897996a7dd8b802b2bcf72808c139c2bbd3ed8e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking rspec v1.0.0-beta.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking recolored v1.9.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/style.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | use super::super::{Style, Styles}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BLINK`, `BOLD`, `DIMMED`, `HIDDEN`, `ITALIC`, `REVERSED`, `STRIKETHROUGH`, and `UNDERLINE` [INFO] [stdout] --> src/style.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | BLINK, BOLD, DIMMED, HIDDEN, ITALIC, REVERSED, STRIKETHROUGH, UNDERLINE, [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^^ ^^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `colored` [INFO] [stdout] --> examples/true_colors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate colored; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `colored` [INFO] [stdout] --> examples/dynamic_colors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate colored; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `colored` [INFO] [stdout] --> tests/ansi_term_compat.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate colored; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `colored` [INFO] [stdout] --> examples/palette_colors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate colored; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `colored` [INFO] [stdout] --> examples/most_simple.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate colored; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `colored` [INFO] [stdout] --> examples/nested_colors.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate colored; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::ansi_term`, `super::colored`, `super::ansi_term`, `super::colored`, `super::ansi_term`, `super::colored`, `super::ansi_term`, `super::colored` [INFO] [stdout] --> tests/ansi_term_compat.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | use super::ansi_term; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | use super::ansi_term::*; [INFO] [stdout] 52 | use super::colored; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | use super::ansi_term; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | use super::ansi_term::*; [INFO] [stdout] 83 | use super::colored; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | use super::ansi_term; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | use super::ansi_term::*; [INFO] [stdout] 99 | use super::colored; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | use super::ansi_term; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 125 | use super::ansi_term::*; [INFO] [stdout] 126 | use super::colored; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `colored` [INFO] [stdout] --> examples/control.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate colored; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `on_true_color` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/true_colors.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 8 | print!("{}", " ".on_true_color(i, j, 255)); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bold` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/nested_colors.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | let world = "world".bold(); [INFO] [stdout] | ^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/control.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | println!("{}", "some warning".yellow()); [INFO] [stdout] | ^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `green` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/most_simple.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | "it".green(), [INFO] [stdout] | ^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `color` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/dynamic_colors.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | "blue string yo".color("blue"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Colorize` which provides `color` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use recolored::Colorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `on_color` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | "blue string yo".on_color("blue"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/control.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | println!("{}", "some warning".yellow()); [INFO] [stdout] | ^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `color` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/dynamic_colors.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | "white string".color("zorglub"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Colorize` which provides `color` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use recolored::Colorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `on_color` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | "white string".on_color("zorglub"); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `on_palette` found for struct `String` in the current scope [INFO] [stdout] --> examples/palette_colors.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | print!("{}", format!("{:x}", i).on_palette(i)); [INFO] [stdout] | ^^^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blue` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/most_simple.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | "works".blue().bold(), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `le` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/cmp.rs:1196:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `color` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/dynamic_colors.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | "red string".color(color_res.unwrap_or(Color::Red)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Colorize` which provides `color` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use recolored::Colorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `on_color` with a similar name [INFO] [stdout] | [INFO] [stdout] 13 | "red string".on_color(color_res.unwrap_or(Color::Red)); [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Color` [INFO] [stdout] --> examples/dynamic_colors.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | "red string".color(color_res.unwrap_or(Color::Red)); [INFO] [stdout] | ^^^^^ use of undeclared type `Color` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `recolored` (example "true_colors") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bold` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/most_simple.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | "great".bold().yellow() [INFO] [stdout] | ^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/control.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | println!("{}", "some warning".yellow()); [INFO] [stdout] | ^^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `recolored` (example "dynamic_colors") due to 6 previous errors [INFO] [stdout] error[E0599]: no method named `red` found for struct `String` in the current scope [INFO] [stdout] --> examples/nested_colors.rs:14:60 [INFO] [stdout] | [INFO] [stdout] 14 | let hello_world = format!("Hello, {}!lalalala", world).red(); [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `recolored` (example "control") due to 5 previous errors [INFO] [stderr] error: could not compile `recolored` (example "palette_colors") due to 3 previous errors [INFO] [stderr] error: could not compile `recolored` (example "nested_colors") due to 4 previous errors [INFO] [stdout] error[E0599]: no method named `black` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | test_simple_color!("test string", black, Black); [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `green` found for struct `String` in the current scope [INFO] [stdout] --> examples/most_simple.rs:14:53 [INFO] [stdout] | [INFO] [stdout] 14 | println!("{}", String::from("this also works!").green().bold()); [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | test_simple_color!("test string", red, Red); [INFO] [stdout] | ^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/most_simple.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | s.push_str(&"why not ".red().to_string()); [INFO] [stdout] | ^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `green` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:28:39 [INFO] [stdout] | [INFO] [stdout] 28 | test_simple_color!("test string", green, Green); [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blue` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/most_simple.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | s.push_str(&"push things ".blue().to_string()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `le` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/cmp.rs:1196:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `yellow` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | test_simple_color!("test string", yellow, Yellow); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `green` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/most_simple.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | s.push_str(&"a little further ?".green().to_string()); [INFO] [stdout] | ^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blue` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:30:39 [INFO] [stdout] | [INFO] [stdout] 30 | test_simple_color!("test string", blue, Blue); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `le` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/cmp.rs:1196:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `magenta` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:31:39 [INFO] [stdout] | [INFO] [stdout] 31 | test_simple_color!("test string", magenta, Purple); [INFO] [stdout] | ^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/most_simple.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | let s = format!("{} {} {}", "this".red(), "is".blue(), "easier".green()); [INFO] [stdout] | ^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cyan` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:32:39 [INFO] [stdout] | [INFO] [stdout] 32 | test_simple_color!("test string", cyan, Cyan); [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blue` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/most_simple.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 22 | let s = format!("{} {} {}", "this".red(), "is".blue(), "easier".green()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `le` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/cmp.rs:1196:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `white` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | test_simple_color!("test string", white, White); [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `green` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/most_simple.rs:22:69 [INFO] [stdout] | [INFO] [stdout] 22 | let s = format!("{} {} {}", "this".red(), "is".blue(), "easier".green()); [INFO] [stdout] | ^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bold` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:55:39 [INFO] [stdout] | [INFO] [stdout] 55 | test_simple_style!("test string", bold); [INFO] [stdout] | ^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `dimmed` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:56:39 [INFO] [stdout] | [INFO] [stdout] 56 | test_simple_style!("test string", dimmed); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `italic` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:57:39 [INFO] [stdout] | [INFO] [stdout] 57 | test_simple_style!("test string", italic); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `recolored` (example "most_simple") due to 12 previous errors [INFO] [stdout] error[E0599]: no method named `underline` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | test_simple_style!("test string", underline); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `drain` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:1914:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blink` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:59:39 [INFO] [stdout] | [INFO] [stdout] 59 | test_simple_style!("test string", blink); [INFO] [stdout] | ^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `reverse` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:60:39 [INFO] [stdout] | [INFO] [stdout] 60 | test_simple_style!("test string", reverse); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `reserve` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:1213:5 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hidden` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:61:39 [INFO] [stdout] | [INFO] [stdout] 61 | test_simple_style!("test string", hidden); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `on_black` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:86:41 [INFO] [stdout] | [INFO] [stdout] 86 | test_simple_bgcolor!("test string", on_black, Black); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `on_red` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:87:41 [INFO] [stdout] | [INFO] [stdout] 87 | test_simple_bgcolor!("test string", on_red, Red); [INFO] [stdout] | ^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `on_green` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:88:41 [INFO] [stdout] | [INFO] [stdout] 88 | test_simple_bgcolor!("test string", on_green, Green); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_style_contains` is never used [INFO] [stdout] --> src/style.rs:287:8 [INFO] [stdout] | [INFO] [stdout] 287 | fn test_style_contains() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `on_yellow` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | test_simple_bgcolor!("test string", on_yellow, Yellow); [INFO] [stdout] | ^^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `on_blue` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:90:41 [INFO] [stdout] | [INFO] [stdout] 90 | test_simple_bgcolor!("test string", on_blue, Blue); [INFO] [stdout] | ^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `on_magenta` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:91:41 [INFO] [stdout] | [INFO] [stdout] 91 | test_simple_bgcolor!("test string", on_magenta, Purple); [INFO] [stdout] | ^^^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `on_cyan` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:92:41 [INFO] [stdout] | [INFO] [stdout] 92 | test_simple_bgcolor!("test string", on_cyan, Cyan); [INFO] [stdout] | ^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `on_white` found for struct `String` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:93:41 [INFO] [stdout] | [INFO] [stdout] 93 | test_simple_bgcolor!("test string", on_white, White); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for reference `&str` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | s.red().bold().italic().on_black().to_string() [INFO] [stdout] | ^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `green` found for reference `&str` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | s.green().on_yellow().underline().to_string() [INFO] [stdout] | ^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for reference `&str` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | assert_eq!(ansi.to_string(), s.red().on_blue().to_string()); [INFO] [stdout] | ^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `green` found for reference `&str` in the current scope [INFO] [stdout] --> tests/ansi_term_compat.rs:142:15 [INFO] [stdout] | [INFO] [stdout] 142 | s.green().on_yellow().green().on_yellow().to_string() [INFO] [stdout] | ^^^^^ method not found in `&str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `recolored` (test "ansi_term_compat") due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "d8ea3819dc1cd1fbc70674b25897996a7dd8b802b2bcf72808c139c2bbd3ed8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8ea3819dc1cd1fbc70674b25897996a7dd8b802b2bcf72808c139c2bbd3ed8e", kill_on_drop: false }` [INFO] [stdout] d8ea3819dc1cd1fbc70674b25897996a7dd8b802b2bcf72808c139c2bbd3ed8e