[GH-ISSUE #253] ace3ca1 (MP3 playback) breaks build (on OpenBSD) #182

Closed
opened 2026-02-28 14:31:12 +03:00 by kerem · 3 comments
Owner

Originally created by @klemensn on GitHub (Jan 9, 2022).
Original GitHub issue: https://github.com/jpochyla/psst/issues/253

I just rebased the openbsd branch and hit

$ cargo build --release
...
error[E0599]: no variant or associated item named `compatible_audio_formats` found for enum `MediaFile` in the current scope
  --> psst-core/src/metadata.rs:48:31
   |
48 |         let file = MediaFile::compatible_audio_formats(preferred_bitrate)
   |                               ^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `MediaFile`
   |
  ::: psst-core/src/player/file.rs:35:1
   |
35 | pub enum MediaFile {
   | ------------------ variant or associated item `compatible_audio_formats` not found here

For more information about this error, try `rustc --explain E0599`.
error: could not compile `psst-core` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed

Reverting ace3ca1 "core: Add experimental MP3 playback" fixes this.

Originally created by @klemensn on GitHub (Jan 9, 2022). Original GitHub issue: https://github.com/jpochyla/psst/issues/253 I just rebased the `openbsd` branch and hit ``` $ cargo build --release ... error[E0599]: no variant or associated item named `compatible_audio_formats` found for enum `MediaFile` in the current scope --> psst-core/src/metadata.rs:48:31 | 48 | let file = MediaFile::compatible_audio_formats(preferred_bitrate) | ^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `MediaFile` | ::: psst-core/src/player/file.rs:35:1 | 35 | pub enum MediaFile { | ------------------ variant or associated item `compatible_audio_formats` not found here For more information about this error, try `rustc --explain E0599`. error: could not compile `psst-core` due to previous error warning: build failed, waiting for other jobs to finish... error: build failed ``` Reverting ace3ca1 "core: Add experimental MP3 playback" fixes this.
kerem 2026-02-28 14:31:12 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@brownjohnf commented on GitHub (Jan 10, 2022):

I'm seeing the same thing on Arch linux (in this case from installing the psst-gui package from the AUR):

Linux 5.15.13-arch1-1 #1 SMP PREEMPT Wed, 05 Jan 2022 16:20:59 +0000 x86_64 GNU/Linux                                             
cargo 1.57.0 (b2e52d7ca 2021-10-21)                                                          
<!-- gh-comment-id:1008534364 --> @brownjohnf commented on GitHub (Jan 10, 2022): I'm seeing the same thing on Arch linux (in this case from installing the psst-gui package from the AUR): ``` Linux 5.15.13-arch1-1 #1 SMP PREEMPT Wed, 05 Jan 2022 16:20:59 +0000 x86_64 GNU/Linux cargo 1.57.0 (b2e52d7ca 2021-10-21) ```
Author
Owner

@kprasadvnsi commented on GitHub (Jan 10, 2022):

I am seeing the same error here too on my Ubuntu 21.04

Linux kp-B550 5.11.0-44-generic #48-Ubuntu SMP Fri Dec 10 09:46:22 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
cargo 1.57.0 (b2e52d7ca 2021-10-21)
<!-- gh-comment-id:1008540191 --> @kprasadvnsi commented on GitHub (Jan 10, 2022): I am seeing the same error here too on my Ubuntu 21.04 ``` Linux kp-B550 5.11.0-44-generic #48-Ubuntu SMP Fri Dec 10 09:46:22 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux cargo 1.57.0 (b2e52d7ca 2021-10-21) ```
Author
Owner

@jpochyla commented on GitHub (Jan 10, 2022):

Fixed in master. Sorry!

<!-- gh-comment-id:1008810042 --> @jpochyla commented on GitHub (Jan 10, 2022): Fixed in master. Sorry!
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/psst#182
No description provided.