Closed XVilka closed 1 year ago
After updating flexi_logger from 0.25 to 0.26 dependency in my project it immediately broke the build:
flexi_logger
0.25
0.26
error[E0463]: can't find crate for `regex` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flexi_logger-0.26.0/src/flexi_logger.rs:10:5 | 10 | use regex::Regex; | ^^^^^ can't find crate error[E0463]: can't find crate for `log` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flexi_logger-0.26.0/src/primary_writer/multi_writer.rs:7:5 | 7 | use log::Record; | ^^^ can't find crate error[E0463]: can't find crate for `log` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flexi_logger-0.26.0/src/primary_writer/std_writer.rs:15:5 | 15 | log::Record, | ^^^ can't find crate error[E0463]: can't find crate for `log` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flexi_logger-0.26.0/src/primary_writer/test_writer.rs:3:5 | 3 | log::Record, | ^^^ can't find crate error[E0463]: can't find crate for `log` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flexi_logger-0.26.0/src/primary_writer.rs:16:5 | 16 | use log::Record; | ^^^ can't find crate error[E0463]: can't find crate for `log` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flexi_logger-0.26.0/src/filter.rs:39:5 | 39 | use log::Record; | ^^^ can't find crate error[E0463]: can't find crate for `log` --> /Users/user/.cargo/registry/src/index.crates.io-6f17d22bba15001f/flexi_logger-0.26.0/src/writers/log_writer.rs:2:5 | 2 | use log::Record; | ^^^ can't find crate ...
Nevermind and sorry for the noise - works just fine after cargo clean
cargo clean
After updating
flexi_logger
from0.25
to0.26
dependency in my project it immediately broke the build: