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

Update Rust crate nix to 0.27 #914

Closed
wants to merge 1 commit into from
Closed

Update Rust crate nix to 0.27 #914

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 9, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
nix workspace.dependencies minor 0.26 -> 0.27

Release Notes

nix-rust/nix (nix)

v0.27.1

Compare Source

Fixed
  • Fixed generating the documentation on docs.rs.
    (#​2111)

v0.27.0

Compare Source

Added
  • Added AT_EACCESS to AtFlags on all platforms but android
    (#​1995)
  • Add PF_ROUTE to SockType on macOS, iOS, all of the BSDs, Fuchsia, Haiku, Illumos.
    (#​1867)
  • Added nix::ucontext module on aarch64-unknown-linux-gnu.
    (#1662)
  • Added CanRaw to SockProtocol and CanBcm as a separate SocProtocol constant.
    (#​1912)
  • Added Generic and NFLOG to SockProtocol.
    (#​2092)
  • Added mq_timedreceive to ::nix::mqueue.
    ([#​1966])(https://github.com/nix-rust/nix/pull/1966)
  • Added LocalPeerPid to nix::sys::socket::sockopt for macOS. (#​1967)
  • Added TFD_TIMER_CANCEL_ON_SET to ::nix::sys::time::TimerSetTimeFlags on Linux and Android.
    (#​2040)
  • Added SOF_TIMESTAMPING_OPT_ID and SOF_TIMESTAMPING_OPT_TSONLY to nix::sys::socket::TimestampingFlag.
    (#​2048)
  • Enabled socket timestamping options on Android. (#​2077)
  • Added vsock support for macOS (#​2056)
  • Added SO_SETFIB and SO_USER_COOKIE to nix::sys::socket::sockopt for FreeBSD.
    (#​2085)
  • Added SO_RTABLE for OpenBSD and SO_ACCEPTFILTER for FreeBSD/NetBSD to nix::sys::socket::sockopt.
    (#​2085)
  • Added MSG_WAITFORONE to MsgFlags on Android, Fuchsia, Linux, NetBSD,
    FreeBSD, OpenBSD, and Solaris.
    (#​2014)
  • Added SO_TS_CLOCK for FreeBSD to nix::sys::socket::sockopt.
    (#​2093)
  • Added support for prctl in Linux.
    (#1550)
  • nix::socket and nix::select are now available on Redox.
    (#​2012)
  • Implemented AsFd, AsRawFd, FromRawFd, and IntoRawFd for mqueue::MqdT.
    (#​2097)
  • Add the ability to set kevent_flags on SigEvent.
    (#​1731)
Changed
  • All Cargo features have been removed from the default set. Users will need to
    specify which features they depend on in their Cargo.toml.
    (#​2091)

  • Implemented I/O safety for many, but not all, of Nix's APIs. Many public
    functions argument and return types have changed:

    Original Type New Type
    AsRawFd AsFd
    RawFd BorrowedFd or OwnedFd

    (#1906)

  • Use I/O safety with copy_file_range, and expose it on FreeBSD.
    (#1906)

  • The MSRV is now 1.65
    (#​1862)
    (#​2104)

  • The epoll interface now uses a type.
    (#​1882)

  • With I/O-safe type applied in pty::OpenptyResult and pty::ForkptyResult,
    users no longer need to manually close the file descriptors in these types.
    (#​1921)

  • Refactored name parameter of mq_open and mq_unlink to be generic over
    NixPath.
    (#​2102).

  • Made clone unsafe, like fork.
    (#​1993)

Removed
  • sys::event::{kevent, kevent_ts} are deprecated in favor of
    sys::kevent::Kqueue::kevent, and sys::event::kqueue is deprecated in
    favor of sys::kevent::Kqueue::new.
    (#​1943)
  • Removed deprecated IoVec API.
    (#​1855)
  • Removed deprecated net APIs.
    (#​1861)
  • nix::sys::signalfd::signalfd is deprecated. Use
    nix::sys::signalfd::SignalFd instead.
    (#​1938)
  • Removed SigEvent support on Fuchsia, where it was unsound.
    (#​2079)
  • Removed flock from ::nix::fcntl on Solaris.
    (#​2082)

v0.26.4

Compare Source

v0.26.3

Compare Source

Fixed
  • Fix: send ETH_P_ALL in htons format
    (#​1925)
  • Fix: recvmsg now sets the length of the received sockaddr_un field
    correctly on Linux platforms. (#​2041)
  • Fix potentially invalid conversions in
    SockaddrIn::from<std::net::SocketAddrV4>,
    SockaddrIn6::from<std::net::SockaddrV6>, IpMembershipRequest::new, and
    Ipv6MembershipRequest::new with future Rust versions.
    (#​2061)
  • Fixed an incorrect lifetime returned from recvmsg.
    (#​2095)

v0.26.2

Compare Source

Fixed
  • Fix SockaddrIn6 bug that was swapping flowinfo and scope_id byte
    ordering.
    (#​1964)

v0.26.1

Compare Source

Fixed
  • Fix UB with sys::socket::sockopt::SockType using SOCK_PACKET.
    (#​1821)

Configuration

📅 Schedule: Branch creation - "after 8pm,before 6am" in timezone America/Los_Angeles, Automerge - "after 8pm,before 6am" in timezone America/Los_Angeles.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from zephraph September 9, 2023 04:12
@renovate renovate bot force-pushed the renovate/nix-0.x branch from a3d9af7 to 38ea17c Compare September 11, 2023 05:55
@renovate renovate bot changed the title chore(deps): update rust crate nix to 0.27 Update Rust crate nix to 0.27 Sep 24, 2023
@renovate renovate bot force-pushed the renovate/nix-0.x branch from 38ea17c to 69cb7f4 Compare September 25, 2023 11:14
@renovate renovate bot force-pushed the renovate/nix-0.x branch 2 times, most recently from 19a3c3a to 4242e36 Compare October 4, 2023 18:49
@renovate renovate bot force-pushed the renovate/nix-0.x branch from 4242e36 to c32d0aa Compare October 14, 2023 16:44
@renovate renovate bot force-pushed the renovate/nix-0.x branch from c32d0aa to 4d93b27 Compare November 7, 2023 04:46
@renovate renovate bot force-pushed the renovate/nix-0.x branch from 4d93b27 to 1a8c9c2 Compare November 15, 2023 05:20
@renovate renovate bot force-pushed the renovate/nix-0.x branch from 1a8c9c2 to dfbea44 Compare November 22, 2023 05:31
@renovate renovate bot force-pushed the renovate/nix-0.x branch from dfbea44 to 89a703a Compare December 10, 2023 18:21
Copy link
Contributor Author

renovate bot commented Dec 10, 2023

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package nix@0.26.4 --precise 0.27.1
    Updating crates.io index
error: failed to select a version for the requirement `nix = "^0.26.1"`
candidate versions found which didn't match: 0.27.1
location searched: crates.io index
required by package `clearscreen v2.0.1`
    ... which satisfies dependency `clearscreen = "^2.0.1"` (locked to 2.0.1) of package `cmon v0.1.0 (/tmp/renovate/repos/github/oxidecomputer/crucible/cmon)`
perhaps a crate was updated and forgotten to be re-vendored?

@renovate renovate bot force-pushed the renovate/nix-0.x branch from 89a703a to 36ba7da Compare December 29, 2023 17:43
@mkeeter mkeeter mentioned this pull request Jan 24, 2024
@mkeeter
Copy link
Contributor

mkeeter commented Jan 24, 2024

Closing in favor of #1110

@mkeeter mkeeter closed this Jan 24, 2024
Copy link
Contributor Author

renovate bot commented Jan 24, 2024

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (0.27). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/nix-0.x branch January 24, 2024 22:57
mkeeter added a commit that referenced this pull request Feb 6, 2024
This replaces the Renovate PR (#914) for bumping nix to 0.27.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant