[GH-ISSUE #1598] Unable to compile since recent features change #727

Closed
opened 2026-02-27 19:32:10 +03:00 by kerem · 0 comments
Owner

Originally created by @mpsq on GitHub (Sep 24, 2025).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/1598

Description

Compilation error on latest dev, github.com/librespot-org/librespot@eb7c65e77b. This is broken since github.com/librespot-org/librespot@6f6cd04874 (aka. https://github.com/librespot-org/librespot/pull/1543), the commit prior (github.com/librespot-org/librespot@df5f957bdd) to this change is fine.

Version

github.com/librespot-org/librespot@eb7c65e77b

How to reproduce

Run:

cargo build  --no-default-features --features "rodio-backend with-avahi native-tls" --release

Fails with:

   Compiling librespot-discovery v0.7.1 (/home/meril/librespot/discovery)
error[E0433]: failed to resolve: could not find `poll` in `futures_util`
   --> discovery/src/lib.rs:201:60
    |
201 |             while let Poll::Ready(Some(_)) = futures_util::poll!(stream.next()) {
    |                                                            ^^^^ could not find `poll` in `futures_util`

For more information about this error, try `rustc --explain E0433`.
error: could not compile `librespot-discovery` (lib) due to 1 previous error

Host:

  • OS: Arch Linux
  • Platform: x64
  • rustup show
installed toolchains
--------------------
stable-x86_64-unknown-linux-gnu (active, default)
  • rustc --version
rustc 1.90.0 (1159e78c4 2025-09-14)
Originally created by @mpsq on GitHub (Sep 24, 2025). Original GitHub issue: https://github.com/librespot-org/librespot/issues/1598 ### Description Compilation error on latest `dev`, https://github.com/librespot-org/librespot/commit/eb7c65e77b60da6544e2f4c1bbf3ba06705ef1b7. This is broken since https://github.com/librespot-org/librespot/commit/6f6cd04874b09736bd17879363d1c0a387bc9440 (aka. https://github.com/librespot-org/librespot/pull/1543), the commit prior (https://github.com/librespot-org/librespot/commit/df5f957bdd9a29801dd16f08cdc9abc580912da7) to this change is fine. ### Version https://github.com/librespot-org/librespot/commit/eb7c65e77b60da6544e2f4c1bbf3ba06705ef1b7 ### How to reproduce Run: ```bash cargo build --no-default-features --features "rodio-backend with-avahi native-tls" --release ``` Fails with: ``` Compiling librespot-discovery v0.7.1 (/home/meril/librespot/discovery) error[E0433]: failed to resolve: could not find `poll` in `futures_util` --> discovery/src/lib.rs:201:60 | 201 | while let Poll::Ready(Some(_)) = futures_util::poll!(stream.next()) { | ^^^^ could not find `poll` in `futures_util` For more information about this error, try `rustc --explain E0433`. error: could not compile `librespot-discovery` (lib) due to 1 previous error ``` ### Host: - OS: Arch Linux - Platform: x64 - `rustup show` ``` installed toolchains -------------------- stable-x86_64-unknown-linux-gnu (active, default) ``` - `rustc --version` ``` rustc 1.90.0 (1159e78c4 2025-09-14) ```
kerem 2026-02-27 19:32:10 +03:00
  • closed this issue
  • added the
    bug
    label
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#727
No description provided.