Compiling piko v0.1.0 (/home/lyubentodorov/Projects/piko)
error[E0432]: unresolved import `fern::colors`
--> src/bin/main.rs:33:11
|
33 | use fern::colors::{Color, ColoredLevelConfig};
| ^^^^^^ could not find `colors` in `fern`
warning: unused imports: `error`, `trace`, `warn`
--> src/bin/main.rs:34:18
|
34 | use log::{debug, error, info, trace, warn};
| ^^^^^ ^^^^^ ^^^^
|
= note: `#[warn(unused_imports)]` on by default
error: aborting due to previous error; 1 warning emitted
For more information about this error, try `rustc --explain E0432`.
error: could not compile `piko`.
To learn more, run the command again with --verbose.
I've tried with a couple of versions of log and fern, including the latest ones. I can't see what I'm doing wrong and I couldn't find similar issues anywhere.
I'm trying to use fern with one of the examples in the repo:
This is the output of cargo build:
And these are my dependancies:
I've tried with a couple of versions of log and fern, including the latest ones. I can't see what I'm doing wrong and I couldn't find similar issues anywhere.