Skip to content

fix: update r2d2_sqlite to 0.32 to resolve rusqlite 0.38 conflict - #274

Merged
harumaki4649 merged 3 commits into
renovate/rusqlite-0.xfrom
copilot/sub-pr-265
Mar 3, 2026
Merged

harumaki4649 merged 3 commits into
renovate/rusqlite-0.xfrom
copilot/sub-pr-265

Conversation

Copilot AI commented Mar 3, 2026 •

Copy link
Copy Markdown
Contributor
  • Investigate CI failure (build error in maturin/cargo build step)
  • Fix: cast u64 increment to i64 using i64::try_from().unwrap_or(i64::MAX) in storage.rs — rusqlite 0.38 removed ToSql for u64
  • Verified build succeeds locally

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Mar 3, 2026
Co-authored-by: harumaki4649 <83683593+harumaki4649@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix dependencies by updating rusqlite to 0.38 fix: update r2d2_sqlite to 0.32 to resolve rusqlite 0.38 conflict Mar 3, 2026
Co-authored-by: harumaki4649 <83683593+harumaki4649@users.noreply.github.com>

Copilot AI commented Mar 3, 2026

Copy link
Copy Markdown
Contributor Author

@copilot https://github.com/disnana/DictSQLite/actions/runs/22607334701/job/65502218161#step:7:1 エラーが出ているため承認できません。修正が必要です

Fixed in commit 84dedc0. The build failure was caused by rusqlite 0.38 removing the ToSql implementation for u64. In storage.rs line 455, the increment variable (type u64) was passed directly to params![], which is no longer supported. Changed it to i64::try_from(increment).unwrap_or(i64::MAX) for a safe conversion.

@harumaki4649
harumaki4649 merged commit f123c9f into renovate/rusqlite-0.x Mar 3, 2026
22 checks passed
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