[GH-ISSUE #1016] cargo error: failed to download alsa v0.6.0 #485

Closed
opened 2026-02-27 19:30:55 +03:00 by kerem · 8 comments
Owner

Originally created by @rohoog on GitHub (Jun 26, 2022).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1016

I am a total newbie on cargo/rust, so I have no clue to resolve this.

Originally created by @rohoog on GitHub (Jun 26, 2022). Original GitHub issue: https://github.com/librespot-org/librespot/issues/1016 I am a total newbie on cargo/rust, so I have no clue to resolve this.
kerem 2026-02-27 19:30:55 +03:00
  • closed this issue
  • added the
    invalid
    label
Author
Owner

@rohoog commented on GitHub (Jun 26, 2022):

It seems it is downloaded, but the 'edition = "2021"' (whatever that is) in Cargo.toml isn't liked by the librespot build system.

<!-- gh-comment-id:1166514461 --> @rohoog commented on GitHub (Jun 26, 2022): It seems it is downloaded, but the 'edition = "2021"' (whatever that is) in Cargo.toml isn't liked by the librespot build system.
Author
Owner

@rohoog commented on GitHub (Jun 26, 2022):

OK it seems the culprit is the version of cargo/rustc that is installed on my system. It is resolved by uninstalling the distro-provided packages and following the install procedure on rust-lang.org. Debian-buster and bullseye are not new enough for alsa v0.6.0.

<!-- gh-comment-id:1166526287 --> @rohoog commented on GitHub (Jun 26, 2022): OK it seems the culprit is the version of cargo/rustc that is installed on my system. It is resolved by uninstalling the distro-provided packages and following the install procedure on [rust-lang.org](https://www.rust-lang.org/tools/install). Debian-buster and bullseye are not new enough for alsa v0.6.0.
Author
Owner

@JasonLG1979 commented on GitHub (Jun 26, 2022):

Generally speaking you should NOT use your distro packaged version Rust to build external projects especially not on Debian where things tend to be pretty far behind upstream.

<!-- gh-comment-id:1166617213 --> @JasonLG1979 commented on GitHub (Jun 26, 2022): Generally speaking you should NOT use your distro packaged version Rust to build external projects especially not on Debian where things tend to be pretty far behind upstream.
Author
Owner

@rohoog commented on GitHub (Jun 26, 2022):

Right. So much for my first encounter with rust.

<!-- gh-comment-id:1166636998 --> @rohoog commented on GitHub (Jun 26, 2022): Right. So much for my first encounter with rust.
Author
Owner

@JasonLG1979 commented on GitHub (Jun 26, 2022):

It's not a Rust failing. That's generally the case with any compiled language. The distro tools are designed to build the packages in the repo.

<!-- gh-comment-id:1166658413 --> @JasonLG1979 commented on GitHub (Jun 26, 2022): It's not a Rust failing. That's generally the case with any compiled language. The distro tools are designed to build the packages in the repo.
Author
Owner

@roderickvd commented on GitHub (Jun 27, 2022):

Not an issue with librespot. MSRV is documented too. Glad to hear it’s working for you.

<!-- gh-comment-id:1166956372 --> @roderickvd commented on GitHub (Jun 27, 2022): Not an issue with `librespot`. MSRV is documented too. Glad to hear it’s working for you.
Author
Owner

@rohoog commented on GitHub (Jun 27, 2022):

Yes, all is working fine with rust 1.61.
Great project, boo for spotify not supporting arm linux themselves.

<!-- gh-comment-id:1167855582 --> @rohoog commented on GitHub (Jun 27, 2022): Yes, all is working fine with rust 1.61. Great project, boo for spotify not supporting arm linux themselves.
Author
Owner

@kingosticks commented on GitHub (Jun 27, 2022):

Boo for them for not supporting any platform!

<!-- gh-comment-id:1167866387 --> @kingosticks commented on GitHub (Jun 27, 2022): Boo for them for not supporting any platform!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#485
No description provided.