Skip to content

fix(build): update async-trait for clippy on Rust 1.99 - #5

Merged
eoliphan merged 1 commit into
mainfrom
fix/clippy-double-must-use
Oct 3, 2026
Merged

eoliphan merged 1 commit into
mainfrom
fix/clippy-double-must-use

Conversation

@eoliphan

@eoliphan eoliphan commented Oct 3, 2026

Copy link
Copy Markdown
Owner

CI began failing when the runner's stable toolchain moved to Rust 1.99.0.

  • clippy::double_must_use fires on the code async-trait 0.1.89 generates (src/provider.rs, trait Provider). async-trait 0.1.92 no longer triggers it.
  • AtomicU64::fetch_update is deprecated in 1.99 (renamed try_update). The call keeps the old name behind #[allow(deprecated)] so older toolchains and the Nix build still compile.

Verified locally on Rust 1.99.0: format-check, clippy, build, and test all pass.

Rust 1.99 clippy flags clippy::double_must_use in the code that
async-trait 0.1.89 generates, which fails CI under -D warnings.
async-trait 0.1.92 no longer triggers the lint.

Rust 1.99 also deprecates AtomicU64::fetch_update in favor of
try_update. Allow the deprecated name for now so older toolchains and
the Nix build keep compiling.
@eoliphan
eoliphan merged commit 6a2641e into main Oct 3, 2026
3 checks passed
@eoliphan
eoliphan deleted the fix/clippy-double-must-use branch October 3, 2026 22:54
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