mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[GH-ISSUE #914] Unable to compile due to two versions of vergen_lib. #1491
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#1491
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @TasteGit on GitHub (Jan 26, 2026).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/914
error[E0277]: the trait bound
vergen::feature::build::Build: vergen_lib::entries::Addis not satisfied--> /home/taste/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/librespot-core-0.8.0/build.rs:16:27
|
16 | .add_instructions(&build)?
| ^^^^^^ the trait
vergen_lib::entries::Addis not implemented forvergen::feature::build::Build|
note: there are multiple different versions of crate
vergen_libin the dependency graph--> /home/taste/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/vergen-lib-0.1.6/src/entries.rs:45:1
|
45 | pub trait Add {
| ^^^^^^^^^^^^^ this is the expected trait
|
::: /home/taste/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/vergen-lib-9.1.0/src/entries.rs:45:1
|
45 | pub trait Add {
| ------------- this is the found trait
= help: you can use
cargo treeto explore your dependency treehelp: the trait
vergen_lib::entries::Addis implemented forGitcl--> /home/taste/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/vergen-gitcl-1.0.8/src/gitcl/mod.rs:910:1
|
910 | impl AddEntries for Gitcl {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
= note: required for the cast from
&vergen::feature::build::Buildto&dyn vergen_lib::entries::AddFor more information about this error, try
rustc --explain E0277.error: could not compile
librespot-core(build script) due to 1 previous errorwarning: build failed, waiting for other jobs to finish...
error: failed to compile
spotify_player v0.21.3, intermediate artifacts can be found at/tmp/cargo-installPmWQ6F.To reuse those artifacts with a future compilation, set the environment variable
CARGO_TARGET_DIRto that path.@ruinedraziel commented on GitHub (Jan 27, 2026):
Same exact issue here. Did some diligence, apparently this is all the way up to vergen itself.
Librespot - https://github.com/librespot-org/librespot/issues/1681
Vergen - https://github.com/rustyhorde/vergen/issues/478
Maybe issue is upstream.
@DCMachina commented on GitHub (Jan 30, 2026):
Hi,
my instance of this problem was cargo trying to be helpful when reading two different versions
run:
cargo install spotify_player --locked --force
almost guaranteed to be an instant fix!
@ruinedraziel commented on GitHub (Feb 8, 2026):
Thx, gonna try it out.