Skip to content

Conversation

poscat0x04
Copy link

No description provided.

@rustbot rustbot added O-unix Operating system: Unix-like S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Oct 3, 2025
@rust-log-analyzer

This comment has been minimized.

@poscat0x04 poscat0x04 force-pushed the generic-send-recv-msg branch 2 times, most recently from e4feb36 to 7511241 Compare October 3, 2025 05:31
@rust-log-analyzer

This comment has been minimized.

@poscat0x04 poscat0x04 force-pushed the generic-send-recv-msg branch from 7511241 to 4a0a9d8 Compare October 3, 2025 06:55
@poscat0x04 poscat0x04 force-pushed the generic-send-recv-msg branch from 4a0a9d8 to dd3ed58 Compare October 3, 2025 06:57
@rust-log-analyzer
Copy link
Collaborator

The job aarch64-gnu-llvm-20-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)

error: union `CmsgIter` is never used
  --> library/std/src/sys/net/connection/socket/unix.rs:71:11
   |
71 | pub union CmsgIter<'buf> {
   |           ^^^^^^^^

error: struct `CmsgIterInner` is never constructed
  --> library/std/src/sys/net/connection/socket/unix.rs:78:8
   |
78 | struct CmsgIterInner<'buf> {
   |        ^^^^^^^^^^^^^

error: struct `CmsgBuf` is never constructed
  --> library/std/src/sys/net/connection/socket/unix.rs:86:12
   |
86 | pub struct CmsgBuf<'buf>(&'buf mut [u8]);
   |            ^^^^^^^

error: associated functions `new` and `new_unchecked` are never used
  --> library/std/src/sys/net/connection/socket/unix.rs:90:12
   |
88 | impl<'buf> CmsgBuf<'buf> {
   | ------------------------ associated functions in this implementation
89 |     // fails if buf isn't aligned to alignof(cmsghdr)
90 |     pub fn new(buf: &'buf mut [u8]) -> io::Result<Self> {
   |            ^^^
...
98 |     pub unsafe fn new_unchecked(buf: &'buf mut [u8]) -> Self {
   |                   ^^^^^^^^^^^^^

error: methods `recv_msg` and `send_msg` are never used
   --> library/std/src/sys/net/connection/socket/unix.rs:433:12
    |
128 | impl Socket {
    | ----------- methods in this implementation
...
433 |     pub fn recv_msg<'a, 'b, T>(
    |            ^^^^^^^^
...
496 |     pub fn send_msg<T>(
    |            ^^^^^^^^

// used in recvmsg to parse the received addr
unsafe fn from_storage(storage: &c::sockaddr_storage, len: c::socklen_t) -> io::Result<Self>;

// used in sendmsg to write to a suckaddr_storage buffer
Copy link
Member

Choose a reason for hiding this comment

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

typo in suckaddr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-unix Operating system: Unix-like S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-libs Relevant to the library team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants