Commit cc31c7a
committed
fix(cargo): repair the rest of #998's dependency-bump fallout
PR #998 bumped several major dependency versions but did not migrate the
code that used them, leaving `origin/main` unbuildable. #1001 handled
rodio; this fixes everything else flake-check flagged.
git2 0.20 -> 0.21: `Remote::url`, `Reference::shorthand`, `Signature::name`,
`Commit::summary`, and `ConfigEntry::value` now return `Result` instead of
`Option`. Thread `.ok()` (and `.ok().flatten()` for the `Result<Option<_>>`
shapes) through search-core, git-log-pretty, and claude-stories so the
previous "None on failure" behavior is preserved.
rusqlite 0.32 -> 0.40: dropped the `u64` `FromSql`/`ToSql` impls (SQLite
columns are signed `i64`). search-core now reads `i64` and converts with
`u64::try_from`, and writes via `i64::try_from`, still erroring on an
impossible (negative / > i64::MAX) value rather than silently wrapping.
sha2 0.10 -> 0.11: the digest `Output` no longer implements `LowerHex`, so
`format!("{:x}", ..)` stops compiling. Hex-encode with `hex::encode` in
search-core, sink-parquet, and oci-image-builder; `hex` is added to the
workspace dependency table (already present transitively in the lock).
pty-process 0.4 -> 0.5: `Pty::new()` + `pty.pts()` are replaced by the
single `pty_process::open() -> (Pty, Pts)`, `Command` is now a consuming
builder, and `Command::spawn` takes `Pts` by value. Migrate tap-pty (and
drop its now-unreachable `Pts` error variant) and tui's spawn path.
arrow/parquet 58 -> 59: the bot also bumped lake-iceberg's deliberately
pinned `arrow-array`/`arrow-schema` from 57 to 59, breaking interop with
`iceberg` 0.9 (which pins arrow ^57.1). Revert that pair to 57; the
comment explaining the isolated 57 tree already documents why.
Verified: cargo test passes for every touched crate.1 parent 7f1b1fb commit cc31c7a
17 files changed
Lines changed: 67 additions & 49 deletions
File tree
- packages
- claude-stories/src
- git-log-pretty/src
- lake/iceberg
- oci-image-builder
- src
- search-core
- src
- sink/parquet
- src
- tap/pty/src
- tui/src/manager
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
161 | 162 | | |
162 | 163 | | |
163 | | - | |
| 164 | + | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
65 | 70 | | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
71 | | - | |
| 76 | + | |
72 | 77 | | |
73 | 78 | | |
74 | 79 | | |
75 | 80 | | |
76 | 81 | | |
77 | | - | |
| 82 | + | |
78 | 83 | | |
79 | 84 | | |
80 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
| 273 | + | |
| 274 | + | |
274 | 275 | | |
275 | 276 | | |
276 | 277 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
85 | 90 | | |
86 | 91 | | |
87 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1622 | 1622 | | |
1623 | 1623 | | |
1624 | 1624 | | |
1625 | | - | |
| 1625 | + | |
1626 | 1626 | | |
1627 | 1627 | | |
1628 | 1628 | | |
| |||
1644 | 1644 | | |
1645 | 1645 | | |
1646 | 1646 | | |
1647 | | - | |
| 1647 | + | |
1648 | 1648 | | |
1649 | 1649 | | |
1650 | 1650 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments