[INFO] fetching crate kxxt-owo-colors 4.0.0... [INFO] checking kxxt-owo-colors-4.0.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate kxxt-owo-colors 4.0.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate kxxt-owo-colors 4.0.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate kxxt-owo-colors 4.0.0 [INFO] tweaked toml for crates.io crate kxxt-owo-colors 4.0.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kxxt-owo-colors 4.0.0 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] crate crates.io crate kxxt-owo-colors 4.0.0 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" "+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] ec96b83fd422957094dcbf4bca8dd7da45ab311cf106f5324039fb5dcf83f1b3 [INFO] running `Command { std: "docker" "start" "-a" "ec96b83fd422957094dcbf4bca8dd7da45ab311cf106f5324039fb5dcf83f1b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec96b83fd422957094dcbf4bca8dd7da45ab311cf106f5324039fb5dcf83f1b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec96b83fd422957094dcbf4bca8dd7da45ab311cf106f5324039fb5dcf83f1b3", kill_on_drop: false }` [INFO] [stdout] ec96b83fd422957094dcbf4bca8dd7da45ab311cf106f5324039fb5dcf83f1b3 [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] 65c9fd178426aed3ecca9ee25ecb9789cb653ab34352b7b73067f84fb3eec828 [INFO] running `Command { std: "docker" "start" "-a" "65c9fd178426aed3ecca9ee25ecb9789cb653ab34352b7b73067f84fb3eec828", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking kxxt-owo-colors v4.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `doc_cfg` [INFO] [stdout] --> src/lib.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | #![cfg_attr(doc_cfg, feature(doc_cfg))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `owo_colors` [INFO] [stdout] --> examples/extra_colors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use owo_colors::{colors::xterm, OwoColorize}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `owo_colors` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `owo_colors`, use `cargo add owo_colors` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `owo_colors` [INFO] [stdout] --> examples/extra_colors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use owo_colors::{colors::xterm, OwoColorize}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `owo_colors` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `owo_colors`, use `cargo add owo_colors` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `owo_colors` [INFO] [stdout] --> examples/custom_colors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use owo_colors::colors::CustomColor; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `owo_colors` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `owo_colors`, use `cargo add owo_colors` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `owo_colors` [INFO] [stdout] --> examples/custom_colors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use owo_colors::OwoColorize; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `owo_colors` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `owo_colors`, use `cargo add owo_colors` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/extra_colors.rs:4:38 [INFO] [stdout] | [INFO] [stdout] 4 | println!("{}", "Electric violet".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 4 - println!("{}", "Electric violet".fg::()); [INFO] [stdout] 4 + println!("{}", "Electric violet".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/extra_colors.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | println!("{}", "Matrix".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - println!("{}", "Matrix".fg::()); [INFO] [stdout] 5 + println!("{}", "Matrix".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/extra_colors.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | println!("{}", "Flirt".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - println!("{}", "Flirt".fg::()); [INFO] [stdout] 6 + println!("{}", "Flirt".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/extra_colors.rs:7:28 [INFO] [stdout] | [INFO] [stdout] 7 | println!("{}", "Cyan2".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 7 - println!("{}", "Cyan2".fg::()); [INFO] [stdout] 7 + println!("{}", "Cyan2".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/extra_colors.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | println!("{}", "Cyan".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 - println!("{}", "Cyan".fg::()); [INFO] [stdout] 8 + println!("{}", "Cyan".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `owo_colors` [INFO] [stdout] --> examples/all_xterm_colors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use owo_colors::colors::xterm; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `owo_colors` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `owo_colors`, use `cargo add owo_colors` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `owo_colors` [INFO] [stdout] --> examples/banner.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use owo_colors::{DynColors, OwoColorize}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `owo_colors` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `owo_colors`, use `cargo add owo_colors` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/extra_colors.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | println!("{}", "Lime".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 - println!("{}", "Lime".fg::()); [INFO] [stdout] 9 + println!("{}", "Lime".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `owo_colors` [INFO] [stdout] --> examples/all_xterm_colors.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use owo_colors::OwoColorize; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `owo_colors` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `owo_colors`, use `cargo add owo_colors` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/extra_colors.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | println!("{}", "Jade".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 10 - println!("{}", "Jade".fg::()); [INFO] [stdout] 10 + println!("{}", "Jade".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/extra_colors.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | println!("{}", "Reef".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 11 - println!("{}", "Reef".fg::()); [INFO] [stdout] 11 + println!("{}", "Reef".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/custom_colors.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | println!("{}", "custom purple".fg::>()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - println!("{}", "custom purple".fg::>()); [INFO] [stdout] 5 + println!("{}", "custom purple".bg::>()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg_rgb` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/custom_colors.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | println!("{}", "custom green".fg_rgb::<50, 209, 42>()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:404:8 [INFO] [stdout] | [INFO] [stdout] 404 | fn fg_rgb( [INFO] [stdout] | ------ the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg_rgb` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg_rgb` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - println!("{}", "custom green".fg_rgb::<50, 209, 42>()); [INFO] [stdout] 6 + println!("{}", "custom green".bg_rgb::<50, 209, 42>()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kxxt-owo-colors` (example "extra_colors") due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `bg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/all_xterm_colors.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | " ".bg::(), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 24 | / xterm_colors! { [INFO] [stdout] 25 | | 0 UserBlack (0,0,0) [INFO] [stdout] 26 | | 1 UserRed (128,0,0) [INFO] [stdout] 27 | | 2 UserGreen (0,128,0) [INFO] [stdout] ... | [INFO] [stdout] 280 | | 255 GalleryGray (238,238,238) [INFO] [stdout] 281 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:285:8 [INFO] [stdout] | [INFO] [stdout] 285 | fn bg(&self) -> BgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `xterm_colors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `OwoColorize` which provides `bg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kxxt-owo-colors` (example "custom_colors") due to 4 previous errors [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/all_xterm_colors.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | stringify!($name).fg::(), [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 24 | / xterm_colors! { [INFO] [stdout] 25 | | 0 UserBlack (0,0,0) [INFO] [stdout] 26 | | 1 UserRed (128,0,0) [INFO] [stdout] 27 | | 2 UserGreen (0,128,0) [INFO] [stdout] ... | [INFO] [stdout] 280 | | 255 GalleryGray (238,238,238) [INFO] [stdout] 281 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `xterm_colors` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg_rgb` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/banner.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | println!("\n\n\n\n\n{}", OWO.fg_rgb::<0x2E, 0x31, 0x92>().bold()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:404:8 [INFO] [stdout] | [INFO] [stdout] 404 | fn fg_rgb( [INFO] [stdout] | ------ the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg_rgb` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg_rgb` with a similar name [INFO] [stdout] | [INFO] [stdout] 27 - println!("\n\n\n\n\n{}", OWO.fg_rgb::<0x2E, 0x31, 0x92>().bold()); [INFO] [stdout] 27 + println!("\n\n\n\n\n{}", OWO.bg_rgb::<0x2E, 0x31, 0x92>().bold()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kxxt-owo-colors` (example "banner") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `owo_colors` [INFO] [stdout] --> examples/colors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use owo_colors::{colors::*, OwoColorize}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `owo_colors` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `owo_colors`, use `cargo add owo_colors` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `owo_colors` [INFO] [stdout] --> examples/colors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use owo_colors::{colors::*, OwoColorize}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `owo_colors` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `owo_colors`, use `cargo add owo_colors` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Red` in this scope [INFO] [stdout] --> examples/colors.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | println!("{}", "red".fg::()); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::Red; [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::css::Red; [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::xterm::Red; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Magenta` in this scope [INFO] [stdout] --> examples/colors.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | println!("{}", "magenta".fg::()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::Magenta; [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::css::Magenta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `White` in this scope [INFO] [stdout] --> examples/colors.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | println!("{}", "white".fg::()); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::White; [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::css::White; [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::xterm::White; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Cyan` in this scope [INFO] [stdout] --> examples/colors.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | println!("{}", "cyan".fg::()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::Cyan; [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::xterm::Cyan; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BrightGreen` in this scope [INFO] [stdout] --> examples/colors.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | println!("{}", "green".fg::()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::BrightGreen; [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::xterm::BrightGreen; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BrightYellow` in this scope [INFO] [stdout] --> examples/colors.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | println!("{}", "yellow".fg::()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::BrightYellow; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BrightBlue` in this scope [INFO] [stdout] --> examples/colors.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | println!("{}", "blue".fg::()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::BrightBlue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BrightBlack` in this scope [INFO] [stdout] --> examples/colors.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | println!("{}", "black".fg::()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::BrightBlack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BrightRed` in this scope [INFO] [stdout] --> examples/colors.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | println!("{}", "red".fg::()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::BrightRed; [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::xterm::BrightRed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BrightMagenta` in this scope [INFO] [stdout] --> examples/colors.rs:22:35 [INFO] [stdout] | [INFO] [stdout] 22 | println!("{}", "magenta".fg::()); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::BrightMagenta; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BrightWhite` in this scope [INFO] [stdout] --> examples/colors.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | println!("{}", "white".fg::()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::BrightWhite; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BrightCyan` in this scope [INFO] [stdout] --> examples/colors.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | println!("{}", "cyan".fg::()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::colors::BrightCyan; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `green` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | println!("{}", "green".green()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:298:18 [INFO] [stdout] | [INFO] [stdout] 298 | Green green on_green, [INFO] [stdout] | ----- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `green` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `on_green` with a similar name [INFO] [stdout] | [INFO] [stdout] 5 | println!("{}", "green".on_green()); [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/colors.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | println!("{}", "yellow".yellow()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:301:18 [INFO] [stdout] | [INFO] [stdout] 301 | Yellow yellow on_yellow, [INFO] [stdout] | ------ the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `yellow` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `on_yellow` with a similar name [INFO] [stdout] | [INFO] [stdout] 6 | println!("{}", "yellow".on_yellow()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blue` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | println!("{}", "blue".blue()); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:304:18 [INFO] [stdout] | [INFO] [stdout] 304 | Blue blue on_blue, [INFO] [stdout] | ---- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `le` with a similar name, but with different arguments [INFO] [stdout] --> /rustc/a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d/library/core/src/cmp.rs:1405:5 [INFO] [stdout] help: trait `OwoColorize` which provides `blue` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `black` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:8:28 [INFO] [stdout] | [INFO] [stdout] 8 | println!("{}", "black".black()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:292:18 [INFO] [stdout] | [INFO] [stdout] 292 | Black black on_black, [INFO] [stdout] | ----- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `black` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `on_black` with a similar name [INFO] [stdout] | [INFO] [stdout] 8 | println!("{}", "black".on_black()); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | println!("{}", "red".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 11 - println!("{}", "red".fg::()); [INFO] [stdout] 11 + println!("{}", "red".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | println!("{}", "magenta".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 12 - println!("{}", "magenta".fg::()); [INFO] [stdout] 12 + println!("{}", "magenta".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | println!("{}", "white".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 13 - println!("{}", "white".fg::()); [INFO] [stdout] 13 + println!("{}", "white".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | println!("{}", "cyan".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 14 - println!("{}", "cyan".fg::()); [INFO] [stdout] 14 + println!("{}", "cyan".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:17:28 [INFO] [stdout] | [INFO] [stdout] 17 | println!("{}", "green".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 17 - println!("{}", "green".fg::()); [INFO] [stdout] 17 + println!("{}", "green".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | println!("{}", "yellow".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 18 - println!("{}", "yellow".fg::()); [INFO] [stdout] 18 + println!("{}", "yellow".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | println!("{}", "blue".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 19 - println!("{}", "blue".fg::()); [INFO] [stdout] 19 + println!("{}", "blue".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | println!("{}", "black".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 20 - println!("{}", "black".fg::()); [INFO] [stdout] 20 + println!("{}", "black".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | println!("{}", "red".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 21 - println!("{}", "red".fg::()); [INFO] [stdout] 21 + println!("{}", "red".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:22:30 [INFO] [stdout] | [INFO] [stdout] 22 | println!("{}", "magenta".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 22 - println!("{}", "magenta".fg::()); [INFO] [stdout] 22 + println!("{}", "magenta".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | println!("{}", "white".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 23 - println!("{}", "white".fg::()); [INFO] [stdout] 23 + println!("{}", "white".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `fg` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | println!("{}", "cyan".fg::()); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:272:8 [INFO] [stdout] | [INFO] [stdout] 272 | fn fg(&self) -> FgColorDisplay<'_, C, Self> { [INFO] [stdout] | -- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `fg` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `bg` with a similar name [INFO] [stdout] | [INFO] [stdout] 24 - println!("{}", "cyan".fg::()); [INFO] [stdout] 24 + println!("{}", "cyan".bg::()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `underline` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 27 | println!("{}", "underline".underline()); [INFO] [stdout] | ^^^^^^^^^ method not found in `&'static str` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:359:9 [INFO] [stdout] | [INFO] [stdout] 359 | underline UnderlineDisplay, [INFO] [stdout] | --------- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `underline` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [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/colors.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | println!("{}", "bold".bold()); [INFO] [stdout] | ^^^^ method not found in `&'static str` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:353:9 [INFO] [stdout] | [INFO] [stdout] 353 | bold BoldDisplay, [INFO] [stdout] | ---- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `bold` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `italic` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | println!("{}", "italic".italic()); [INFO] [stdout] | ^^^^^^ method not found in `&'static str` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:357:9 [INFO] [stdout] | [INFO] [stdout] 357 | italic ItalicDisplay, [INFO] [stdout] | ------ the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `italic` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `strikethrough` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:30:36 [INFO] [stdout] | [INFO] [stdout] 30 | println!("{}", "strikethrough".strikethrough()); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&'static str` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | strikethrough StrikeThroughDisplay, [INFO] [stdout] | ------------- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `strikethrough` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `reversed` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | println!("{}", "reverse".reversed()); [INFO] [stdout] | ^^^^^^^^ method not found in `&'static str` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | reversed ReversedDisplay, [INFO] [stdout] | -------- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `reversed` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `hidden` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:32:26 [INFO] [stdout] | [INFO] [stdout] 32 | println!("1{}3", "2".hidden()); [INFO] [stdout] | ^^^^^^ method not found in `&'static str` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | hidden HiddenDisplay, [INFO] [stdout] | ------ the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `hidden` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blink` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:33:28 [INFO] [stdout] | [INFO] [stdout] 33 | println!("{}", "blink".blink()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:361:9 [INFO] [stdout] | [INFO] [stdout] 361 | blink BlinkDisplay, [INFO] [stdout] | ----- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `blink` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `blink_fast` with a similar name [INFO] [stdout] | [INFO] [stdout] 33 | println!("{}", "blink".blink_fast()); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `blink_fast` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:34:33 [INFO] [stdout] | [INFO] [stdout] 34 | println!("{}", "blink fast".blink_fast()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | blink_fast BlinkFastDisplay, [INFO] [stdout] | ---------- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `blink_fast` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `blink` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - println!("{}", "blink fast".blink_fast()); [INFO] [stdout] 34 + println!("{}", "blink fast".blink()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `red` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/colors.rs:37:39 [INFO] [stdout] | [INFO] [stdout] 37 | let red_on_white = "red on white".red().on_white(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:295:18 [INFO] [stdout] | [INFO] [stdout] 295 | Red red on_red, [INFO] [stdout] | --- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `red` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `on_red` with a similar name [INFO] [stdout] | [INFO] [stdout] 37 | let red_on_white = "red on white".on_red().on_white(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `owo_colors` [INFO] [stdout] --> examples/dyn_colors.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use owo_colors::{AnsiColors, DynColors, OwoColorize, Rgb, XtermColors}; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `owo_colors` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `owo_colors`, use `cargo add owo_colors` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kxxt-owo-colors` (example "colors") due to 39 previous errors [INFO] [stdout] error[E0599]: no method named `color` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/dyn_colors.rs:9:26 [INFO] [stdout] | [INFO] [stdout] 9 | println!("{}", "red".color(color)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 383 | fn color(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self> { [INFO] [stdout] | ----- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `color` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `on_color` with a similar name [INFO] [stdout] | [INFO] [stdout] 9 | println!("{}", "red".on_color(color)); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `color` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/dyn_colors.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | println!("{}", "blue".color(color)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 383 | fn color(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self> { [INFO] [stdout] | ----- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `color` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `on_color` with a similar name [INFO] [stdout] | [INFO] [stdout] 12 | println!("{}", "blue".on_color(color)); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `color` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/dyn_colors.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | println!("{}", "fuchsia".color(color)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 383 | fn color(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self> { [INFO] [stdout] | ----- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `color` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `on_color` with a similar name [INFO] [stdout] | [INFO] [stdout] 15 | println!("{}", "fuchsia".on_color(color)); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `color` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/dyn_colors.rs:18:36 [INFO] [stdout] | [INFO] [stdout] 18 | println!("{}", "custom purple".color(color)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 383 | fn color(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self> { [INFO] [stdout] | ----- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `color` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `on_color` with a similar name [INFO] [stdout] | [INFO] [stdout] 18 | println!("{}", "custom purple".on_color(color)); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `color` found for reference `&'static str` in the current scope [INFO] [stdout] --> examples/dyn_colors.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | println!("{}", "mystery color".color(color)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/lib.rs:383:8 [INFO] [stdout] | [INFO] [stdout] 383 | fn color(&self, color: Color) -> FgDynColorDisplay<'_, Color, Self> { [INFO] [stdout] | ----- the method is available for `&'static str` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `OwoColorize` which provides `color` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use kxxt_owo_colors::OwoColorize; [INFO] [stdout] | [INFO] [stdout] help: there is a method `on_color` with a similar name [INFO] [stdout] | [INFO] [stdout] 27 | println!("{}", "mystery color".on_color(color)); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kxxt-owo-colors` (example "dyn_colors") due to 6 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kxxt-owo-colors` (example "all_xterm_colors") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "65c9fd178426aed3ecca9ee25ecb9789cb653ab34352b7b73067f84fb3eec828", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65c9fd178426aed3ecca9ee25ecb9789cb653ab34352b7b73067f84fb3eec828", kill_on_drop: false }` [INFO] [stdout] 65c9fd178426aed3ecca9ee25ecb9789cb653ab34352b7b73067f84fb3eec828