Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI fails to build (no Uid in unistd) #11702

Closed
BD103 opened this issue Feb 4, 2024 · 2 comments
Closed

CI fails to build (no Uid in unistd) #11702

BD103 opened this issue Feb 4, 2024 · 2 comments
Labels
A-Build-System Related to build systems or continuous integration C-Bug An unexpected or incorrect behavior P-Critical This must be fixed immediately or contributors or users will be severely impacted S-Blocked This cannot move forward until something else changes

Comments

@BD103
Copy link
Member

BD103 commented Feb 4, 2024

Bevy version

Main branch (71be08a)

[Optional] Relevant system information

N/A, this is running in Github Actions.

What you did

$ cargo run -p ci -- lints

What went wrong

error[E0432]: unresolved import `nix::unistd::Uid`
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zbus-3.14.1/src/address.rs:9:5
   |
9  | use nix::unistd::Uid;
   |     ^^^^^^^^^^^^^^^^ no `Uid` in `unistd`
   |
note: found an item that was configured out
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.26.4/src/unistd.rs:73:12
   |
73 | pub struct Uid(uid_t);
   |            ^^^
   = note: the item is gated behind the `user` feature

error[E0432]: unresolved import `nix::unistd::Uid`
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/zbus-3.14.1/src/handshake.rs:4:5
   |
4  | use nix::unistd::Uid;
   |     ^^^^^^^^^^^^^^^^ no `Uid` in `unistd`
   |
note: found an item that was configured out
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.26.4/src/unistd.rs:73:12
   |
73 | pub struct Uid(uid_t);
   |            ^^^
   = note: the item is gated behind the `user` feature

Additional information

Issue seemed to start around 5 hours ago with this Github Action run. Every run since then has failed.

I'm unable to reproduce this on my personal laptop (Mac), but the issue seems to stem from the crates zbus and nix. It appears nix's user feature flag is not enabled.

@BD103 BD103 added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Feb 4, 2024
@alice-i-cecile alice-i-cecile added A-Build-System Related to build systems or continuous integration S-Blocked This cannot move forward until something else changes P-Critical This must be fixed immediately or contributors or users will be severely impacted and removed S-Needs-Triage This issue needs to be labelled labels Feb 4, 2024
@alice-i-cecile
Copy link
Member

dbus2/zbus#568 (comment)

This should be fixed upstream shortly.

@BD103
Copy link
Member Author

BD103 commented Feb 5, 2024

zbus 3.15.0 has been released, fixing this issue. The CI has not been run yet since the release, but I'm going to close this assuming that it works.

@BD103 BD103 closed this as completed Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Build-System Related to build systems or continuous integration C-Bug An unexpected or incorrect behavior P-Critical This must be fixed immediately or contributors or users will be severely impacted S-Blocked This cannot move forward until something else changes
Projects
None yet
Development

No branches or pull requests

2 participants