[INFO] fetching crate colored-str 0.1.8... [INFO] checking colored-str-0.1.8 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate colored-str 0.1.8 into /workspace/builds/worker-0-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate colored-str 0.1.8 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e11eff4acf4a520a510ff1a0718c7c338cdd9888613f8211e5b1a7a8a8df027 [INFO] running `Command { std: "docker" "start" "-a" "3e11eff4acf4a520a510ff1a0718c7c338cdd9888613f8211e5b1a7a8a8df027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e11eff4acf4a520a510ff1a0718c7c338cdd9888613f8211e5b1a7a8a8df027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e11eff4acf4a520a510ff1a0718c7c338cdd9888613f8211e5b1a7a8a8df027", kill_on_drop: false }` [INFO] [stdout] 3e11eff4acf4a520a510ff1a0718c7c338cdd9888613f8211e5b1a7a8a8df027 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea03aa2d523c95e6d074d43ebceb649fea50bc114cd269c771dbec2f7e6a3058 [INFO] running `Command { std: "docker" "start" "-a" "ea03aa2d523c95e6d074d43ebceb649fea50bc114cd269c771dbec2f7e6a3058", 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.00s [INFO] running `Command { std: "docker" "inspect" "ea03aa2d523c95e6d074d43ebceb649fea50bc114cd269c771dbec2f7e6a3058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea03aa2d523c95e6d074d43ebceb649fea50bc114cd269c771dbec2f7e6a3058", kill_on_drop: false }` [INFO] [stdout] ea03aa2d523c95e6d074d43ebceb649fea50bc114cd269c771dbec2f7e6a3058