Closed
Description
When building bitvec from source, I'm getting a build error and after running git bisect
I could trace it back down to this commit -> 47d6e19
Here is the message I'm receiving
error[E0034]: multiple applicable items in scope
--> src/mem.rs:28:19
|
28 | const INDX: u8 = Self::BITS.trailing_zeros() as u8;
| ^^^^^^^^^^ multiple `BITS` found
OS: macOS Big Sur 10.16 20C69 x86_64
cargo --version: cargo 1.36.0 (c4fcfb725 2019-05-15)
Note that I'm using Big Sur which may play a role in the cause of this error.
Activity
EthanYidong commentedon Feb 13, 2021
Actually, this is due to a breaking change in
funty
ferrilab/funty@b87325b, which ads aBITS
constant thatbitvec
is glob importing. Version 1.1.0 of funty works fine, so as a temporary workaround, addfunty = "=1.1.0"
to yourCargo.toml
add temporary workaround for bitvec: ferrilab/bitvec#105
Add a workaround for ferrilab/bitvec#105
BITS
found build error launchbadge/sqlx#1048Zorotic commentedon Feb 14, 2021
You are a live saver 💯
Fix funty dependency to fix build failure in bitvec
fix: compilation errors in bitvec / funty…
mzhang28 commentedon Feb 14, 2021
Maybe it would be a good idea to pin to minor versions of dependencies as well, since glob-imports are used in code?
66 remaining items