[INFO] fetching crate style-term 1.0.0...
[INFO] testing style-term-1.0.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8
[INFO] extracting crate style-term 1.0.0 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate style-term 1.0.0
[INFO] finished tweaking crates.io crate style-term 1.0.0
[INFO] tweaked toml for crates.io crate style-term 1.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate style-term 1.0.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 11 packages to latest compatible versions
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] 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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 468c52fd5506f28112704654def52d920a9d95df7786fb245a6d5e948a41bafa
[INFO] running `Command { std: "docker" "start" "-a" "468c52fd5506f28112704654def52d920a9d95df7786fb245a6d5e948a41bafa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "468c52fd5506f28112704654def52d920a9d95df7786fb245a6d5e948a41bafa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "468c52fd5506f28112704654def52d920a9d95df7786fb245a6d5e948a41bafa", kill_on_drop: false }`
[INFO] [stdout] 468c52fd5506f28112704654def52d920a9d95df7786fb245a6d5e948a41bafa
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1adcd5d2b19fe0ead93896a23737628392f2b3ded744aa166fb2e1b7006d7689
[INFO] running `Command { std: "docker" "start" "-a" "1adcd5d2b19fe0ead93896a23737628392f2b3ded744aa166fb2e1b7006d7689", kill_on_drop: false }`
[INFO] [stderr]    Compiling style-term v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:62:50
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub(crate) fn new(content: &'content str) -> StyledString {
[INFO] [stdout]    |                                 --------         ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 the lifetime is named 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: consistently use `'content`
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub(crate) fn new(content: &'content str) -> StyledString<'content> {
[INFO] [stdout]    |                                                              ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:86:14
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn style(&self) -> StyledString;
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn style(&self) -> StyledString<'_>;
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:97:14
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn style(&self) -> StyledString {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn style(&self) -> StyledString<'_> {
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:109:14
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn style(&self) -> StyledString {
[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] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn style(&self) -> StyledString<'_> {
[INFO] [stdout]     |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.20s
[INFO] running `Command { std: "docker" "inspect" "1adcd5d2b19fe0ead93896a23737628392f2b3ded744aa166fb2e1b7006d7689", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1adcd5d2b19fe0ead93896a23737628392f2b3ded744aa166fb2e1b7006d7689", kill_on_drop: false }`
[INFO] [stdout] 1adcd5d2b19fe0ead93896a23737628392f2b3ded744aa166fb2e1b7006d7689
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fc4bb39ebac11af614b6045f66e1899aa1c876817d8ed973061e62166d45a297
[INFO] running `Command { std: "docker" "start" "-a" "fc4bb39ebac11af614b6045f66e1899aa1c876817d8ed973061e62166d45a297", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:62:50
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub(crate) fn new(content: &'content str) -> StyledString {
[INFO] [stdout]    |                                 --------         ^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                                 |
[INFO] [stdout]    |                                 the lifetime is named 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: consistently use `'content`
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub(crate) fn new(content: &'content str) -> StyledString<'content> {
[INFO] [stdout]    |                                                              ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:86:14
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn style(&self) -> StyledString;
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 86 |     fn style(&self) -> StyledString<'_>;
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/lib.rs:97:14
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn style(&self) -> StyledString {
[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] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 97 |     fn style(&self) -> StyledString<'_> {
[INFO] [stdout]    |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/lib.rs:109:14
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn style(&self) -> StyledString {
[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] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn style(&self) -> StyledString<'_> {
[INFO] [stdout]     |                                    ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling style-term v1.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]    --> src/lib.rs:117:9
[INFO] [stdout]     |
[INFO] [stdout] 117 |     use std::fs::File;
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]    --> src/lib.rs:118:9
[INFO] [stdout]     |
[INFO] [stdout] 118 |     use std::io::Write;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Color: serde::Serialize` is not satisfied
[INFO] [stdout]     --> src/lib.rs:137:65
[INFO] [stdout]      |
[INFO] [stdout]  137 |         println!("true_color: {}", serde_json::to_string_pretty(&true_color).unwrap());
[INFO] [stdout]      |                                    ---------------------------- ^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |                                    |
[INFO] [stdout]      |                                    required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde_core::ser::Serialize` is not implemented for `Color`
[INFO] [stdout]     --> src/color/mod.rs:97:1
[INFO] [stdout]      |
[INFO] [stdout]   97 | pub enum Color {
[INFO] [stdout]      | ^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Color` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde_core::ser::Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 128 others
[INFO] [stdout] note: required by a bound in `to_string_pretty`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.145/src/ser.rs:2266:17
[INFO] [stdout]      |
[INFO] [stdout] 2264 | pub fn to_string_pretty<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        ---------------- required by a bound in this function
[INFO] [stdout] 2265 | where
[INFO] [stdout] 2266 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string_pretty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Color: serde::Serialize` is not satisfied
[INFO] [stdout]     --> src/lib.rs:138:70
[INFO] [stdout]      |
[INFO] [stdout]  138 |         println!("eight_bit_color: {}", serde_json::to_string_pretty(&eight_bit_color).unwrap());
[INFO] [stdout]      |                                         ---------------------------- ^^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |                                         |
[INFO] [stdout]      |                                         required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde_core::ser::Serialize` is not implemented for `Color`
[INFO] [stdout]     --> src/color/mod.rs:97:1
[INFO] [stdout]      |
[INFO] [stdout]   97 | pub enum Color {
[INFO] [stdout]      | ^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Color` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde_core::ser::Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 128 others
[INFO] [stdout] note: required by a bound in `to_string_pretty`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.145/src/ser.rs:2266:17
[INFO] [stdout]      |
[INFO] [stdout] 2264 | pub fn to_string_pretty<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        ---------------- required by a bound in this function
[INFO] [stdout] 2265 | where
[INFO] [stdout] 2266 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string_pretty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Color: serde::Serialize` is not satisfied
[INFO] [stdout]     --> src/lib.rs:139:68
[INFO] [stdout]      |
[INFO] [stdout]  139 |         println!("for_bit_color: {}", serde_json::to_string_pretty(&four_bit_color).unwrap());
[INFO] [stdout]      |                                       ---------------------------- ^^^^^^^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]      |                                       |
[INFO] [stdout]      |                                       required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout] help: the trait `serde_core::ser::Serialize` is not implemented for `Color`
[INFO] [stdout]     --> src/color/mod.rs:97:1
[INFO] [stdout]      |
[INFO] [stdout]   97 | pub enum Color {
[INFO] [stdout]      | ^^^^^^^^^^^^^^
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Color` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `serde_core::ser::Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 128 others
[INFO] [stdout] note: required by a bound in `to_string_pretty`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.145/src/ser.rs:2266:17
[INFO] [stdout]      |
[INFO] [stdout] 2264 | pub fn to_string_pretty<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        ---------------- required by a bound in this function
[INFO] [stdout] 2265 | where
[INFO] [stdout] 2266 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string_pretty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `style-term` (lib test) due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fc4bb39ebac11af614b6045f66e1899aa1c876817d8ed973061e62166d45a297", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fc4bb39ebac11af614b6045f66e1899aa1c876817d8ed973061e62166d45a297", kill_on_drop: false }`
[INFO] [stdout] fc4bb39ebac11af614b6045f66e1899aa1c876817d8ed973061e62166d45a297
