Repository navigation
ci: pin yoke-derive to 0.8.2 for MSRV - #2317
Merged
evanlinjin merged 1 commit intoSep 18, 2026
Merged
Conversation
yoke-derive 0.8.3 calls the inherent `str::from_utf8`, which is not available on Rust 1.85.0, and it does not declare a `rust-version`. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2317 +/- ##
=======================================
Coverage 78.84% 78.84%
=======================================
Files 31 31
Lines 6060 6060
Branches 288 288
=======================================
Hits 4778 4778
Misses 1203 1203
Partials 79 79
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
5 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The MSRV (1.85.0) CI job is failing.
yoke-derive0.8.3 (released 2026-09-15) callsstr::from_utf8as a method on thestrtype. That form isn't available on Rust 1.85.0, and the crate doesn't declare arust-version, so cargo doesn't avoid it:yoke-derivegets pulled in throughurl->idna-> theicu_*crates ->zerovec->yoke. This PR pins it to 0.8.2 inci/pin-msrv.sh. Version 0.8.2 callscore::str::from_utf8instead, andyoke0.8.3 acceptsyoke-derive ^0.8.2.Failing run: https://github.com/bitcoindevkit/bdk/actions/runs/35182209052/job/105076597730
Notes to the reviewers
I couldn't build with 1.85.0 locally, so the MSRV CI run on this PR is the real test. I did check that
ci/pin-msrv.shruns cleanly from a fresh lockfile and ends up withyoke-derive0.8.2. The last greenmasterrun (2026-09-12) was before 0.8.3 came out.Checklists
All Submissions:
🤖 Generated with Claude Code