[INFO] fetching crate recolored 1.9.3... [INFO] checking recolored-1.9.3 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate recolored 1.9.3 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate recolored 1.9.3 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-2-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rspec v1.0.0-beta.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ee45d29752508357644db19a0697f0b5915ef26d00d284bfa5a69dd77588b77 [INFO] running `Command { std: "docker" "start" "-a" "0ee45d29752508357644db19a0697f0b5915ef26d00d284bfa5a69dd77588b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ee45d29752508357644db19a0697f0b5915ef26d00d284bfa5a69dd77588b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ee45d29752508357644db19a0697f0b5915ef26d00d284bfa5a69dd77588b77", kill_on_drop: false }` [INFO] [stdout] 0ee45d29752508357644db19a0697f0b5915ef26d00d284bfa5a69dd77588b77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0909d14acf99c229d71cd171e69379691b94dc90f806373638f40fb5e4d63bf [INFO] running `Command { std: "docker" "start" "-a" "c0909d14acf99c229d71cd171e69379691b94dc90f806373638f40fb5e4d63bf", kill_on_drop: false }` [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] 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[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[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/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] --> 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/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[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[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[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 `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 `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 `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 `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[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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/cmp.rs:1197:5 [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] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [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 `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 `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 `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[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: 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: 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] [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `recolored` (example "true_colors") due to 3 previous errors [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] [stderr] error: could not compile `recolored` (example "palette_colors") due to 3 previous errors [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 "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: 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[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] [stderr] error: could not compile `recolored` (example "dynamic_colors") due to 6 previous errors [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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/cmp.rs:1197: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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/cmp.rs:1197: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/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/cmp.rs:1197: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/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:1869: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/506512391b1a75ae450d36c9420978402a91abcc/library/alloc/src/string.rs:1165: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] 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] 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" "c0909d14acf99c229d71cd171e69379691b94dc90f806373638f40fb5e4d63bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0909d14acf99c229d71cd171e69379691b94dc90f806373638f40fb5e4d63bf", kill_on_drop: false }` [INFO] [stdout] c0909d14acf99c229d71cd171e69379691b94dc90f806373638f40fb5e4d63bf [INFO] checking recolored-1.9.3 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate recolored 1.9.3 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate recolored 1.9.3 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-2-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c776d995e83bfa94b8fc3b872ac61adb514cd9c73367b860a93d98ce38531a44 [INFO] running `Command { std: "docker" "start" "-a" "c776d995e83bfa94b8fc3b872ac61adb514cd9c73367b860a93d98ce38531a44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c776d995e83bfa94b8fc3b872ac61adb514cd9c73367b860a93d98ce38531a44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c776d995e83bfa94b8fc3b872ac61adb514cd9c73367b860a93d98ce38531a44", kill_on_drop: false }` [INFO] [stdout] c776d995e83bfa94b8fc3b872ac61adb514cd9c73367b860a93d98ce38531a44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3867fbb84d0e0ee3d735b647963dda9f7d7357c3e3d79ad5bd2ee0a4565eb9fa [INFO] running `Command { std: "docker" "start" "-a" "3867fbb84d0e0ee3d735b647963dda9f7d7357c3e3d79ad5bd2ee0a4565eb9fa", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "3867fbb84d0e0ee3d735b647963dda9f7d7357c3e3d79ad5bd2ee0a4565eb9fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3867fbb84d0e0ee3d735b647963dda9f7d7357c3e3d79ad5bd2ee0a4565eb9fa", kill_on_drop: false }` [INFO] [stdout] 3867fbb84d0e0ee3d735b647963dda9f7d7357c3e3d79ad5bd2ee0a4565eb9fa