nix breaking changes
Updated December 4, 2026
On this page
Latest version 0.32.0, released November 14, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
nix 0.32.0 breaking changes
- Signature changed
fcntl.vmsplice
Calls to fcntl::vmsplice must now be wrapped in an unsafe block. github.com - Signature changed
sys.socket.accept
It returns an owned file descriptor instead of a RawFd and takes AsFd instead of RawFd, so callers must be updated. github.com - Signature changed
sys.socket.accept4
It returns an owned file descriptor instead of a RawFd and takes AsFd instead of RawFd, so callers must be updated. github.com
nix 0.31.0 breaking changes
- Removed
IFF_NOTRAILERS
IFF_NOTRAILERS was removed upstream and from libc, so it is no longer available on NetBSD. github.com - Removed
SigHandler
SigHandler no longer implements Eq or PartialEq because the comparisons never worked reliably. Use the matches! macro to check the variant instead. github.com
nix 0.30.0 breaking changes
- Removed
EventFd.arm
EventFd::arm() was removed for symmetry with defuse; remove calls to it. github.com - Removed
EventFd.defuse
EventFd::defuse() was removed because it did nothing; remove calls to it. github.com - Removed
nix::errno::Errno::EAUTH
nix::errno::Errno::EAUTH was removed in nix 0.30.0 crates.io - Removed
nix::errno::Errno::EBACKGROUND
nix::errno::Errno::EBACKGROUND was removed in nix 0.30.0 crates.io - Removed
nix::errno::Errno::EBADRPC
nix::errno::Errno::EBADRPC was removed in nix 0.30.0 crates.io - Removed
nix::errno::Errno::EDIED
nix::errno::Errno::EDIED was removed in nix 0.30.0 crates.io - Removed
nix::errno::Errno::EGRATUITOUS
nix::errno::Errno::EGRATUITOUS was removed in nix 0.30.0 crates.io - Removed
nix::errno::Errno::EGREGIOUS
nix::errno::Errno::EGREGIOUS was removed in nix 0.30.0 crates.io - Removed
nix::errno::Errno::EIEIO
nix::errno::Errno::EIEIO was removed in nix 0.30.0 crates.io - Removed
nix::errno::Errno::ENEEDAUTH
nix::errno::Errno::ENEEDAUTH was removed in nix 0.30.0 crates.io
And 22 more in this version. Sign up to see every change
nix 0.29.0 breaking changes
- Signature changed
ControlMessageOwned.UdpGroSegments
The wrapped type of ControlMessageOwned::UdpGroSegments changed from u16 to i32. Code relying on u16 must be updated. github.com - Signature changed
ForkptyResult
ForkptyResult changed to an enum with Parent (child and master OwnedFd) and Child variants. Code matching its old fields must be updated. github.com - Signature changed
ptrace.write
ptrace::write was changed to make it safe, so its signature differs from 0.28.0. Callers may need to update their code. github.com - Signature changed
ptrace.write_user
ptrace::write_user was changed to make it safe, so its signature differs from 0.28.0. Callers may need to update their code. github.com - Signature changed
RecvMsg.cmsgs
RecvMsg::cmsgs now returns a Result and checks for truncated cmsgs. Callers must handle the Result. github.com - Signature changed
splice
The splice arguments changed from RawFd to AsFd. Code passing raw file descriptors must pass AsFd values instead. github.com - Signature changed
sys.aio
Most sys/aio functions that accepted AsRawFd now accept AsFd. Code relying on AsRawFd arguments must be updated. github.com - Signature changed
tee
The tee arguments changed from RawFd to AsFd. Code passing raw file descriptors must pass AsFd values instead. github.com - Signature changed
vmsplice
The vmsplice arguments changed from RawFd to AsFd. Code passing raw file descriptors must pass AsFd values instead. github.com
nix 0.28.0 breaking changes
- Removed
dup3
The dup3 wrapper is removed on macOS because the system call is not supported there. github.com - Removed
nix::errno::Errno::ECHRNG
nix::errno::Errno::ECHRNG was removed in nix 0.28.0 crates.io - Removed
nix::errno::Errno::EL2HLT
nix::errno::Errno::EL2HLT was removed in nix 0.28.0 crates.io - Removed
nix::errno::Errno::EL2NSYNC
nix::errno::Errno::EL2NSYNC was removed in nix 0.28.0 crates.io - Removed
nix::errno::Errno::EL3HLT
nix::errno::Errno::EL3HLT was removed in nix 0.28.0 crates.io - Removed
nix::errno::Errno::EL3RST
nix::errno::Errno::EL3RST was removed in nix 0.28.0 crates.io - Removed
nix::errno::Errno::ELNRNG
nix::errno::Errno::ELNRNG was removed in nix 0.28.0 crates.io - Removed
nix::errno::Errno::ENOCSI
nix::errno::Errno::ENOCSI was removed in nix 0.28.0 crates.io - Removed
nix::errno::Errno::ERESTART
nix::errno::Errno::ERESTART was removed in nix 0.28.0 crates.io - Removed
nix::errno::Errno::EUNATCH
nix::errno::Errno::EUNATCH was removed in nix 0.28.0 crates.io
And 25 more in this version. Sign up to see every change
nix 0.27.0 breaking changes
- Removed
The previously deprecated net APIs have been removed and code using them must be changed. github.com - Removed
flock
flock is no longer available from nix::fcntl on Solaris. github.com - Removed
IoVec
The previously deprecated IoVec API has been removed and code using it must be changed. github.com - Removed
nix::errno::Errno::ENOATTR
nix::errno::Errno::ENOATTR was removed in nix 0.27.0 crates.io - Removed
SigEvent
SigEvent is no longer supported on Fuchsia, so code using it there will not compile. github.com - Default changed
Users must list in Cargo.toml each Cargo feature they depend on, since none are on by default now. github.com - Configuration changed
The crate now requires Rust 1.65 or later to build. github.com - Signature changed
Many public functions now take or return AsFd, BorrowedFd or OwnedFd instead of RawFd, so callers must update argument and return types. github.com - Signature changed
The epoll interface was changed to use a type, so code relying on the previous epoll representation may need updating. github.com - Signature changed
clone
Calls to clone must now be wrapped in an unsafe block, as with fork. github.com
And 2 more in this version. Sign up to see every change
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
nix 0.26.0 breaking changes
- Removed
The previously deprecated error constants and conversions were removed. Code that uses them must stop using them. github.com - Removed
nix::errno::EDEADLOCK
Use nix::errno::Errno::EDEADLOCK instead. crates.io
And 10 more in this version.
nix 0.25.0 breaking changes
- Removed
lio_listio
Support for resubmitting partially complete lio_listio operations was removed and must be reimplemented in downstream code. github.com - Removed
nix::errno::Errno::EADV
nix::errno::Errno::EADV was removed in nix 0.25.0 crates.io
And 50 more in this version.
nix 0.24.0 breaking changes
- Removed
AlgAddr
Inner fields of NetlinkAddr, AlgAddr, SysControlAddr, LinkAddr, and VsockAddr are no longer public. github.com - Removed
EventFlag.EV_SYSFLAG
EventFlag::EV_SYSFLAG has been removed. github.com
And 12 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.