Skip to content

chore(deps)(deps): bump nix from 0.31.3 to 0.32.0 - #1831

Merged
engrams-agent[bot] merged 2 commits into
mainfrom
dependabot/cargo/nix-0.32.0
Nov 23, 2026
Merged

engrams-agent[bot] merged 2 commits into
mainfrom
dependabot/cargo/nix-0.32.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 21, 2026

Copy link
Copy Markdown
Contributor

Bumps nix from 0.31.3 to 0.32.0.

Changelog

Sourced from nix's changelog.

[0.32.0] - 2026-11-14

Added

  • Add SeekData and SeekHole to Whence for Android (#2676)
  • Added getres and setres for Redox OS (#2767)
  • Add nix::sys::socket::sockopt:TcpCork on Linux. (#2769)
  • Made the sys::prctl module available on Android the same as on other Linux targets. (#2770)
  • Add the sockopt::RcvMark socket option (Linux 5.19+, SO_RCVMARK) and decode the resulting (SOL_SOCKET, SO_MARK) ancillary message as a new ControlMessageOwned::SoMark(u32) variant. Previously the cmsg fell through to the catch-all Unknown arm, which forced a per-recv Vec<u8> allocation for four bytes. (#2785)
  • Enable module ioctl for Haiku (#2792)

Changed

  • Made fcntl::vmsplice an unsafe function. (#2777)
  • Change sys::socket::accept and sys::socket::accept4 to return OwnedFd instead of RawFd. Change sys::socket::accept and sys::socket::accept4 to take AsFd instead of RawFd. (#2780)

[0.31.4] - 2026-11-16

Fixed

  • Fixed undefined behavior in recvfrom. (#2717)
  • Fixed the documented feature requirement of SockaddrIn, SockaddrIn6 and LinkAddr: docs.rs now shows that they need the net feature (#2854)
  • Fixed the PosixSpawnAttr and PosixSpawnFileActions methods ignoring errors, as the posix_spawn* functions return the error number directly instead of -1. (#2865)
Commits
  • a823fa9 Bump version to 0.32.0
  • 8db8ddb Add changelog entry for PR #2717
  • 3184b0b socket: remove UB with MaybeUninit\<T>.assume_init (#2717)
  • 143f203 Fix error handling in PosixSpawnAttr / PosixSpawnFileActions methods (#2865)
  • fe2fb40 fix(socket): document net feature requirement of SockaddrIn and SockaddrIn6 (...
  • 030cfa9 Fix 'cargo doc' with the latest nightly (#2872)
  • a46707b fix(event): deprecate NOTE_*MASK constants (#2840)
  • e5b9adc ci: remove redundant before_cache_script step from workflows (#2831)
  • e06ccf2 Clippy cleanup: clippy::new_instead_of_clear (#2867)
  • 86375f9 test: count the drops in test_recvmsg_rxq_ovfl instead of assuming one (#2850)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [nix](https://github.com/nix-rust/nix) from 0.31.3 to 0.32.0.
- [Changelog](https://github.com/nix-rust/nix/blob/master/CHANGELOG.md)
- [Commits](nix-rust/nix@v0.31.3...v0.32.0)

---
updated-dependencies:
- dependency-name: nix
  dependency-version: 0.32.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Nov 21, 2026
github-actions[bot]
github-actions Bot previously approved these changes Nov 21, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved: all dependency bumps are patch or minor.

@github-actions
github-actions Bot enabled auto-merge November 21, 2026 17:32
nix 0.32 does not subsume the tree's remaining 0.31 consumers
(rtnetlink, vsock), so hakari must pin both versions under distinct
aliases across the cfg-specific target tables. Regenerated with
'cargo hakari generate'; 'generate --diff' is clean and clippy/check
pass on the full workspace.

Co-Authored-By: Claude Code <noreply@anthropic.com>
@engrams-agent

engrams-agent Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Migrated the failing fmt + clippy + check gate.

What upstream changed (nix 0.31.3 → 0.32.0): the only breaking edits are becoming , and / returning and taking . Neither is called anywhere in the tree, so no source migration was needed.

What I fixed: Dependabot only rewrote the direct-dep pin in workspace-hack's top table. The tree still carries nix 0.31 consumers (rtnetlink 0.24, vsock 0.5.5), so cargo hakari generate needs to emit two alias-pinned nix versions across the cfg-specific target tables (nix-51543b5218fc235c for 0.32, nix-5f5a217a62ea0662 for 0.31). The stale single pin made cargo hakari generate --diff exit 1. Regenerated with cargo hakari generate.

Verified locally: full cargo clippy --workspace --all-targets -- -D warnings and cargo check --workspace --all-targets both green, cargo fmt --all -- --check clean, cargo hakari generate --diff clean.

Please review: that the dual-version workspace-hack pins (0.32 + 0.31) are acceptable — they are, because 0.32 does not subsume this tree's remaining 0.31 consumers, so both must stay until those transitive crates move.

@engrams-agent

engrams-agent Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

Migrated the failing fmt + clippy + check gate. Comment body was garbled by shell backtick interpolation on the first attempt; this is the corrected text.

What upstream changed (nix 0.31.3 to 0.32.0): the only breaking edits are fcntl::vmsplice becoming unsafe, and accept/accept4 returning OwnedFd and taking AsFd. Neither is called anywhere in the tree, so no source migration was needed.

What I fixed: Dependabot only rewrote the direct-dep pin in workspace-hack's top table. The tree still carries nix 0.31 consumers (rtnetlink 0.24, vsock 0.5.5), so cargo hakari generate needs to emit two alias-pinned nix versions across the cfg-specific target tables (nix-51543b5218fc235c for 0.32, nix-5f5a217a62ea0662 for 0.31). The stale single pin made cargo hakari generate --diff exit 1. Regenerated with cargo hakari generate.

Verified locally: full cargo clippy --workspace --all-targets -- -D warnings and cargo check --workspace --all-targets both green, cargo fmt --all -- --check clean, cargo hakari generate --diff clean.

Please review: that the dual-version workspace-hack pins (0.32 + 0.31) are acceptable — they are, because 0.32 does not subsume this tree's remaining 0.31 consumers, so both must stay until those transitive crates move.

@engrams-agent engrams-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approved: all dependency bumps are patch or minor. (Re-approving after the migration push dismissed the prior approval.)

@engrams-agent
engrams-agent Bot added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 00d3478 Nov 23, 2026
29 checks passed
@engrams-agent
engrams-agent Bot deleted the dependabot/cargo/nix-0.32.0 branch November 23, 2026 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants