Build date: 2025-07-09T21:30:44.963Z
Build duration: 35.866s
Builder does-it-build commit: 87ff3d03
Compiling compiler_builtins v0.1.100 Compiling core v0.0.0 (/root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core) Compiling rustc-std-workspace-core v1.99.0 (/root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc) Compiling rustc-std-workspace-alloc v1.99.0 (/root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc) Compiling libc v0.2.147 Compiling cfg-if v1.0.0 Compiling cc v1.0.79 Compiling unwind v0.0.0 (/root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/unwind) Compiling memchr v2.5.0 Compiling gimli v0.28.0 Compiling adler v1.0.2 Compiling std v0.0.0 (/root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std) Compiling miniz_oxide v0.7.1 Compiling addr2line v0.21.0 Compiling object v0.32.0 Compiling panic_unwind v0.0.0 (/root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_unwind) Compiling panic_abort v0.0.0 (/root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_abort) Compiling std_detect v0.1.5 (/root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/stdarch/crates/std_detect) Compiling hashbrown v0.14.0 Compiling rustc-demangle v0.1.23 error[E0432]: unresolved import `super::platform::fs` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:7:22 | 7 | use super::platform::fs::MetadataExt as _; | ^^ could not find `fs` in `platform` error[E0432]: unresolved import `super::platform::raw` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/raw.rs:27:26 | 27 | pub use super::platform::raw::pthread_t; | ^^^ could not find `raw` in `platform` error[E0432]: unresolved import `super::platform::raw` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/raw.rs:30:26 | 30 | pub use super::platform::raw::{blkcnt_t, time_t}; | ^^^ could not find `raw` in `platform` error[E0432]: unresolved import `super::platform::raw` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/raw.rs:33:26 | 33 | pub use super::platform::raw::{blksize_t, dev_t, ino_t, mode_t, nlink_t, off_t}; | ^^^ could not find `raw` in `platform` error[E0432]: unresolved import `crate::sys::env::os` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/env.rs:884:9 | 884 | use crate::sys::env::os; | ^^^^^^^^^^^^^^^^^^^ no `os` in `sys::unix::env` | note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:2:9 | 2 | pub mod os { | ^^ = note: the item is gated behind the `linux` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:13:9 | 13 | pub mod os { | ^^ = note: the item is gated behind the `macos` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:24:9 | 24 | pub mod os { | ^^ = note: the item is gated behind the `ios` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:35:9 | 35 | pub mod os { | ^^ = note: the item is gated behind the `tvos` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:46:9 | 46 | pub mod os { | ^^ = note: the item is gated behind the `watchos` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:57:9 | 57 | pub mod os { | ^^ = note: the item is gated behind the `freebsd` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:68:9 | 68 | pub mod os { | ^^ = note: the item is gated behind the `dragonfly` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:79:9 | 79 | pub mod os { | ^^ = note: the item is gated behind the `netbsd` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:90:9 | 90 | pub mod os { | ^^ = note: the item is gated behind the `openbsd` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:101:9 | 101 | pub mod os { | ^^ = note: the item is gated behind the `android` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:112:9 | 112 | pub mod os { | ^^ = note: the item is gated behind the `solaris` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:123:9 | 123 | pub mod os { | ^^ = note: the item is gated behind the `illumos` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:134:9 | 134 | pub mod os { | ^^ = note: the item is gated behind the `haiku` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:145:9 | 145 | pub mod os { | ^^ = note: the item is gated behind the `horizon` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:156:9 | 156 | pub mod os { | ^^ = note: the item is gated behind the `vita` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:167:9 | 167 | pub mod os { | ^^ note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:178:9 | 178 | pub mod os { | ^^ note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:189:9 | 189 | pub mod os { | ^^ = note: the item is gated behind the `fuchsia` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:200:9 | 200 | pub mod os { | ^^ = note: the item is gated behind the `l4re` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:211:9 | 211 | pub mod os { | ^^ = note: the item is gated behind the `nto` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:222:9 | 222 | pub mod os { | ^^ = note: the item is gated behind the `redox` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:233:9 | 233 | pub mod os { | ^^ = note: the item is gated behind the `vxworks` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/env.rs:244:9 | 244 | pub mod os { | ^^ = note: the item is gated behind the `espidf` feature help: consider importing one of these items instead | 884 | use crate::os; | ~~~~~~~~~ 884 | use crate::sys::os; | ~~~~~~~~~~~~~~ error[E0432]: unresolved import `crate::sys_common::net::LookupHost` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/socket_addr.rs:12:5 | 12 | use crate::sys_common::net::LookupHost; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `LookupHost` in `sys::unix::net` error[E0432]: unresolved import `crate::sys::thread_local_dtor::register_dtor` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/common/thread_local/fast_local.rs:3:5 | 3 | use crate::sys::thread_local_dtor::register_dtor; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `register_dtor` in `sys::unix::thread_local_dtor` | note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/thread_local_dtor.rs:15:15 | 15 | pub unsafe fn register_dtor(t: *mut u8, dtor: unsafe extern "C" fn(*mut u8)) { | ^^^^^^^^^^^^^ note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/thread_local_dtor.rs:52:15 | 52 | pub unsafe fn register_dtor(t: *mut u8, dtor: unsafe extern "C" fn(*mut u8)) { | ^^^^^^^^^^^^^ = note: the item is gated behind the `macos` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/thread_local_dtor.rs:88:15 | 88 | pub unsafe fn register_dtor(t: *mut u8, dtor: unsafe extern "C" fn(*mut u8)) { | ^^^^^^^^^^^^^ error[E0432]: unresolved imports `crate::sys_common::net::getsockopt`, `crate::sys_common::net::setsockopt`, `crate::sys_common::net::sockaddr_to_addr` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/net.rs:9:30 | 9 | use crate::sys_common::net::{getsockopt, setsockopt, sockaddr_to_addr}; | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^^ no `sockaddr_to_addr` in `sys::unix::net` | | | | | no `setsockopt` in `sys::unix::net` | no `getsockopt` in `sys::unix::net` error[E0425]: cannot find function `current_exe` in module `os_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/env.rs:688:13 | 688 | os_imp::current_exe() | ^^^^^^^^^^^ not found in `os_imp` | note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/os.rs:254:8 | 254 | pub fn current_exe() -> io::Result<PathBuf> { | ^^^^^^^^^^^ note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/os.rs:292:8 | 292 | pub fn current_exe() -> io::Result<PathBuf> { | ^^^^^^^^^^^ = note: the item is gated behind the `netbsd` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/os.rs:338:8 | 338 | pub fn current_exe() -> io::Result<PathBuf> { | ^^^^^^^^^^^ = note: the item is gated behind the `openbsd` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/os.rs:363:8 | 363 | pub fn current_exe() -> io::Result<PathBuf> { | ^^^^^^^^^^^ note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/os.rs:374:8 | 374 | pub fn current_exe() -> io::Result<PathBuf> { | ^^^^^^^^^^^ = note: the item is gated behind the `nto` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/os.rs:385:8 | 385 | pub fn current_exe() -> io::Result<PathBuf> { | ^^^^^^^^^^^ note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/os.rs:403:8 | 403 | pub fn current_exe() -> io::Result<PathBuf> { | ^^^^^^^^^^^ note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/os.rs:424:8 | 424 | pub fn current_exe() -> io::Result<PathBuf> { | ^^^^^^^^^^^ = note: the item is gated behind the `haiku` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/os.rs:446:8 | 446 | pub fn current_exe() -> io::Result<PathBuf> { | ^^^^^^^^^^^ = note: the item is gated behind the `redox` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/os.rs:451:8 | 451 | pub fn current_exe() -> io::Result<PathBuf> { | ^^^^^^^^^^^ = note: the item is gated behind the `l4re` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/os.rs:457:8 | 457 | pub fn current_exe() -> io::Result<PathBuf> { | ^^^^^^^^^^^ = note: the item is gated behind the `vxworks` feature note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/os.rs:470:8 | 470 | pub fn current_exe() -> io::Result<PathBuf> { | ^^^^^^^^^^^ note: found an item that was configured out --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/os.rs:475:8 | 475 | pub fn current_exe() -> io::Result<PathBuf> { | ^^^^^^^^^^^ = note: the item is gated behind the `fuchsia` feature error[E0412]: cannot find type `TcpStream` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:50:31 | 50 | pub struct TcpStream(net_imp::TcpStream); | ^^^^^^^^^ not found in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpStream; | help: if you import `TcpStream`, refer to it directly | 50 - pub struct TcpStream(net_imp::TcpStream); 50 + pub struct TcpStream(TcpStream); | error[E0412]: cannot find type `TcpListener` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:86:33 | 86 | pub struct TcpListener(net_imp::TcpListener); | ^^^^^^^^^^^ not found in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpListener; | help: if you import `TcpListener`, refer to it directly | 86 - pub struct TcpListener(net_imp::TcpListener); 86 + pub struct TcpListener(TcpListener); | error[E0433]: failed to resolve: could not find `TcpStream` in `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:157:41 | 157 | super::each_addr(addr, net_imp::TcpStream::connect).map(TcpStream) | ^^^^^^^^^ could not find `TcpStream` in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpStream; | help: if you import `TcpStream`, refer to it directly | 157 - super::each_addr(addr, net_imp::TcpStream::connect).map(TcpStream) 157 + super::each_addr(addr, TcpStream::connect).map(TcpStream) | error[E0433]: failed to resolve: could not find `TcpStream` in `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:173:18 | 173 | net_imp::TcpStream::connect_timeout(addr, timeout).map(TcpStream) | ^^^^^^^^^ could not find `TcpStream` in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpStream; | help: if you import `TcpStream`, refer to it directly | 173 - net_imp::TcpStream::connect_timeout(addr, timeout).map(TcpStream) 173 + TcpStream::connect_timeout(addr, timeout).map(TcpStream) | error[E0412]: cannot find type `TcpStream` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:695:23 | 695 | impl AsInner<net_imp::TcpStream> for TcpStream { | ^^^^^^^^^ not found in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpStream; | help: if you import `TcpStream`, refer to it directly | 695 - impl AsInner<net_imp::TcpStream> for TcpStream { 695 + impl AsInner<TcpStream> for TcpStream { | error[E0412]: cannot find type `TcpStream` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:697:37 | 697 | fn as_inner(&self) -> &net_imp::TcpStream { | ^^^^^^^^^ not found in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpStream; | help: if you import `TcpStream`, refer to it directly | 697 - fn as_inner(&self) -> &net_imp::TcpStream { 697 + fn as_inner(&self) -> &TcpStream { | error[E0412]: cannot find type `TcpStream` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:702:25 | 702 | impl FromInner<net_imp::TcpStream> for TcpStream { | ^^^^^^^^^ not found in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpStream; | help: if you import `TcpStream`, refer to it directly | 702 - impl FromInner<net_imp::TcpStream> for TcpStream { 702 + impl FromInner<TcpStream> for TcpStream { | error[E0412]: cannot find type `TcpStream` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:703:35 | 703 | fn from_inner(inner: net_imp::TcpStream) -> TcpStream { | ^^^^^^^^^ not found in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpStream; | help: if you import `TcpStream`, refer to it directly | 703 - fn from_inner(inner: net_imp::TcpStream) -> TcpStream { 703 + fn from_inner(inner: TcpStream) -> TcpStream { | error[E0412]: cannot find type `TcpStream` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:708:25 | 708 | impl IntoInner<net_imp::TcpStream> for TcpStream { | ^^^^^^^^^ not found in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpStream; | help: if you import `TcpStream`, refer to it directly | 708 - impl IntoInner<net_imp::TcpStream> for TcpStream { 708 + impl IntoInner<TcpStream> for TcpStream { | error[E0412]: cannot find type `TcpStream` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:709:37 | 709 | fn into_inner(self) -> net_imp::TcpStream { | ^^^^^^^^^ not found in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpStream; | help: if you import `TcpStream`, refer to it directly | 709 - fn into_inner(self) -> net_imp::TcpStream { 709 + fn into_inner(self) -> TcpStream { | error[E0433]: failed to resolve: could not find `TcpListener` in `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:772:41 | 772 | super::each_addr(addr, net_imp::TcpListener::bind).map(TcpListener) | ^^^^^^^^^^^ could not find `TcpListener` in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpListener; | help: if you import `TcpListener`, refer to it directly | 772 - super::each_addr(addr, net_imp::TcpListener::bind).map(TcpListener) 772 + super::each_addr(addr, TcpListener::bind).map(TcpListener) | error[E0412]: cannot find type `TcpListener` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:1047:23 | 1047 | impl AsInner<net_imp::TcpListener> for TcpListener { | ^^^^^^^^^^^ not found in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpListener; | help: if you import `TcpListener`, refer to it directly | 1047 - impl AsInner<net_imp::TcpListener> for TcpListener { 1047 + impl AsInner<TcpListener> for TcpListener { | error[E0412]: cannot find type `TcpListener` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:1049:37 | 1049 | fn as_inner(&self) -> &net_imp::TcpListener { | ^^^^^^^^^^^ not found in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpListener; | help: if you import `TcpListener`, refer to it directly | 1049 - fn as_inner(&self) -> &net_imp::TcpListener { 1049 + fn as_inner(&self) -> &TcpListener { | error[E0412]: cannot find type `TcpListener` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:1054:25 | 1054 | impl FromInner<net_imp::TcpListener> for TcpListener { | ^^^^^^^^^^^ not found in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpListener; | help: if you import `TcpListener`, refer to it directly | 1054 - impl FromInner<net_imp::TcpListener> for TcpListener { 1054 + impl FromInner<TcpListener> for TcpListener { | error[E0412]: cannot find type `TcpListener` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:1055:35 | 1055 | fn from_inner(inner: net_imp::TcpListener) -> TcpListener { | ^^^^^^^^^^^ not found in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpListener; | help: if you import `TcpListener`, refer to it directly | 1055 - fn from_inner(inner: net_imp::TcpListener) -> TcpListener { 1055 + fn from_inner(inner: TcpListener) -> TcpListener { | error[E0412]: cannot find type `TcpListener` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:1060:25 | 1060 | impl IntoInner<net_imp::TcpListener> for TcpListener { | ^^^^^^^^^^^ not found in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpListener; | help: if you import `TcpListener`, refer to it directly | 1060 - impl IntoInner<net_imp::TcpListener> for TcpListener { 1060 + impl IntoInner<TcpListener> for TcpListener { | error[E0412]: cannot find type `TcpListener` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:1061:37 | 1061 | fn into_inner(self) -> net_imp::TcpListener { | ^^^^^^^^^^^ not found in `net_imp` | help: consider importing this struct through its public re-export | 6 + use crate::net::TcpListener; | help: if you import `TcpListener`, refer to it directly | 1061 - fn into_inner(self) -> net_imp::TcpListener { 1061 + fn into_inner(self) -> TcpListener { | error[E0412]: cannot find type `UdpSocket` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/udp.rs:58:31 | 58 | pub struct UdpSocket(net_imp::UdpSocket); | ^^^^^^^^^ | ::: /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/net.rs:30:1 | 30 | pub struct Socket(FileDesc); | ---------------------------- similarly named struct `Socket` defined here | help: a struct with a similar name exists | 58 | pub struct UdpSocket(net_imp::Socket); | ~~~~~~ help: consider importing this struct through its public re-export | 4 + use crate::net::UdpSocket; | help: if you import `UdpSocket`, refer to it directly | 58 - pub struct UdpSocket(net_imp::UdpSocket); 58 + pub struct UdpSocket(UdpSocket); | error[E0433]: failed to resolve: could not find `UdpSocket` in `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/udp.rs:104:41 | 104 | super::each_addr(addr, net_imp::UdpSocket::bind).map(UdpSocket) | ^^^^^^^^^ could not find `UdpSocket` in `net_imp` | help: a struct with a similar name exists | 104 | super::each_addr(addr, net_imp::Socket::bind).map(UdpSocket) | ~~~~~~ help: consider importing this struct through its public re-export | 4 + use crate::net::UdpSocket; | help: if you import `UdpSocket`, refer to it directly | 104 - super::each_addr(addr, net_imp::UdpSocket::bind).map(UdpSocket) 104 + super::each_addr(addr, UdpSocket::bind).map(UdpSocket) | error[E0412]: cannot find type `UdpSocket` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/udp.rs:799:23 | 799 | impl AsInner<net_imp::UdpSocket> for UdpSocket { | ^^^^^^^^^ | ::: /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/net.rs:30:1 | 30 | pub struct Socket(FileDesc); | ---------------------------- similarly named struct `Socket` defined here | help: a struct with a similar name exists | 799 | impl AsInner<net_imp::Socket> for UdpSocket { | ~~~~~~ help: consider importing this struct through its public re-export | 4 + use crate::net::UdpSocket; | help: if you import `UdpSocket`, refer to it directly | 799 - impl AsInner<net_imp::UdpSocket> for UdpSocket { 799 + impl AsInner<UdpSocket> for UdpSocket { | error[E0412]: cannot find type `UdpSocket` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/udp.rs:801:37 | 801 | fn as_inner(&self) -> &net_imp::UdpSocket { | ^^^^^^^^^ | ::: /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/net.rs:30:1 | 30 | pub struct Socket(FileDesc); | ---------------------------- similarly named struct `Socket` defined here | help: a struct with a similar name exists | 801 | fn as_inner(&self) -> &net_imp::Socket { | ~~~~~~ help: consider importing this struct through its public re-export | 4 + use crate::net::UdpSocket; | help: if you import `UdpSocket`, refer to it directly | 801 - fn as_inner(&self) -> &net_imp::UdpSocket { 801 + fn as_inner(&self) -> &UdpSocket { | error[E0412]: cannot find type `UdpSocket` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/udp.rs:806:25 | 806 | impl FromInner<net_imp::UdpSocket> for UdpSocket { | ^^^^^^^^^ | ::: /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/net.rs:30:1 | 30 | pub struct Socket(FileDesc); | ---------------------------- similarly named struct `Socket` defined here | help: a struct with a similar name exists | 806 | impl FromInner<net_imp::Socket> for UdpSocket { | ~~~~~~ help: consider importing this struct through its public re-export | 4 + use crate::net::UdpSocket; | help: if you import `UdpSocket`, refer to it directly | 806 - impl FromInner<net_imp::UdpSocket> for UdpSocket { 806 + impl FromInner<UdpSocket> for UdpSocket { | error[E0412]: cannot find type `UdpSocket` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/udp.rs:807:35 | 807 | fn from_inner(inner: net_imp::UdpSocket) -> UdpSocket { | ^^^^^^^^^ | ::: /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/net.rs:30:1 | 30 | pub struct Socket(FileDesc); | ---------------------------- similarly named struct `Socket` defined here | help: a struct with a similar name exists | 807 | fn from_inner(inner: net_imp::Socket) -> UdpSocket { | ~~~~~~ help: consider importing this struct through its public re-export | 4 + use crate::net::UdpSocket; | help: if you import `UdpSocket`, refer to it directly | 807 - fn from_inner(inner: net_imp::UdpSocket) -> UdpSocket { 807 + fn from_inner(inner: UdpSocket) -> UdpSocket { | error[E0412]: cannot find type `UdpSocket` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/udp.rs:812:25 | 812 | impl IntoInner<net_imp::UdpSocket> for UdpSocket { | ^^^^^^^^^ | ::: /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/net.rs:30:1 | 30 | pub struct Socket(FileDesc); | ---------------------------- similarly named struct `Socket` defined here | help: a struct with a similar name exists | 812 | impl IntoInner<net_imp::Socket> for UdpSocket { | ~~~~~~ help: consider importing this struct through its public re-export | 4 + use crate::net::UdpSocket; | help: if you import `UdpSocket`, refer to it directly | 812 - impl IntoInner<net_imp::UdpSocket> for UdpSocket { 812 + impl IntoInner<UdpSocket> for UdpSocket { | error[E0412]: cannot find type `UdpSocket` in module `net_imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/udp.rs:813:37 | 813 | fn into_inner(self) -> net_imp::UdpSocket { | ^^^^^^^^^ | ::: /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/net.rs:30:1 | 30 | pub struct Socket(FileDesc); | ---------------------------- similarly named struct `Socket` defined here | help: a struct with a similar name exists | 813 | fn into_inner(self) -> net_imp::Socket { | ~~~~~~ help: consider importing this struct through its public re-export | 4 + use crate::net::UdpSocket; | help: if you import `UdpSocket`, refer to it directly | 813 - fn into_inner(self) -> net_imp::UdpSocket { 813 + fn into_inner(self) -> UdpSocket { | error[E0433]: failed to resolve: could not find `TcpStream` in `net` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:33:21 | 33 | impl_from_raw_fd! { TcpStream TcpListener UdpSocket } | ^^^^^^^^^ could not find `TcpStream` in `net` | help: consider importing this struct through its public re-export | 1 + use crate::net::TcpStream; | error[E0433]: failed to resolve: could not find `TcpListener` in `net` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:33:31 | 33 | impl_from_raw_fd! { TcpStream TcpListener UdpSocket } | ^^^^^^^^^^^ could not find `TcpListener` in `net` | help: consider importing this struct through its public re-export | 1 + use crate::net::TcpListener; | error[E0433]: failed to resolve: could not find `UdpSocket` in `net` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:33:43 | 33 | impl_from_raw_fd! { TcpStream TcpListener UdpSocket } | ^^^^^^^^^ could not find `UdpSocket` in `net` | help: a struct with a similar name exists | 33 | impl_from_raw_fd! { TcpStream TcpListener Socket } | ~~~~~~ help: consider importing this struct through its public re-export | 1 + use crate::net::UdpSocket; | error[E0433]: failed to resolve: use of undeclared crate or module `imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/args.rs:14:5 | 14 | imp::init(argc, argv) | ^^^ use of undeclared crate or module `imp` | note: module `crate::sys::stack_overflow::imp` exists but is inaccessible --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/stack_overflow.rs:201:1 | 201 | mod imp { | ^^^^^^^ not accessible error[E0599]: no function or associated item named `set_name` found for struct `sys::unix::thread::Thread` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/thread/mod.rs:517:30 | 517 | imp::Thread::set_name(name); | ^^^^^^^^ function or associated item not found in `Thread` | ::: /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/thread.rs:40:1 | 40 | pub struct Thread { | ----------------- function or associated item `set_name` not found for this struct error[E0599]: no method named `st_dev` found for reference `&fs::Metadata` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:725:14 | 725 | self.st_dev() | ^^^^^^ method not found in `&Metadata` error[E0599]: no method named `st_ino` found for reference `&fs::Metadata` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:728:14 | 728 | self.st_ino() | ^^^^^^ method not found in `&Metadata` error[E0599]: no method named `st_mode` found for reference `&fs::Metadata` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:731:14 | 731 | self.st_mode() | ^^^^^^^ method not found in `&Metadata` error[E0599]: no method named `st_nlink` found for reference `&fs::Metadata` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:734:14 | 734 | self.st_nlink() | ^^^^^^^^ method not found in `&Metadata` error[E0599]: no method named `st_uid` found for reference `&fs::Metadata` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:737:14 | 737 | self.st_uid() | ^^^^^^ method not found in `&Metadata` error[E0599]: no method named `st_gid` found for reference `&fs::Metadata` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:740:14 | 740 | self.st_gid() | ^^^^^^ method not found in `&Metadata` error[E0599]: no method named `st_rdev` found for reference `&fs::Metadata` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:743:14 | 743 | self.st_rdev() | ^^^^^^^ method not found in `&Metadata` error[E0599]: no method named `st_size` found for reference `&fs::Metadata` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:746:14 | 746 | self.st_size() | ^^^^^^^ method not found in `&Metadata` error[E0599]: no method named `st_atime` found for reference `&fs::Metadata` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:749:14 | 749 | self.st_atime() | ^^^^^^^^ method not found in `&Metadata` error[E0599]: no method named `st_atime_nsec` found for reference `&fs::Metadata` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:752:14 | 752 | self.st_atime_nsec() | ^^^^^^^^^^^^^ method not found in `&Metadata` error[E0599]: no method named `st_mtime` found for reference `&fs::Metadata` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:755:14 | 755 | self.st_mtime() | ^^^^^^^^ method not found in `&Metadata` error[E0599]: no method named `st_mtime_nsec` found for reference `&fs::Metadata` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:758:14 | 758 | self.st_mtime_nsec() | ^^^^^^^^^^^^^ method not found in `&Metadata` error[E0599]: no method named `st_ctime` found for reference `&fs::Metadata` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:761:14 | 761 | self.st_ctime() | ^^^^^^^^ method not found in `&Metadata` error[E0599]: no method named `st_ctime_nsec` found for reference `&fs::Metadata` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:764:14 | 764 | self.st_ctime_nsec() | ^^^^^^^^^^^^^ method not found in `&Metadata` error[E0599]: no method named `st_blksize` found for reference `&fs::Metadata` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:767:14 | 767 | self.st_blksize() | ^^^^^^^^^^ method not found in `&Metadata` error[E0599]: no method named `st_blocks` found for reference `&fs::Metadata` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:770:14 | 770 | self.st_blocks() | ^^^^^^^^^ method not found in `&Metadata` error[E0599]: no method named `ino` found for reference `&sys::unix::fs::DirEntry` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/unix/fs.rs:902:25 | 902 | self.as_inner().ino() | ^^^ method not found in `&DirEntry` | = help: items from traits can only be used if the trait is implemented and in scope = note: the following traits define an item `ino`, perhaps you need to implement one of them: candidate #1: `os::unix::fs::MetadataExt` candidate #2: `DirEntryExt` error[E0599]: no method named `as_inner` found for reference `&TcpStream` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:305:14 | 305 | self.as_inner().socket().as_fd() | ^^^^^^^^ method not found in `&TcpStream` error[E0599]: no method named `into_inner` found for struct `TcpStream` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:313:20 | 313 | tcp_stream.into_inner().into_socket().into_inner().into_inner().into() | ^^^^^^^^^^ method not found in `TcpStream` | ::: /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:50:1 | 50 | pub struct TcpStream(net_imp::TcpStream); | -------------------- method `into_inner` not found for this struct error[E0599]: no function or associated item named `from_inner` found for struct `TcpStream` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:321:15 | 321 | Self::from_inner(FromInner::from_inner(FromInner::from_inner(FromInner::from_inner( | ^^^^^^^^^^ function or associated item not found in `TcpStream` | ::: /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:50:1 | 50 | pub struct TcpStream(net_imp::TcpStream); | -------------------- function or associated item `from_inner` not found for this struct error[E0599]: no method named `as_inner` found for reference `&TcpListener` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:331:14 | 331 | self.as_inner().socket().as_fd() | ^^^^^^^^ method not found in `&TcpListener` error[E0599]: no method named `into_inner` found for struct `TcpListener` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:339:22 | 339 | tcp_listener.into_inner().into_socket().into_inner().into_inner().into() | ^^^^^^^^^^ method not found in `TcpListener` | ::: /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:86:1 | 86 | pub struct TcpListener(net_imp::TcpListener); | ---------------------- method `into_inner` not found for this struct error[E0599]: no function or associated item named `from_inner` found for struct `TcpListener` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:347:15 | 347 | Self::from_inner(FromInner::from_inner(FromInner::from_inner(FromInner::from_inner( | ^^^^^^^^^^ function or associated item not found in `TcpListener` | ::: /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:86:1 | 86 | pub struct TcpListener(net_imp::TcpListener); | ---------------------- function or associated item `from_inner` not found for this struct error[E0599]: no method named `as_inner` found for reference `&UdpSocket` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:357:14 | 357 | self.as_inner().socket().as_fd() | ^^^^^^^^ method not found in `&UdpSocket` error[E0599]: no method named `into_inner` found for struct `UdpSocket` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:365:20 | 365 | udp_socket.into_inner().into_socket().into_inner().into_inner().into() | ^^^^^^^^^^ method not found in `UdpSocket` | ::: /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/udp.rs:58:1 | 58 | pub struct UdpSocket(net_imp::UdpSocket); | -------------------- method `into_inner` not found for this struct error[E0599]: no function or associated item named `from_inner` found for struct `UdpSocket` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/owned.rs:373:15 | 373 | Self::from_inner(FromInner::from_inner(FromInner::from_inner(FromInner::from_inner( | ^^^^^^^^^^ function or associated item not found in `UdpSocket` | ::: /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/udp.rs:58:1 | 58 | pub struct UdpSocket(net_imp::UdpSocket); | -------------------- function or associated item `from_inner` not found for this struct error[E0599]: no method named `as_inner` found for reference `&TcpStream` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:12:22 | 12 | self.as_inner().socket().as_raw_fd() | ^^^^^^^^ method not found in `&TcpStream` ... 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) error[E0599]: no method named `as_inner` found for reference `&TcpListener` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:12:22 | 12 | self.as_inner().socket().as_raw_fd() | ^^^^^^^^ method not found in `&TcpListener` ... 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) error[E0599]: no method named `as_inner` found for reference `&UdpSocket` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:12:22 | 12 | self.as_inner().socket().as_raw_fd() | ^^^^^^^^ method not found in `&UdpSocket` ... 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) error[E0599]: no function or associated item named `from_inner` found for struct `TcpStream` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:27:30 | 27 | net::$t::from_inner(sys_common::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-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:50:1 | 50 | pub struct TcpStream(net_imp::TcpStream); | -------------------- function or associated item `from_inner` not found for this struct | = 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 `TcpListener` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:27:30 | 27 | net::$t::from_inner(sys_common::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-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:86:1 | 86 | pub struct TcpListener(net_imp::TcpListener); | ---------------------- function or associated item `from_inner` not found for this struct | = 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 `UdpSocket` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:27:30 | 27 | net::$t::from_inner(sys_common::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-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/udp.rs:58:1 | 58 | pub struct UdpSocket(net_imp::UdpSocket); | -------------------- function or associated item `from_inner` not found for this struct | = 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_inner` found for struct `TcpStream` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:41:22 | 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-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:50:1 | 50 | pub struct TcpStream(net_imp::TcpStream); | -------------------- method `into_inner` 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_inner` found for struct `TcpListener` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:41:22 | 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-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/tcp.rs:86:1 | 86 | pub struct TcpListener(net_imp::TcpListener); | ---------------------- method `into_inner` 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_inner` found for struct `UdpSocket` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/os/fd/net.rs:41:22 | 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-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/net/udp.rs:58:1 | 58 | pub struct UdpSocket(net_imp::UdpSocket); | -------------------- method `into_inner` 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[E0433]: failed to resolve: use of undeclared crate or module `imp` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/args.rs:19:5 | 19 | imp::args() | ^^^ use of undeclared crate or module `imp` error[E0609]: no field `st_mtime_nsec` on type `stat` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/fs.rs:468:65 | 468 | Ok(SystemTime::new(self.stat.st_mtime as i64, self.stat.st_mtime_nsec as i64)) | ^^^^^^^^^^^^^ unknown field | = note: available fields are: `st_dev`, `st_ino`, `st_mode`, `st_nlink`, `st_flag` ... and 16 others error[E0605]: non-primitive cast: `st_timespec` as `i64` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/fs.rs:468:28 | 468 | Ok(SystemTime::new(self.stat.st_mtime as i64, self.stat.st_mtime_nsec as i64)) | ^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object error[E0609]: no field `st_atime_nsec` on type `stat` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/fs.rs:495:65 | 495 | Ok(SystemTime::new(self.stat.st_atime as i64, self.stat.st_atime_nsec as i64)) | ^^^^^^^^^^^^^ unknown field | = note: available fields are: `st_dev`, `st_ino`, `st_mode`, `st_nlink`, `st_flag` ... and 16 others error[E0605]: non-primitive cast: `st_timespec` as `i64` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/fs.rs:495:28 | 495 | Ok(SystemTime::new(self.stat.st_atime as i64, self.stat.st_atime_nsec as i64)) | ^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object error[E0609]: no field `d_type` on type `dirent` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/fs.rs:864:26 | 864 | match self.entry.d_type { | ^^^^^^ unknown field | = note: available fields are: `d_offset`, `d_ino`, `d_reclen`, `d_namlen`, `d_name` error[E0609]: no field `d_type` on type `dirent` --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/fs.rs:2004:25 | 2004 | match ent.entry.d_type { | ^^^^^^ unknown field | = note: available fields are: `d_offset`, `d_ino`, `d_reclen`, `d_namlen`, `d_name` error[E0599]: no method named `into_inner` found for reference `&core::net::SocketAddr` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/net.rs:144:36 | 144 | let (addr, len) = addr.into_inner(); | ^^^^^^^^^^ method not found in `&SocketAddr` error[E0599]: no function or associated item named `set_name` found for struct `sys::unix::thread::Thread` in the current scope --> /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/mod.rs:78:25 | 78 | thread::Thread::set_name(&CStr::from_bytes_with_nul_unchecked(b"main\0")); | ^^^^^^^^ function or associated item not found in `Thread` | ::: /root/.rustup/toolchains/nightly-2023-08-27-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std/src/sys/unix/thread.rs:40:1 | 40 | pub struct Thread { | ----------------- function or associated item `set_name` not found for this struct Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599, E0605, E0609. For more information about an error, try `rustc --explain E0412`. error: could not compile `std` (lib) due to 83 previous errors