Closed dgrr closed 2 hours ago
Same issue if you create an empty project with cargo new sample_project
, then cargo add alloy --features full
and cargo check
after.
Also happens on Ubuntu x64
can confirm, same issues on macOS as described by @dgrr
rustup --version
rustup 1.27.1 (54dd3d00f 2024-04-24)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.80.0 (051478957 2024-07-21)`
cargo update && cargo check
will now produce this for every project i've tried
> $ rustup --version
rustup 1.27.1 (54dd3d00f 2024-04-24)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.82.0 (f6e511eec 2024-10-15)
this appears to be a breaking change in serde, possibly accidental
It can be resolved as follows
cargo update -p serde --precise 1.0.210 && cargo update -p serde_derive --precise 1.0.210 && cargo c
Component
serde
What version of Alloy are you on?
alloy main branch
Operating System
macOS (Apple Silicon)
Describe the bug
Hello,
I've noticed an issue in some of my repos in which I use alloy. I suspect that the error is related to cargo selecting a different version of alloy. I was not able to reproduce the error in my repos, but I managed to reproduced by cloning alloy and running
cargo check
. The output is the following: