Clippy is incompatible with serde 1.0.107 #8378
Labels
A-infra
Area: CI issues and issues that require full access for GitHub/CI
E-help-wanted
Call for participation: Help is requested to fix this issue.
good first issue
These issues are a good way to get started with Clippy
Summary
Re #7606
The version of
serde
specified inCargo.toml
is too low, and incompatible with this crate.Reproducer
Clippy asks for serde 1.0.0, which is even lower, but currently the lowest possible version is 1.0.107, because that's what
cargo_metadata
crate specifies, and this forces this version for the whole project (Cargo doesn't duplicate dependencies with the same semver-major version).cargo update -p serde --precise 1.0.107 cargo test --all
The same tests pass if you do:
to bump
serde
to 1.0.136. Somewhere between 107 and 136 serde has changed its behavior, and the tests rely on the later serde version.Version
Additional Labels
No response
The text was updated successfully, but these errors were encountered: