Skip to content

chore(deps): update rust crate chrono to v0.4.45#1531

Closed
wesbillman wants to merge 1 commit into
mainfrom
pinky/chrono-0.4.45-lockfile
Closed

chore(deps): update rust crate chrono to v0.4.45#1531
wesbillman wants to merge 1 commit into
mainfrom
pinky/chrono-0.4.45-lockfile

Conversation

@wesbillman

Copy link
Copy Markdown
Collaborator

Why

Renovate #1050 (chrono 0.4.44 → 0.4.45) fails the Windows Rust clippy job: could not compile wmi (lib) due to 16 previous errors.

Root cause: chrono 0.4.45 bumps its windows-link requirement to ^0.2, and cargo's re-resolution during renovate's cargo update chrono also collapsed unrelated duplicate windows crates downwardiana-time-zone and wmi dropped from windows-core 0.62.2 to 0.61.2, and generator dropped to windows-link 0.1.3/windows-result 0.3.4. wmi 0.18.4 doesn't compile against the older windows-core interface traits.

What

Same chrono bump, minus the collateral downgrades (Cargo.lock only):

  • chrono 0.4.44 → 0.4.45
  • generator 0.8.8 → 0.8.9 (restores windows-link 0.2.1 / windows-result 0.4.1)
  • iana-time-zone and wmi kept on windows-core 0.62.2 — both requirements allow it (>=0.56, <=0.62 and >=0.59, <0.63)

Supersedes #1050; renovate will detect 0.4.45 on main and close it.

Verification

  • Reproduced chore(deps): update rust crate chrono to v0.4.45 #1050's exact bad diff locally via cargo update chrono --precise 0.4.45
  • cargo metadata --locked passes — lockfile self-consistent
  • cargo clippy --workspace --locked clean locally (macOS); the Windows clippy job on this PR's CI is the authoritative check for the original failure

Renovate's attempt (#1050) failed Windows clippy: re-resolving chrono
dragged iana-time-zone and wmi down to windows-core 0.61.2 and
generator down to windows-link 0.1/windows-result 0.3, breaking wmi
compilation. Bump generator to 0.8.9 alongside and keep iana-time-zone
and wmi on windows-core 0.62.2 (both requirements allow it) so the
lockfile stays on the newer windows crates.

Co-authored-by: Pinky <44b8e82baa6e0e254e0208d68f335c283c94e7b78dd1fa10d5a49d3f13dd0435@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: Wes <wesbillman@users.noreply.github.com>
@wesbillman

Copy link
Copy Markdown
Collaborator Author

Closing in favor of #1532: renovate #1050 merged first, so main already has chrono 0.4.45 — the remaining defect is the windows-* downgrade, which #1532 repairs directly on top of main. Same end-state as this PR, right base.

@wesbillman wesbillman closed this Jul 6, 2026
@wesbillman wesbillman deleted the pinky/chrono-0.4.45-lockfile branch July 6, 2026 14:43
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

Successfully merging this pull request may close these issues.

1 participant