[GH-ISSUE #1183] Can't compile using cargo install #5981

Closed
opened 2026-05-23 01:54:20 +01:00 by JakeStanger · 3 comments
Owner

Originally created by @OleksiiGrinka on GitHub (Oct 2, 2025).
Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1183

Describe the bug
Can't compile the project using cargo install

To reproduce
Steps to reproduce the behavior:

  1. cargo install ironbar
  2. Get the following error:
error[E0433]: failed to resolve: could not find `__private` in `serde`
  --> /home/oleksiigrinka/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ironbar-0.17.0/src/config/impl.rs:14:21
   |
14 | ...   <serde::__private::de::Content as serde::Deserialize>::deserialize...
   |               ^^^^^^^^^ could not find `__private` in `serde`

error[E0433]: failed to resolve: could not find `__private` in `serde`
  --> /home/oleksiigrinka/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ironbar-0.17.0/src/config/impl.rs:17:20
   |
17 | ...   serde::__private::de::ContentRefDeserializer::<D::Error>::new(&con...
   |              ^^^^^^^^^ could not find `__private` in `serde`

error[E0433]: failed to resolve: could not find `__private` in `serde`
  --> /home/oleksiigrinka/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ironbar-0.17.0/src/config/impl.rs:21:24
   |
21 | ...   serde::__private::de::ContentRefDeserializer::<D::Error>::new(&con...
   |              ^^^^^^^^^ could not find `__private` in `serde`

For more information about this error, try `rustc --explain E0433`.

System information:

  • Distro: Fedora Linux 42 Workstation
  • Compositor: niri
  • Ironbar version: 0.17.0
Originally created by @OleksiiGrinka on GitHub (Oct 2, 2025). Original GitHub issue: https://github.com/JakeStanger/ironbar/issues/1183 **Describe the bug** Can't compile the project using cargo install **To reproduce** Steps to reproduce the behavior: 1. `cargo install ironbar` 2. Get the following error: ``` error[E0433]: failed to resolve: could not find `__private` in `serde` --> /home/oleksiigrinka/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ironbar-0.17.0/src/config/impl.rs:14:21 | 14 | ... <serde::__private::de::Content as serde::Deserialize>::deserialize... | ^^^^^^^^^ could not find `__private` in `serde` error[E0433]: failed to resolve: could not find `__private` in `serde` --> /home/oleksiigrinka/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ironbar-0.17.0/src/config/impl.rs:17:20 | 17 | ... serde::__private::de::ContentRefDeserializer::<D::Error>::new(&con... | ^^^^^^^^^ could not find `__private` in `serde` error[E0433]: failed to resolve: could not find `__private` in `serde` --> /home/oleksiigrinka/.local/share/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ironbar-0.17.0/src/config/impl.rs:21:24 | 21 | ... serde::__private::de::ContentRefDeserializer::<D::Error>::new(&con... | ^^^^^^^^^ could not find `__private` in `serde` For more information about this error, try `rustc --explain E0433`. ``` **System information:** - Distro: Fedora Linux 42 Workstation - Compositor: niri - Ironbar version: 0.17.0
JakeStanger 2026-05-23 01:54:20 +01:00
Author
Owner

@JakeStanger commented on GitHub (Oct 2, 2025):

Can you try cargo install ironbar --locked? That looks like an issue due to an update to the serde crate, which shouldn't be present in the 0.17 lockfile.

It's also fixed on git, and I'll have a patch release out in the next few days.

<!-- gh-comment-id:3360178474 --> @JakeStanger commented on GitHub (Oct 2, 2025): Can you try `cargo install ironbar --locked`? That looks like an issue due to an update to the `serde` crate, which shouldn't be present in the 0.17 lockfile. It's also fixed on git, and I'll have a patch release out in the next few days.
Author
Owner

@OleksiiGrinka commented on GitHub (Oct 2, 2025):

Can you try cargo install ironbar --locked? That looks like an issue due to an update to the serde crate, which shouldn't be present in the 0.17 lockfile.

It's also fixed on git, and I'll have a patch release out in the next few days.

It compiled, thanks

<!-- gh-comment-id:3360201351 --> @OleksiiGrinka commented on GitHub (Oct 2, 2025): > Can you try `cargo install ironbar --locked`? That looks like an issue due to an update to the `serde` crate, which shouldn't be present in the 0.17 lockfile. > > It's also fixed on git, and I'll have a patch release out in the next few days. It compiled, thanks
Author
Owner

@JakeStanger commented on GitHub (Oct 2, 2025):

Great news. I'll leave this open until next release, and will correct that in the documentation.

<!-- gh-comment-id:3360209844 --> @JakeStanger commented on GitHub (Oct 2, 2025): Great news. I'll leave this open until next release, and will correct that in the documentation.
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
JakeStanger/ironbar#5981
No description provided.