Repository navigation
Conversation
Clippy 1.99 flags the `#[must_use]` that older async-trait versions put on the generated methods (`double_must_use`), which fails CI because clippy runs with `-D warnings`. With async-trait 0.1.92 the warning is gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 13, 2026
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.
Clippy 1.99 added the
double_must_uselint. It fires on the#[must_use]that async-trait 0.1.89 puts on the methods it generates, soclippy --workspace --all-targets --all-features -- -D warningsnow fails on the#[async_trait]traits ininput-captureandinput-emulation. CI onmainwill hit this as soon as its runners pick up Rust 1.99. It already does onubuntu-latest.async-trait 0.1.92 no longer triggers the lint. This PR only updates the lockfile (
cargo update -p async-trait). The new async-trait depends onsyn3, so that appears inCargo.locknext tosyn2.Tested with Rust 1.99 locally, where all clippy warnings are gone. The full CI matrix (formatting, plus build, check, test and clippy on Ubuntu, Windows, macOS and macOS Intel) passes on my fork: https://github.com/ekremyk2/lan-mouse/actions/runs/38411673978
This was made with the help of AI (Claude by Anthropic).