Compiling rustc-std-workspace-alloc v1.99.0 (/root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc) Compiling adler2 v2.0.0 Compiling memchr v2.7.4 Compiling object v0.36.7 Compiling std v0.0.0 (/root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std) Compiling rustc-demangle v0.1.24 Compiling gimli v0.31.1 Compiling hashbrown v0.15.2 Compiling miniz_oxide v0.8.5 Compiling std_detect v0.1.5 (/root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/stdarch/crates/std_detect) Compiling addr2line v0.24.2error[E0432]: unresolved import `crate::sys::unsupported` --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/connection/unsupported.rs:4:5 |4 | use crate::sys::unsupported; | ^^^^^^^^^^^^^^^^^^^^^^^ no `unsupported` in `sys` |help: consider importing this module instead |4 | use crate::sys::net::connection::unsupported; | +++++++++++++++++error[E0432]: unresolved import `crate::sys::net::Socket` --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/net/datagram.rs:26:5 |26 | use crate::sys::net::Socket; | ^^^^^^^^^^^^^^^^^^^^^^^ no `Socket` in `sys::net`error[E0432]: unresolved import `crate::sys::net::Socket` --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/net/listener.rs:5:5 |5 | use crate::sys::net::Socket; | ^^^^^^^^^^^^^^^^^^^^^^^ no `Socket` in `sys::net`error[E0432]: unresolved import `crate::sys::net::Socket` --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/net/stream.rs:23:5 |23 | use crate::sys::net::Socket; | ^^^^^^^^^^^^^^^^^^^^^^^ no `Socket` in `sys::net`error[E0433]: failed to resolve: could not find `Socket` in `net` --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:26:44 |26 | let socket = sys::net::Socket::from_inner(FromInner::from_inner(OwnedFd::from_raw_fd(fd))); | ^^^^^^ could not find `Socket` in `net`...33 | impl_from_raw_fd! { TcpStream TcpListener UdpSocket } | ----------------------------------------------------- in this macro invocation | = note: this error originates in the macro `impl_from_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)error[E0531]: cannot find unit struct, unit variant or constant `EINPROGRESS` in crate `libc` --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/pal/unix/mod.rs:276:15 |276 | libc::EINPROGRESS => InProgress, | ^^^^^^^^^^^ not found in `libc`error[E0599]: no method named `socket` found for reference `&unsupported::TcpStream` in the current scope --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:325:25 |325 | self.as_inner().socket().as_fd() | ^^^^^^ |help: there is a method `socket_addr` with a similar name |325 | self.as_inner().socket_addr().as_fd() | +++++error[E0599]: no method named `into_socket` found for struct `unsupported::TcpStream` in the current scope --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:335:33 |335 | tcp_stream.into_inner().into_socket().into_inner().into_inner().into() | ^^^^^^^^^^^ method not found in `TcpStream` | ::: /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/connection/unsupported.rs:7:1 |7 | pub struct TcpStream(!); | -------------------- method `into_socket` not found for this structerror[E0277]: the trait bound `unsupported::TcpStream: FromInner<_>` is not satisfied --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:344:48 |344 | Self::from_inner(FromInner::from_inner(FromInner::from_inner(FromInner::from_inner( | __________________________---------------------_^ | | | | | required by a bound introduced by this call345 | | owned_fd,346 | | )))) | |__________^ the trait `FromInner<_>` is not implemented for `unsupported::TcpStream` | = help: the following other types implement trait `FromInner<Inner>`: `Child` implements `FromInner<(Process, sys::process::unix::common::StdioPipes)>` `ChildStderr` implements `FromInner<sys::pal::unix::pipe::AnonPipe>` `ChildStdin` implements `FromInner<sys::pal::unix::pipe::AnonPipe>` `ChildStdout` implements `FromInner<sys::pal::unix::pipe::AnonPipe>` `FileDesc` implements `FromInner<owned::OwnedFd>` `FilePermissions` implements `FromInner<u32>` `OsString` implements `FromInner<bytes::Buf>` `Permissions` implements `FromInner<FilePermissions>` and 14 otherserror[E0599]: no method named `socket` found for reference `&unsupported::TcpListener` in the current scope --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:355:25 |355 | self.as_inner().socket().as_fd() | ^^^^^^ |help: there is a method `socket_addr` with a similar name |355 | self.as_inner().socket_addr().as_fd() | +++++error[E0599]: no method named `into_socket` found for struct `unsupported::TcpListener` in the current scope --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:365:35 |365 | tcp_listener.into_inner().into_socket().into_inner().into_inner().into() | ^^^^^^^^^^^ method not found in `TcpListener` | ::: /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/connection/unsupported.rs:121:1 |121 | pub struct TcpListener(!); | ---------------------- method `into_socket` not found for this structerror[E0277]: the trait bound `unsupported::TcpListener: FromInner<_>` is not satisfied --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:374:48 |374 | Self::from_inner(FromInner::from_inner(FromInner::from_inner(FromInner::from_inner( | __________________________---------------------_^ | | | | | required by a bound introduced by this call375 | | owned_fd,376 | | )))) | |__________^ the trait `FromInner<_>` is not implemented for `unsupported::TcpListener` | = help: the following other types implement trait `FromInner<Inner>`: `Child` implements `FromInner<(Process, sys::process::unix::common::StdioPipes)>` `ChildStderr` implements `FromInner<sys::pal::unix::pipe::AnonPipe>` `ChildStdin` implements `FromInner<sys::pal::unix::pipe::AnonPipe>` `ChildStdout` implements `FromInner<sys::pal::unix::pipe::AnonPipe>` `FileDesc` implements `FromInner<owned::OwnedFd>` `FilePermissions` implements `FromInner<u32>` `OsString` implements `FromInner<bytes::Buf>` `Permissions` implements `FromInner<FilePermissions>` and 14 otherserror[E0599]: no method named `socket` found for reference `&unsupported::UdpSocket` in the current scope --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:385:25 |385 | self.as_inner().socket().as_fd() | ^^^^^^ |help: there is a method `socket_addr` with a similar name |385 | self.as_inner().socket_addr().as_fd() | +++++error[E0599]: no method named `into_socket` found for struct `unsupported::UdpSocket` in the current scope --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:395:33 |395 | udp_socket.into_inner().into_socket().into_inner().into_inner().into() | ^^^^^^^^^^^ method not found in `UdpSocket` | ::: /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/connection/unsupported.rs:171:1 |171 | pub struct UdpSocket(!); | -------------------- method `into_socket` not found for this structerror[E0277]: the trait bound `unsupported::UdpSocket: FromInner<_>` is not satisfied --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:404:48 |404 | Self::from_inner(FromInner::from_inner(FromInner::from_inner(FromInner::from_inner( | __________________________---------------------_^ | | | | | required by a bound introduced by this call405 | | owned_fd,406 | | )))) | |__________^ the trait `FromInner<_>` is not implemented for `unsupported::UdpSocket` | = help: the following other types implement trait `FromInner<Inner>`: `Child` implements `FromInner<(Process, sys::process::unix::common::StdioPipes)>` `ChildStderr` implements `FromInner<sys::pal::unix::pipe::AnonPipe>` `ChildStdin` implements `FromInner<sys::pal::unix::pipe::AnonPipe>` `ChildStdout` implements `FromInner<sys::pal::unix::pipe::AnonPipe>` `FileDesc` implements `FromInner<owned::OwnedFd>` `FilePermissions` implements `FromInner<u32>` `OsString` implements `FromInner<bytes::Buf>` `Permissions` implements `FromInner<FilePermissions>` and 14 otherserror[E0599]: no method named `socket` found for reference `&unsupported::TcpStream` in the current scope --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:12:33 |12 | self.as_inner().socket().as_raw_fd() | ^^^^^^...17 | impl_as_raw_fd! { TcpStream TcpListener UdpSocket } | --------------------------------------------------- in this macro invocation | = note: this error originates in the macro `impl_as_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)help: there is a method `socket_addr` with a similar name |12 | self.as_inner().socket_addr().as_raw_fd() | +++++error[E0599]: no method named `socket` found for reference `&unsupported::TcpListener` in the current scope --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:12:33 |12 | self.as_inner().socket().as_raw_fd() | ^^^^^^...17 | impl_as_raw_fd! { TcpStream TcpListener UdpSocket } | --------------------------------------------------- in this macro invocation | = note: this error originates in the macro `impl_as_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)help: there is a method `socket_addr` with a similar name |12 | self.as_inner().socket_addr().as_raw_fd() | +++++error[E0599]: no method named `socket` found for reference `&unsupported::UdpSocket` in the current scope --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:12:33 |12 | self.as_inner().socket().as_raw_fd() | ^^^^^^...17 | impl_as_raw_fd! { TcpStream TcpListener UdpSocket } | --------------------------------------------------- in this macro invocation | = note: this error originates in the macro `impl_as_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)help: there is a method `socket_addr` with a similar name |12 | self.as_inner().socket_addr().as_raw_fd() | +++++error[E0599]: no function or associated item named `from_inner` found for struct `unsupported::TcpStream` in the current scope --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:27:55 |27 | net::$t::from_inner(sys::net::$t::from_inner(socket)) | ^^^^^^^^^^ function or associated item not found in `TcpStream`...33 | impl_from_raw_fd! { TcpStream TcpListener UdpSocket } | ----------------------------------------------------- in this macro invocation | ::: /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/connection/unsupported.rs:7:1 |7 | pub struct TcpStream(!); | -------------------- function or associated item `from_inner` not found for this struct |note: if you're trying to build a new `unsupported::TcpStream` consider using one of the following associated functions: unsupported::TcpStream::connect unsupported::TcpStream::connect_timeout --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/connection/unsupported.rs:10:5 |10 | pub fn connect(_: io::Result<&SocketAddr>) -> io::Result<TcpStream> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...14 | pub fn connect_timeout(_: &SocketAddr, _: Duration) -> io::Result<TcpStream> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: items from traits can only be used if the trait is implemented and in scopenote: `FromInner` defines an item `from_inner`, perhaps you need to implement it --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/mod.rs:51:1 |51 | pub trait FromInner<Inner> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the macro `impl_from_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)error[E0599]: no function or associated item named `from_inner` found for struct `unsupported::TcpListener` in the current scope --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:27:55 |27 | net::$t::from_inner(sys::net::$t::from_inner(socket)) | ^^^^^^^^^^ function or associated item not found in `TcpListener`...33 | impl_from_raw_fd! { TcpStream TcpListener UdpSocket } | ----------------------------------------------------- in this macro invocation | ::: /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/connection/unsupported.rs:121:1 |121 | pub struct TcpListener(!); | ---------------------- function or associated item `from_inner` not found for this struct |note: if you're trying to build a new `unsupported::TcpListener`, consider using `unsupported::TcpListener::bind` which returns `core::result::Result<unsupported::TcpListener, io::error::Error>` --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/connection/unsupported.rs:124:5 |124 | pub fn bind(_: io::Result<&SocketAddr>) -> io::Result<TcpListener> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: items from traits can only be used if the trait is implemented and in scopenote: `FromInner` defines an item `from_inner`, perhaps you need to implement it --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/mod.rs:51:1 |51 | pub trait FromInner<Inner> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the macro `impl_from_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)error[E0599]: no function or associated item named `from_inner` found for struct `unsupported::UdpSocket` in the current scope --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:27:55 |27 | net::$t::from_inner(sys::net::$t::from_inner(socket)) | ^^^^^^^^^^ function or associated item not found in `UdpSocket`...33 | impl_from_raw_fd! { TcpStream TcpListener UdpSocket } | ----------------------------------------------------- in this macro invocation | ::: /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/connection/unsupported.rs:171:1 |171 | pub struct UdpSocket(!); | -------------------- function or associated item `from_inner` not found for this struct |note: if you're trying to build a new `unsupported::UdpSocket`, consider using `unsupported::UdpSocket::bind` which returns `core::result::Result<unsupported::UdpSocket, io::error::Error>` --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/connection/unsupported.rs:174:5 |174 | pub fn bind(_: io::Result<&SocketAddr>) -> io::Result<UdpSocket> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: items from traits can only be used if the trait is implemented and in scopenote: `FromInner` defines an item `from_inner`, perhaps you need to implement it --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys_common/mod.rs:51:1 |51 | pub trait FromInner<Inner> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the macro `impl_from_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)error[E0599]: no method named `into_socket` found for struct `unsupported::TcpStream` in the current scope --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:41:35 |41 | self.into_inner().into_socket().into_inner().into_inner().into_raw_fd() | ^^^^^^^^^^^ method not found in `TcpStream`...46 | impl_into_raw_fd! { TcpStream TcpListener UdpSocket } | ----------------------------------------------------- in this macro invocation | ::: /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/connection/unsupported.rs:7:1 |7 | pub struct TcpStream(!); | -------------------- method `into_socket` not found for this struct | = note: this error originates in the macro `impl_into_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)error[E0599]: no method named `into_socket` found for struct `unsupported::TcpListener` in the current scope --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:41:35 |41 | self.into_inner().into_socket().into_inner().into_inner().into_raw_fd() | ^^^^^^^^^^^ method not found in `TcpListener`...46 | impl_into_raw_fd! { TcpStream TcpListener UdpSocket } | ----------------------------------------------------- in this macro invocation | ::: /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/connection/unsupported.rs:121:1 |121 | pub struct TcpListener(!); | ---------------------- method `into_socket` not found for this struct | = note: this error originates in the macro `impl_into_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)error[E0599]: no method named `into_socket` found for struct `unsupported::UdpSocket` in the current scope --> /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:41:35 |41 | self.into_inner().into_socket().into_inner().into_inner().into_raw_fd() | ^^^^^^^^^^^ method not found in `UdpSocket`...46 | impl_into_raw_fd! { TcpStream TcpListener UdpSocket } | ----------------------------------------------------- in this macro invocation | ::: /root/.rustup/toolchains/nightly-2025-04-03-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/net/connection/unsupported.rs:171:1 |171 | pub struct UdpSocket(!); | -------------------- method `into_socket` not found for this struct | = note: this error originates in the macro `impl_into_raw_fd` (in Nightly builds, run with -Z macro-backtrace for more info)Some errors have detailed explanations: E0277, E0432, E0433, E0531, E0599.For more information about an error, try `rustc --explain E0277`.error: could not compile `std` (lib) due to 24 previous errors