On 2019-07-01 11:11, swedebugia wrote:
Hi
I'm doing the crate-adventure and stumbled on this:
starting phase `build'
error: failed to select a version for the requirement `clippy = "^0.0.41"`
candidate versions found which didn't match: 0.0.302
location searched: directory source
`/tmp/guix-build-rust-blake2-rfc-0.2.18.drv-0/blake2-rfc-0.2.18/guix-vendor`
(which is replacing registry
`https://github.com/rust-lang/crates.io-index`)
required by package `blake2-rfc v0.2.18
(/tmp/guix-build-rust-blake2-rfc-0.2.18.drv-0/blake2-rfc-0.2.18)`
But the version we got is way above .41.
0.0.302 > 0.0.41!
WDYT?
Oops maybe this output is from cargo.
According to https://semver.npmjs.com/ the ^ (hat) means: include
everything greater than a particular version in the same major range.
cargo should thus accept up to 0.0.999 in this case as valid but does not.
Should I relax the version requirement? To what?
--
Cheers Swedebugia