Description
The time
crate released a new 0.3.35 version, and it introduced a few breaking changes, mainly in the module naming and re-export path. Resulting in compile error, if one depends on the latest time
release.
error[E0432]: unresolved import `time::format_description::FormatItem`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-sqlite-0.7.4/src/types/time.rs:192:72
|
192 | use time::format_description::{modifier, Component::*, FormatItem, FormatItem::*};
| ^^^^^^^^^^ `FormatItem` is a type alias, not a module
error[E0425]: cannot find function, tuple struct or tuple variant `Component` in this scope
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sqlx-sqlite-0.7.4/src/types/time.rs:194:34
|
194 | const YEAR: FormatItem<'_> = Component(Year({
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
192 + use time::format_description::BorrowedFormatItem::Component;
|
192 + use time::format_description::OwnedFormatItem::Component;
|
Full log: https://github.com/SeaQL/sea-query/actions/runs/8626694053/job/23645278046#step:4:452