[GH-ISSUE #54] reqwest introduced breaking change on patch version change. #18

Closed
opened 2026-02-27 20:22:37 +03:00 by kerem · 0 comments
Owner

Originally created by @mainrs on GitHub (Sep 30, 2019).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/54

As of v0.9.18 of reqwest, rspotify does exit with an unwrap on an Err value. This Is due to some breaking changes on a patch version of reqwest, meaning that the this library will only work with reqwest up to v0.9.17.

22:20:02 [ERROR] Caught panic with message: called `Result::unwrap()` on an `Err` value: Error(Executor(EnterError { reason: "attempted to run an executor while another executor is already running" }), "https://api.spotify.com/v1/me/player/currently-playing")

The fix is to lock down the version within the Cargo.toml file to v0.9.17.

Originally created by @mainrs on GitHub (Sep 30, 2019). Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/54 As of v0.9.18 of `reqwest`, `rspotify` does exit with an `unwrap` on an Err value. This Is due to some breaking changes on a patch version of `reqwest`, meaning that the this library will only work with reqwest up to v0.9.17. ``` 22:20:02 [ERROR] Caught panic with message: called `Result::unwrap()` on an `Err` value: Error(Executor(EnterError { reason: "attempted to run an executor while another executor is already running" }), "https://api.spotify.com/v1/me/player/currently-playing") ``` The fix is to lock down the version within the Cargo.toml file to v0.9.17.
kerem closed this issue 2026-02-27 20:22:37 +03:00
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/rspotify#18
No description provided.