You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error[E0425]: cannot find function `stderr` in this scope
--> /home/m/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-cov-0.0.1/src/main.rs:62:18
|
62 | writeln!(stderr(), "{} {}", "error:".red().bold(), error).unwrap();
| ^^^^^^ not found in this scope
|
help: possible candidate is found in another module, you can import it into scope
|
1 | use std::io::stderr;
|
error[E0599]: no method named `red` found for type `&'static str` in the current scope
--> /home/m/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-cov-0.0.1/src/main.rs:62:46
|
62 | writeln!(stderr(), "{} {}", "error:".red().bold(), error).unwrap();
| ^^^
|
= help: items from traits can only be used if the trait is in scope
= note: the following trait is implemented but not in scope, perhaps add a `use` for it:
candidate #1: `use colored::Colorize;`
error: aborting due to 2 previous errors
error: Could not compile `cargo-cov`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-cov v0.0.1`, intermediate artifacts can be found at `/tmp/cargo-install.aMQnMj4V31OS`
Caused by:
build failed
Hi. I'm currently on a sabbatical and cannot test this until march. If you care enough please ping me after March 1st again and I will check whether it works now.
Output:
env:
The text was updated successfully, but these errors were encountered: