Skip to content

fix(hyper): update pin-project-lite to 0.2.19, replacing a yanked release - #238

Merged
jimeh merged 1 commit into
mainfrom
fix/hyper-pin-project-lite
Dec 3, 2026
Merged

jimeh merged 1 commit into
mainfrom
fix/hyper-pin-project-lite

Conversation

@jimeh

@jimeh jimeh commented Dec 3, 2026 •

Copy link
Copy Markdown
Owner

Scheduled CI on main failed at hyper:check on 2026-12-03 (run 47033529247): cargo-deny rejects pin-project-lite 0.2.17 in gems/connectrpc-hyper/Cargo.lock as yanked. Any PR that touches connectrpc-hyper fails the same way.

pin-project-lite yanked 0.2.15 through 0.2.18 after an unsoundness report, taiki-e/pin-project-lite#100: the pin_project! macro accepted project_replace and PinnedDrop together, which can break the drop guarantee. 0.2.19, published on 2026-12-02, fixes it and is the only release that is not yanked.

This updates the lock to 0.2.19 with mise run hyper:cargo:update -- -p pin-project-lite --precise 0.2.19, which also regenerates THIRD_PARTY_NOTICES.md. No other crate changes.

Crate age exception

0.2.19 is one day old, inside the seven-day crate age rule in docs/development.md. Jim approved fixing the failure now rather than waiting until 2026-12-09.

Impact on released gems

The bug only affects a pin_project! invocation that uses both project_replace and PinnedDrop. In this lock, the only dependencies that use project_replace are hyper-util 0.1.21 (src/common/lazy.rs) and tokio 1.54.1 (src/future/maybe_done.rs), and neither implements PinnedDrop. connectrpc-hyper 0.3.1 is not affected; this change only clears the yanked version.

Verification

  • mise run hyper:check passes, including advisories ok, bans ok, licenses ok, sources ok from cargo-deny.
  • mise run ci:scope -- origin/main HEAD selects the connectrpc-hyper jobs: Static, Specs, the hyper floors leaf, RBS, Hyper, Hyper MSRV, Hyper gems and Hyper Windows.

Written on behalf of jimeh by claude-opus-5-5 using Claude Code via T3 Code.

View guided diff Turn on auto-fix

…ease

pin-project-lite yanked 0.2.15 to 0.2.18 for an unsoundness fix
(taiki-e/pin-project-lite#100), so cargo-deny fails hyper:check on
0.2.17. 0.2.19 is the only release that is not yanked; it is inside the
seven-day crate age window by a maintainer exception.
@jimeh
jimeh merged commit b3bcecc into main Dec 3, 2026
62 checks passed
@jimeh
jimeh deleted the fix/hyper-pin-project-lite branch December 3, 2026 19:59
@jimehbot jimehbot Bot mentioned this pull request Dec 3, 2026
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