Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning and errors are not shown in color #5092

Closed
JuanPotato opened this issue Feb 27, 2018 · 2 comments
Closed

Warning and errors are not shown in color #5092

JuanPotato opened this issue Feb 27, 2018 · 2 comments

Comments

@JuanPotato
Copy link
Member

JuanPotato commented Feb 27, 2018

I am on Arch Linux, and when i run any cargo command, the warnings and errors are no longer colored. This only started happening recently and I'm not sure what the cause may be.

cargo --version
cargo 0.25.0 (8c93e0895 2018-02-01)

cargo +nightly --version
cargo 0.26.0-nightly (1d6dfea44 2018-01-26)

when I run any of the following

cargo check
cargo check --color=always
cargo +nightly check
cargo +nightly check --color=always

I get the same result
image

when I use color=never, Compiling and Finished are not colored. It seems very odd that only the warnings and errors are not colored.

Forgot to add, this is the code I'm trying to compile as a test;

fn main() {
    let not_used = 0;
    println!("Hello, world!");
}
@sfackler
Copy link
Member

This is a rustc issue, not a Cargo issue: rust-lang/rust#45728

@JuanPotato
Copy link
Member Author

my bad, I'll close

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants