nix-rust / nix

Rust friendly bindings to *nix APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Possible semver violation: xcursor suddenly fails to compile in CI

alice-i-cecile opened this issue · comments

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

Full CI failure: https://github.com/bevyengine/bevy/actions/runs/7775686557/job/21201932060?pr=7650#step:6:694. This broke builds for Bevy; let us know if you need any more information.

esposm03/xcursor-rs#14 (comment)

This looks like somebody left out the "feature" flag. What does it have to do with semver?

This problem will be fixed by dbus2/zbus#568 and a new zbus 3.x release.

Closing, because this is not a an issue for Nix.