Repository navigation
Closed
Labels
0.kind: build failureA package fails to build
Description
Nixpkgs version
- Unstable (26.11)
Steps to reproduce
Run nix build github:NixOS/nixpkgs/nixpkgs-unstable#recordbox
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
Relevant log output
...
Compiling cairo-rs v0.22.0
Compiling graphene-rs v0.22.0
Compiling glycin-utils v4.1.0
Compiling ashpd v0.13.9
Compiling mpris-server v0.9.0
Compiling search-provider v0.13.0
Compiling diesel_migrations v2.3.1
Compiling deadpool-diesel v0.6.1
Compiling gstreamer-base v0.25.0
Compiling gstreamer-video v0.25.0
Compiling gstreamer-audio v0.25.0
Compiling gdk-pixbuf v0.22.0
Compiling pango v0.22.0
Compiling gstreamer-play v0.25.0
Compiling gstreamer-pbutils v0.25.0
Compiling gdk4 v0.11.1
Compiling gsk4 v0.11.1
Compiling glycin v3.1.0
Compiling gtk4 v0.11.1
Compiling libadwaita v0.9.1
Compiling recordbox v0.11.0 (/build/source)
error[E0446]: private type `LyricsSaveDestination` in public interface
--> src/lyrics/edit_dialog.rs:131:45
|
10 | enum LyricsSaveDestination {
| -------------------------- `LyricsSaveDestination` declared as private
...
131 | async fn ask_for_save_options(&self) -> Option<LyricsSaveDestination> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type
warning: type `LyricsSaveDestination` is more private than the item `edit_dialog::LyricEditDialog::ask_for_save_options::{anon_assoc#0}`
--> src/lyrics/edit_dialog.rs:131:45
|
131 | async fn ask_for_save_options(&self) -> Option<LyricsSaveDestination> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ opaque type `edit_dialog::LyricEditDialog::ask_for_save_options::{anon_assoc#0}` is reachable at visibility `pub(in crate::lyrics)`
|
note: but type `LyricsSaveDestination` is only usable at visibility `pub(self)`
--> src/lyrics/edit_dialog.rs:10:1
|
10 | enum LyricsSaveDestination {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: `#[warn(private_bounds)]` on by default
For more information about this error, try `rustc --explain E0446`.
warning: `recordbox` (bin "recordbox") generated 1 warning
error: could not compile `recordbox` (bin "recordbox") due to 1 previous error; 1 warning emitted
FAILED: [code=101] src/recordbox
/nix/store/cp7wjv1pl4wapfk48svvizxd089v9h0a-coreutils-9.11/bin/env CARGO_HOME=/build/source/build/cargo-home /nix/store/wjqh444sdwagpwyw25wdhk9rxl77rn6c-cargo-1.96.1/bin/cargo build --manifest-path /build/source/Cargo.toml --target-dir /build/source/build/src --release && cp src/release/recordbox src/recordbox
ninja: build stopped: subcommand failed.Additional context
No response
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.18.37, NixOS, 26.11 (Zokor), 26.11.20260701.e8273b2 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Lix, like Nix) 2.95.2 System type: x86_64-linux Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux, x86_64-v4-linux Features: gc, signed-caches System configuration file: /etc/nix/nix.conf User configuration files: /home/.../.config/nix/nix.conf:/etc/xdg/nix/nix.conf:/home/.../.nix-profile/etc/xdg/nix/nix.conf:/nix/profile/etc/xdg/nix/nix.conf:/home/.../.local/state/nix/profile/etc/xdg/nix/nix.conf:/etc/profiles/per-user/.../etc/xdg/nix/nix.conf:/nix/var/nix/profiles/default/etc/xdg/nix/nix.conf:/run/current-system/sw/etc/xdg/nix/nix.conf Store directory: /nix/store State directory: /nix/var/nix Data directory: /nix/store/vjdi2nfyh74xnych9c6hk51il4jch2c6-lix-2.95.2/share - nixpkgs:
/nix/store/fafnljsz5sckb1vzpns5dc2l6z4xkakm-source
Notify maintainers
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
- I assert that I have read the automation/AI policy and that this issue report complies with it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Reacted by lanovets
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build
Activity
io12 commentedon Jul 12, 2026
It seems like a rustc update (intentionally) caused this. rust-lang/rust#152543
illegalprime commentedon Aug 12, 2026
Looks like this should work on nixpkgs 26.05 since it has the right older rustc version.
Can't be fixed until the maintainer updates their project to support the newer compiler.
StarryReverie commentedon Sep 4, 2026
The following patch can fix the build failure:
Can we apply the patch now? The upstream repository has not been active for several month. It's unlikely that the upstream will fix this in short term.