[INFO] fetching crate colored-str 0.1.8... [INFO] checking colored-str-0.1.8 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate colored-str 0.1.8 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate colored-str 0.1.8 [INFO] finished tweaking crates.io crate colored-str 0.1.8 [INFO] tweaked toml for crates.io crate colored-str 0.1.8 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate colored-str 0.1.8 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding colored v2.2.0 (available: v3.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84b32a61dfddfd688ce29845edb546fec7802b9c7423bdb95c4bf6e604cf7272 [INFO] running `Command { std: "docker" "start" "-a" "84b32a61dfddfd688ce29845edb546fec7802b9c7423bdb95c4bf6e604cf7272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84b32a61dfddfd688ce29845edb546fec7802b9c7423bdb95c4bf6e604cf7272", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84b32a61dfddfd688ce29845edb546fec7802b9c7423bdb95c4bf6e604cf7272", kill_on_drop: false }` [INFO] [stdout] 84b32a61dfddfd688ce29845edb546fec7802b9c7423bdb95c4bf6e604cf7272 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f8d4250cae7ac7baa25a80a8434a497173db2576b2762f4772b9cf3d16dc0c1 [INFO] running `Command { std: "docker" "start" "-a" "4f8d4250cae7ac7baa25a80a8434a497173db2576b2762f4772b9cf3d16dc0c1", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking colored v2.2.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking colored-str v0.1.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `colored::Colorize::reverse`: Users should use reversed instead [INFO] [stdout] --> src/lib.rs:284:47 [INFO] [stdout] | [INFO] [stdout] 284 | "reverse" => Box::new(&ColoredString::reverse), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::fgcolor`: Deprecated due to the exposing of the fgcolor struct field. [INFO] [stdout] --> src/lib.rs:298:36 [INFO] [stdout] | [INFO] [stdout] 298 | if let Some(fgcolor) = colored.fgcolor() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::bgcolor`: Deprecated due to the exposing of the bgcolor struct field. [INFO] [stdout] --> src/lib.rs:301:36 [INFO] [stdout] | [INFO] [stdout] 301 | if let Some(bgcolor) = colored.bgcolor() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::style`: Deprecated due to the exposing of the style struct field. [INFO] [stdout] --> src/lib.rs:304:16 [INFO] [stdout] | [INFO] [stdout] 304 | if colored.style().contains(Styles::Bold) { result = result.bold(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::style`: Deprecated due to the exposing of the style struct field. [INFO] [stdout] --> src/lib.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 305 | if colored.style().contains(Styles::Underline) { result = result.underline(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::style`: Deprecated due to the exposing of the style struct field. [INFO] [stdout] --> src/lib.rs:306:16 [INFO] [stdout] | [INFO] [stdout] 306 | if colored.style().contains(Styles::Italic) { result = result.italic(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::style`: Deprecated due to the exposing of the style struct field. [INFO] [stdout] --> src/lib.rs:307:16 [INFO] [stdout] | [INFO] [stdout] 307 | if colored.style().contains(Styles::Dimmed) { result = result.dimmed(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::style`: Deprecated due to the exposing of the style struct field. [INFO] [stdout] --> src/lib.rs:308:16 [INFO] [stdout] | [INFO] [stdout] 308 | if colored.style().contains(Styles::Reversed) { result = result.reverse(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::Colorize::reverse`: Users should use reversed instead [INFO] [stdout] --> src/lib.rs:308:69 [INFO] [stdout] | [INFO] [stdout] 308 | if colored.style().contains(Styles::Reversed) { result = result.reverse(); } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::style`: Deprecated due to the exposing of the style struct field. [INFO] [stdout] --> src/lib.rs:309:16 [INFO] [stdout] | [INFO] [stdout] 309 | if colored.style().contains(Styles::Blink) { result = result.blink(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::style`: Deprecated due to the exposing of the style struct field. [INFO] [stdout] --> src/lib.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | if colored.style().contains(Styles::Hidden) { result = result.hidden(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::style`: Deprecated due to the exposing of the style struct field. [INFO] [stdout] --> src/lib.rs:311:16 [INFO] [stdout] | [INFO] [stdout] 311 | if colored.style().contains(Styles::Strikethrough) { result = result.strikethrough(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::Colorize::reverse`: Users should use reversed instead [INFO] [stdout] --> src/lib.rs:284:47 [INFO] [stdout] | [INFO] [stdout] 284 | "reverse" => Box::new(&ColoredString::reverse), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::fgcolor`: Deprecated due to the exposing of the fgcolor struct field. [INFO] [stdout] --> src/lib.rs:298:36 [INFO] [stdout] | [INFO] [stdout] 298 | if let Some(fgcolor) = colored.fgcolor() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::bgcolor`: Deprecated due to the exposing of the bgcolor struct field. [INFO] [stdout] --> src/lib.rs:301:36 [INFO] [stdout] | [INFO] [stdout] 301 | if let Some(bgcolor) = colored.bgcolor() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::style`: Deprecated due to the exposing of the style struct field. [INFO] [stdout] --> src/lib.rs:304:16 [INFO] [stdout] | [INFO] [stdout] 304 | if colored.style().contains(Styles::Bold) { result = result.bold(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::style`: Deprecated due to the exposing of the style struct field. [INFO] [stdout] --> src/lib.rs:305:16 [INFO] [stdout] | [INFO] [stdout] 305 | if colored.style().contains(Styles::Underline) { result = result.underline(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::style`: Deprecated due to the exposing of the style struct field. [INFO] [stdout] --> src/lib.rs:306:16 [INFO] [stdout] | [INFO] [stdout] 306 | if colored.style().contains(Styles::Italic) { result = result.italic(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::style`: Deprecated due to the exposing of the style struct field. [INFO] [stdout] --> src/lib.rs:307:16 [INFO] [stdout] | [INFO] [stdout] 307 | if colored.style().contains(Styles::Dimmed) { result = result.dimmed(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::style`: Deprecated due to the exposing of the style struct field. [INFO] [stdout] --> src/lib.rs:308:16 [INFO] [stdout] | [INFO] [stdout] 308 | if colored.style().contains(Styles::Reversed) { result = result.reverse(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::Colorize::reverse`: Users should use reversed instead [INFO] [stdout] --> src/lib.rs:308:69 [INFO] [stdout] | [INFO] [stdout] 308 | if colored.style().contains(Styles::Reversed) { result = result.reverse(); } [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::style`: Deprecated due to the exposing of the style struct field. [INFO] [stdout] --> src/lib.rs:309:16 [INFO] [stdout] | [INFO] [stdout] 309 | if colored.style().contains(Styles::Blink) { result = result.blink(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::style`: Deprecated due to the exposing of the style struct field. [INFO] [stdout] --> src/lib.rs:310:16 [INFO] [stdout] | [INFO] [stdout] 310 | if colored.style().contains(Styles::Hidden) { result = result.hidden(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `colored::ColoredString::style`: Deprecated due to the exposing of the style struct field. [INFO] [stdout] --> src/lib.rs:311:16 [INFO] [stdout] | [INFO] [stdout] 311 | if colored.style().contains(Styles::Strikethrough) { result = result.strikethrough(); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | fn get_styles(text: &str, rep: R) -> Cow [INFO] [stdout] | ^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | fn get_styles(text: &str, rep: R) -> Cow<'_, str> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | fn iter_substyles(text: &str) -> CaptureMatches [INFO] [stdout] | ^^^^ -------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 181 | fn iter_substyles(text: &str) -> CaptureMatches<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:170:24 [INFO] [stdout] | [INFO] [stdout] 170 | fn get_styles(text: &str, rep: R) -> Cow [INFO] [stdout] | ^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 170 | fn get_styles(text: &str, rep: R) -> Cow<'_, str> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | fn iter_substyles(text: &str) -> CaptureMatches [INFO] [stdout] | ^^^^ -------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 181 | fn iter_substyles(text: &str) -> CaptureMatches<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.25s [INFO] running `Command { std: "docker" "inspect" "4f8d4250cae7ac7baa25a80a8434a497173db2576b2762f4772b9cf3d16dc0c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f8d4250cae7ac7baa25a80a8434a497173db2576b2762f4772b9cf3d16dc0c1", kill_on_drop: false }` [INFO] [stdout] 4f8d4250cae7ac7baa25a80a8434a497173db2576b2762f4772b9cf3d16dc0c1