Compiling compiler_builtins v0.1.146 Compiling std v0.0.0 (/root/.rustup/toolchains/nightly-2025-02-23-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std) Compiling libc v0.2.169error[E0432]: unresolved imports `crate::c_char`, `crate::c_long`, `crate::c_ulong` --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:84:17 |84 | c_char, c_double, c_float, c_int, c_long, c_longlong, c_short, c_uchar, c_uint, | ^^^^^^ ^^^^^^ no `c_long` in the root | | | no `c_char` in the root | help: a similar name exists in the module: `c_schar`85 | c_ulong, c_ulonglong, c_ushort, c_void, intptr_t, size_t, ssize_t, uintptr_t, | ^^^^^^^ no `c_ulong` in the root | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/lib.rs:138:9 |138 | prelude!(); | ---------- in this macro invocation | = help: consider importing this type alias instead: rustc_std_workspace_core::ffi::c_char = help: consider importing this type alias instead: rustc_std_workspace_core::ffi::c_long = help: consider importing this type alias instead: rustc_std_workspace_core::ffi::c_ulong = note: this error originates in the macro `prelude` (in Nightly builds, run with -Z macro-backtrace for more info)error[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:65:21 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...65 | pub actime: time_t, | ^^^^^^ help: a type alias with a similar name exists: `size_t`error[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:66:22 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...66 | pub modtime: time_t, | ^^^^^^ help: a type alias with a similar name exists: `size_t`error[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:65:21 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...65 | pub actime: time_t, | ^^^^^^ |help: a type alias with a similar name exists |65 - pub actime: time_t,65 + pub actime: size_t, |help: you might be missing a type parameter --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:26 |118| pub struct $i<time_t> { $($field)* } | ++++++++error[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:70:21 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...70 | pub tv_sec: time_t, | ^^^^^^ help: a type alias with a similar name exists: `size_t`error[E0412]: cannot find type `suseconds_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:71:22 |71 | pub tv_usec: suseconds_t, | ^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:70:21 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...70 | pub tv_sec: time_t, | ^^^^^^ |help: a type alias with a similar name exists |70 - pub tv_sec: time_t,70 + pub tv_sec: size_t, |help: you might be missing a type parameter --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:26 |118| pub struct $i<time_t> { $($field)* } | ++++++++error[E0412]: cannot find type `suseconds_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:71:22 |71 | pub tv_usec: suseconds_t, | ^^^^^^^^^^^ not found in this scope |help: you might be missing a type parameter --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:26 |118| pub struct $i<suseconds_t> { $($field)* } | +++++++++++++error[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:77:21 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...77 | pub tv_sec: time_t, | ^^^^^^ help: a type alias with a similar name exists: `size_t`error[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:77:21 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...77 | pub tv_sec: time_t, | ^^^^^^ |help: a type alias with a similar name exists |77 - pub tv_sec: time_t,77 + pub tv_sec: size_t, |help: you might be missing a type parameter |76 | pub struct timespec<time_t> { | ++++++++error[E0412]: cannot find type `rlim_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:85:23 |85 | pub rlim_cur: rlim_t, | ^^^^^^ help: a struct with a similar name exists: `rlimit` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:13 |118 | pub struct $i { $($field)* } | ------------- similarly named struct `rlimit` defined hereerror[E0412]: cannot find type `rlim_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:86:23 |86 | pub rlim_max: rlim_t, | ^^^^^^ help: a struct with a similar name exists: `rlimit` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:13 |118 | pub struct $i { $($field)* } | ------------- similarly named struct `rlimit` defined hereerror[E0412]: cannot find type `rlim_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:85:23 |85 | pub rlim_cur: rlim_t, | ^^^^^^ | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:13 |118 | pub struct $i { $($field)* } | ------------- similarly named struct `rlimit` defined here |help: a struct with a similar name exists |85 - pub rlim_cur: rlim_t,85 + pub rlim_cur: rlimit, |help: you might be missing a type parameter --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:26 |118 | pub struct $i<rlim_t> { $($field)* } | ++++++++error[E0412]: cannot find type `clock_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:191:31 |191 | pub tms_utime: crate::clock_t, | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `clock_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:192:31 |192 | pub tms_stime: crate::clock_t, | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `clock_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:193:32 |193 | pub tms_cutime: crate::clock_t, | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `clock_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:194:32 |194 | pub tms_cstime: crate::clock_t, | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `mode_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:249:27 |249 | pub const S_ISUID: crate::mode_t = 0o4000; | ^^^^^^ not found in the crate rooterror[E0412]: cannot find type `mode_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:250:27 |250 | pub const S_ISGID: crate::mode_t = 0o2000; | ^^^^^^ not found in the crate rooterror[E0412]: cannot find type `mode_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:251:27 |251 | pub const S_ISVTX: crate::mode_t = 0o1000; | ^^^^^^ not found in the crate rooterror[E0412]: cannot find type `wchar_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:675:31 |675 | pub fn wcslen(buf: *const wchar_t) -> size_t; | ^^^^^^^ not found in this scopeerror[E0412]: cannot find type `wchar_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:676:52 |676 | pub fn wcstombs(dest: *mut c_char, src: *const wchar_t, n: size_t) -> size_t; | ^^^^^^^ not found in this scopeerror[E0412]: cannot find type `wchar_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:679:31 |679 | pub fn wmemchr(cx: *const wchar_t, c: wchar_t, n: size_t) -> *mut wchar_t; | ^^^^^^^ not found in this scopeerror[E0412]: cannot find type `wchar_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:679:43 |679 | pub fn wmemchr(cx: *const wchar_t, c: wchar_t, n: size_t) -> *mut wchar_t; | ^^^^^^^ not found in this scopeerror[E0412]: cannot find type `wchar_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:679:71 |679 | pub fn wmemchr(cx: *const wchar_t, c: wchar_t, n: size_t) -> *mut wchar_t; | ^^^^^^^ not found in this scopeerror[E0412]: cannot find type `passwd` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:689:50 |689 | pub fn getpwnam(name: *const c_char) -> *mut passwd; | ^^^^^^ not found in this scopeerror[E0412]: cannot find type `passwd` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:691:48 |691 | pub fn getpwuid(uid: crate::uid_t) -> *mut passwd; | ^^^^^^ not found in this scopeerror[E0412]: cannot find type `sockaddr` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:731:51 |731 | pub fn connect(socket: c_int, address: *const sockaddr, len: socklen_t) -> c_int; | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `socklen_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:731:66 |54 | pub type locale_t = *mut c_void; | -------------------------------- similarly named type alias `locale_t` defined here...731 | pub fn connect(socket: c_int, address: *const sockaddr, len: socklen_t) -> c_int; | ^^^^^^^^^ help: a type alias with a similar name exists: `locale_t`error[E0412]: cannot find type `sockaddr` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:744:48 |744 | pub fn accept(socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t) -> c_int; | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `socklen_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:744:76 |54 | pub type locale_t = *mut c_void; | -------------------------------- similarly named type alias `locale_t` defined here...744 | pub fn accept(socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t) -> c_int; | ^^^^^^^^^ help: a type alias with a similar name exists: `locale_t`error[E0412]: cannot find type `sockaddr` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:751:53 |751 | pub fn getpeername(socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t) | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `socklen_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:751:81 |54 | pub type locale_t = *mut c_void; | -------------------------------- similarly named type alias `locale_t` defined here...751 | pub fn getpeername(socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t) | ^^^^^^^^^ help: a type alias with a similar name exists: `locale_t`error[E0412]: cannot find type `sockaddr` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:759:53 |759 | pub fn getsockname(socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t) | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `socklen_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:759:81 |54 | pub type locale_t = *mut c_void; | -------------------------------- similarly named type alias `locale_t` defined here...759 | pub fn getsockname(socket: c_int, address: *mut sockaddr, address_len: *mut socklen_t) | ^^^^^^^^^ help: a type alias with a similar name exists: `locale_t`error[E0412]: cannot find type `socklen_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:767:21 |54 | pub type locale_t = *mut c_void; | -------------------------------- similarly named type alias `locale_t` defined here...767 | option_len: socklen_t, | ^^^^^^^^^ help: a type alias with a similar name exists: `locale_t`error[E0412]: cannot find type `sockaddr` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:798:22 |798 | addr: *const sockaddr, | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `socklen_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:799:18 |54 | pub type locale_t = *mut c_void; | -------------------------------- similarly named type alias `locale_t` defined here...799 | addrlen: socklen_t, | ^^^^^^^^^ help: a type alias with a similar name exists: `locale_t`error[E0412]: cannot find type `mode_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:808:45 |808 | pub fn chmod(path: *const c_char, mode: mode_t) -> c_int; | ^^^^^^ not found in this scopeerror[E0412]: cannot find type `mode_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:813:36 |813 | pub fn fchmod(fd: c_int, mode: mode_t) -> c_int; | ^^^^^^ not found in this scopeerror[E0573]: expected type, found function `stat` --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:824:43 |824 | pub fn fstat(fildes: c_int, buf: *mut stat) -> c_int; | ^^^^ not a typeerror[E0412]: cannot find type `mode_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:826:45 |826 | pub fn mkdir(path: *const c_char, mode: mode_t) -> c_int; | ^^^^^^ not found in this scopeerror[E0573]: expected type, found function `stat` --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:837:48 |837 | pub fn stat(path: *const c_char, buf: *mut stat) -> c_int; | ^^^^ not a typeerror[E0412]: cannot find type `mode_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:856:45 |856 | pub fn creat(path: *const c_char, mode: mode_t) -> c_int; | ^^^^^^ not found in this scopeerror[E0412]: cannot find type `dirent` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:883:58 |883 | pub fn readdir(dirp: *mut crate::DIR) -> *mut crate::dirent; | ^^^^^^ not found in the crate rooterror[E0412]: cannot find type `mode_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:902:22 |902 | mode: crate::mode_t, | ^^^^^^ not found in the crate rooterror[E0573]: expected type, found function `stat` --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:921:69 |921 | pub fn fstatat(dirfd: c_int, pathname: *const c_char, buf: *mut stat, flags: c_int) -> c_int; | ^^^^ not a typeerror[E0412]: cannot find type `off_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:995:37 |995 | pub fn lseek(fd: c_int, offset: off_t, whence: c_int) -> off_t; | ^^^^^ not found in this scopeerror[E0412]: cannot find type `off_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:995:62 |995 | pub fn lseek(fd: c_int, offset: off_t, whence: c_int) -> off_t; | ^^^^^ not found in this scopeerror[E0412]: cannot find type `off_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1057:70 |1057 | pub fn pread(fd: c_int, buf: *mut c_void, count: size_t, offset: off_t) -> ssize_t; | ^^^^^ not found in this scopeerror[E0412]: cannot find type `off_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1062:73 |1062 | pub fn pwrite(fd: c_int, buf: *const c_void, count: size_t, offset: off_t) -> ssize_t; | ^^^^^ not found in this scopeerror[E0412]: cannot find type `mode_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1063:24 |1063 | pub fn umask(mask: mode_t) -> mode_t; | ^^^^^^ not found in this scopeerror[E0412]: cannot find type `mode_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1063:35 |1063 | pub fn umask(mask: mode_t) -> mode_t; | ^^^^^^ not found in this scopeerror[E0412]: cannot find type `off_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1094:17 |1094 | offset: off_t, | ^^^^^ not found in this scopeerror[E0573]: expected type, found function `stat` --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1114:49 |1114 | pub fn lstat(path: *const c_char, buf: *mut stat) -> c_int; | ^^^^ not a typeerror[E0412]: cannot find type `off_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1136:50 |1136 | pub fn truncate(path: *const c_char, length: off_t) -> c_int; | ^^^^^ not found in this scopeerror[E0412]: cannot find type `off_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1137:41 |1137 | pub fn ftruncate(fd: c_int, length: off_t) -> c_int; | ^^^^^ not found in this scopeerror[E0412]: cannot find type `clock_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1157:50 |1157 | pub fn times(buf: *mut crate::tms) -> crate::clock_t; | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `pthread_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1159:37 |1159 | pub fn pthread_self() -> crate::pthread_t; | ^^^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `pthread_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1160:37 |1160 | pub fn pthread_equal(t1: crate::pthread_t, t2: crate::pthread_t) -> c_int; | ^^^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `pthread_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1160:59 |1160 | pub fn pthread_equal(t1: crate::pthread_t, t2: crate::pthread_t) -> c_int; | ^^^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `pthread_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1165:40 |1165 | pub fn pthread_join(native: crate::pthread_t, value: *mut *mut c_void) -> c_int; | ^^^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `pthread_attr_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1167:48 |1167 | pub fn pthread_attr_init(attr: *mut crate::pthread_attr_t) -> c_int; | ^^^^^^^^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `pthread_attr_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1168:51 |1168 | pub fn pthread_attr_destroy(attr: *mut crate::pthread_attr_t) -> c_int; | ^^^^^^^^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `pthread_attr_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1170:29 |1170 | attr: *const crate::pthread_attr_t, | ^^^^^^^^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `pthread_attr_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1173:56 |1173 | pub fn pthread_attr_setstacksize(attr: *mut crate::pthread_attr_t, stack_size: size_t) | ^^^^^^^^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `pthread_attr_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1175:58 |1175 | pub fn pthread_attr_setdetachstate(attr: *mut crate::pthread_attr_t, state: c_int) -> c_int; | ^^^^^^^^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `pthread_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1176:42 |1176 | pub fn pthread_detach(thread: crate::pthread_t) -> c_int; | ^^^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `pthread_key_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1180:19 |1180 | key: *mut pthread_key_t, | ^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_key_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1183:36 |1183 | pub fn pthread_key_delete(key: pthread_key_t) -> c_int; | ^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_key_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1184:37 |1184 | pub fn pthread_getspecific(key: pthread_key_t) -> *mut c_void; | ^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_key_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1185:37 |1185 | pub fn pthread_setspecific(key: pthread_key_t, value: *const c_void) -> c_int; | ^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_mutex_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1187:20 |1187 | lock: *mut pthread_mutex_t, | ^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_mutexattr_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1188:22 |1188 | attr: *const pthread_mutexattr_t, | ^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_mutex_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1190:45 |1190 | pub fn pthread_mutex_destroy(lock: *mut pthread_mutex_t) -> c_int; | ^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_mutex_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1191:42 |1191 | pub fn pthread_mutex_lock(lock: *mut pthread_mutex_t) -> c_int; | ^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_mutex_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1192:45 |1192 | pub fn pthread_mutex_trylock(lock: *mut pthread_mutex_t) -> c_int; | ^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_mutex_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1193:44 |1193 | pub fn pthread_mutex_unlock(lock: *mut pthread_mutex_t) -> c_int; | ^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_mutexattr_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1195:46 |1195 | pub fn pthread_mutexattr_init(attr: *mut pthread_mutexattr_t) -> c_int; | ^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_mutexattr_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1200:49 |1200 | pub fn pthread_mutexattr_destroy(attr: *mut pthread_mutexattr_t) -> c_int; | ^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_mutexattr_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1201:49 |1201 | pub fn pthread_mutexattr_settype(attr: *mut pthread_mutexattr_t, _type: c_int) -> c_int; | ^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_cond_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1207:41 |1207 | pub fn pthread_cond_init(cond: *mut pthread_cond_t, attr: *const pthread_condattr_t) -> c_int; | ^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_condattr_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1207:70 |1207 | pub fn pthread_cond_init(cond: *mut pthread_cond_t, attr: *const pthread_condattr_t) -> c_int; | ^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_cond_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1212:41 |1212 | pub fn pthread_cond_wait(cond: *mut pthread_cond_t, lock: *mut pthread_mutex_t) -> c_int; | ^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_mutex_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1212:68 |1212 | pub fn pthread_cond_wait(cond: *mut pthread_cond_t, lock: *mut pthread_mutex_t) -> c_int; | ^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_cond_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1218:20 |1218 | cond: *mut pthread_cond_t, | ^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_mutex_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1219:20 |1219 | lock: *mut pthread_mutex_t, | ^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_cond_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1222:43 |1222 | pub fn pthread_cond_signal(cond: *mut pthread_cond_t) -> c_int; | ^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_cond_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1223:46 |1223 | pub fn pthread_cond_broadcast(cond: *mut pthread_cond_t) -> c_int; | ^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_cond_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1224:44 |1224 | pub fn pthread_cond_destroy(cond: *mut pthread_cond_t) -> c_int; | ^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_condattr_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1225:45 |1225 | pub fn pthread_condattr_init(attr: *mut pthread_condattr_t) -> c_int; | ^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_condattr_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1226:48 |1226 | pub fn pthread_condattr_destroy(attr: *mut pthread_condattr_t) -> c_int; | ^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_rwlock_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1232:20 |1232 | lock: *mut pthread_rwlock_t, | ^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_rwlockattr_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1233:22 |1233 | attr: *const pthread_rwlockattr_t, | ^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_rwlock_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1239:46 |1239 | pub fn pthread_rwlock_destroy(lock: *mut pthread_rwlock_t) -> c_int; | ^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_rwlock_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1244:45 |1244 | pub fn pthread_rwlock_rdlock(lock: *mut pthread_rwlock_t) -> c_int; | ^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_rwlock_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1249:48 |1249 | pub fn pthread_rwlock_tryrdlock(lock: *mut pthread_rwlock_t) -> c_int; | ^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_rwlock_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1254:45 |1254 | pub fn pthread_rwlock_wrlock(lock: *mut pthread_rwlock_t) -> c_int; | ^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_rwlock_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1259:48 |1259 | pub fn pthread_rwlock_trywrlock(lock: *mut pthread_rwlock_t) -> c_int; | ^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_rwlock_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1264:45 |1264 | pub fn pthread_rwlock_unlock(lock: *mut pthread_rwlock_t) -> c_int; | ^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_rwlockattr_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1265:47 |1265 | pub fn pthread_rwlockattr_init(attr: *mut pthread_rwlockattr_t) -> c_int; | ^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `pthread_rwlockattr_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1266:50 |1266 | pub fn pthread_rwlockattr_destroy(attr: *mut pthread_rwlockattr_t) -> c_int; | ^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `socklen_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1278:29 |54 | pub type locale_t = *mut c_void; | -------------------------------- similarly named type alias `locale_t` defined here...1278 | optlen: *mut crate::socklen_t, | ^^^^^^^^^ help: a type alias with a similar name exists: `locale_t`error[E0412]: cannot find type `addrinfo` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1298:23 |1298 | hints: *const addrinfo, | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `addrinfo` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1299:24 |1299 | res: *mut *mut addrinfo, | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `addrinfo` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1303:35 |1303 | pub fn freeaddrinfo(res: *mut addrinfo); | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1333:36 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...1333 | pub fn gmtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; | ^^^^^^ help: a type alias with a similar name exists: `size_t`error[E0412]: cannot find type `tm` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1333:57 |1333 | pub fn gmtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; | ^^ help: a struct with a similar name exists: `tms` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:13 |118 | pub struct $i { $($field)* } | ------------- similarly named struct `tms` defined hereerror[E0412]: cannot find type `tm` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1333:69 |1333 | pub fn gmtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; | ^^ help: a struct with a similar name exists: `tms` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:13 |118 | pub struct $i { $($field)* } | ------------- similarly named struct `tms` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1337:39 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...1337 | pub fn localtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; | ^^^^^^ help: a type alias with a similar name exists: `size_t`error[E0412]: cannot find type `tm` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1337:60 |1337 | pub fn localtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; | ^^ help: a struct with a similar name exists: `tms` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:13 |118 | pub struct $i { $($field)* } | ------------- similarly named struct `tms` defined hereerror[E0412]: cannot find type `tm` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1337:72 |1337 | pub fn localtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; | ^^ help: a struct with a similar name exists: `tms` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:13 |118 | pub struct $i { $($field)* } | ------------- similarly named struct `tms` defined hereerror[E0412]: cannot find type `tm` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1345:28 |1345 | pub fn mktime(tm: *mut tm) -> time_t; | ^^ help: a struct with a similar name exists: `tms` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:13 |118 | pub struct $i { $($field)* } | ------------- similarly named struct `tms` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1345:35 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...1345 | pub fn mktime(tm: *mut tm) -> time_t; | ^^^^^^ help: a type alias with a similar name exists: `size_t`error[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1349:28 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...1349 | pub fn time(time: *mut time_t) -> time_t; | ^^^^^^ help: a type alias with a similar name exists: `size_t`error[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1349:39 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...1349 | pub fn time(time: *mut time_t) -> time_t; | ^^^^^^ help: a type alias with a similar name exists: `size_t`error[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1353:34 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...1353 | pub fn gmtime(time_p: *const time_t) -> *mut tm; | ^^^^^^ help: a type alias with a similar name exists: `size_t`error[E0412]: cannot find type `tm` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1353:50 |1353 | pub fn gmtime(time_p: *const time_t) -> *mut tm; | ^^ help: a struct with a similar name exists: `tms` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:13 |118 | pub struct $i { $($field)* } | ------------- similarly named struct `tms` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1357:37 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...1357 | pub fn localtime(time_p: *const time_t) -> *mut tm; | ^^^^^^ help: a type alias with a similar name exists: `size_t`error[E0412]: cannot find type `tm` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1357:53 |1357 | pub fn localtime(time_p: *const time_t) -> *mut tm; | ^^ help: a struct with a similar name exists: `tms` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:13 |118 | pub struct $i { $($field)* } | ------------- similarly named struct `tms` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1361:28 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...1361 | pub fn difftime(time1: time_t, time0: time_t) -> c_double; | ^^^^^^ help: a type alias with a similar name exists: `size_t`error[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1361:43 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...1361 | pub fn difftime(time1: time_t, time0: time_t) -> c_double; | ^^^^^^ help: a type alias with a similar name exists: `size_t`error[E0412]: cannot find type `tm` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1365:35 |1365 | pub fn timegm(tm: *mut crate::tm) -> time_t; | ^^ help: a struct with a similar name exists: `tms` | ::: /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/macros.rs:118:13 |118 | pub struct $i { $($field)* } | ------------- similarly named struct `tms` defined hereerror[E0412]: cannot find type `time_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1365:42 |21 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here...1365 | pub fn timegm(tm: *mut crate::tm) -> time_t; | ^^^^^^ help: a type alias with a similar name exists: `size_t`error[E0412]: cannot find type `mode_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1372:56 |1372 | pub fn mknod(pathname: *const c_char, mode: crate::mode_t, dev: crate::dev_t) -> c_int; | ^^^^^^ not found in the crate rooterror[E0412]: cannot find type `dev_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1372:76 |1372 | pub fn mknod(pathname: *const c_char, mode: crate::mode_t, dev: crate::dev_t) -> c_int; | ^^^^^ not found in the crate rooterror[E0412]: cannot find type `nfds_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1409:41 |1409 | pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: c_int) -> c_int; | ^^^^^^ not found in this scopeerror[E0412]: cannot find type `fd_set` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1421:23 |1421 | readfds: *mut fd_set, | ^^^^^^ not found in this scopeerror[E0412]: cannot find type `fd_set` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1422:24 |1422 | writefds: *mut fd_set, | ^^^^^^ not found in this scopeerror[E0412]: cannot find type `fd_set` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1423:24 |1423 | errorfds: *mut fd_set, | ^^^^^^ not found in this scopeerror[E0412]: cannot find type `lconv` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1428:33 |1428 | pub fn localeconv() -> *mut lconv; | ^^^^^ not found in this scopeerror[E0412]: cannot find type `sem_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1434:31 |1434 | pub fn sem_wait(sem: *mut sem_t) -> c_int; | ^^^^^ not found in this scopeerror[E0412]: cannot find type `sem_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1435:34 |1435 | pub fn sem_trywait(sem: *mut sem_t) -> c_int; | ^^^^^ not found in this scopeerror[E0412]: cannot find type `sem_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1436:31 |1436 | pub fn sem_post(sem: *mut sem_t) -> c_int; | ^^^^^ not found in this scopeerror[E0573]: expected type, found function `statvfs` --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1437:51 |1437 | pub fn statvfs(path: *const c_char, buf: *mut statvfs) -> c_int; | ^^^^^^^ not a typeerror[E0573]: expected type, found function `statvfs` --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1438:42 |1438 | pub fn fstatvfs(fd: c_int, buf: *mut statvfs) -> c_int; | ^^^^^^^ not a typeerror[E0412]: cannot find type `sigset_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1441:34 |1441 | pub fn sigemptyset(set: *mut sigset_t) -> c_int; | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `sigset_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1443:32 |1443 | pub fn sigaddset(set: *mut sigset_t, signum: c_int) -> c_int; | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `sigset_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1445:33 |1445 | pub fn sigfillset(set: *mut sigset_t) -> c_int; | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `sigset_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1447:32 |1447 | pub fn sigdelset(set: *mut sigset_t, signum: c_int) -> c_int; | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `sigset_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1449:36 |1449 | pub fn sigismember(set: *const sigset_t, signum: c_int) -> c_int; | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `sigset_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1452:48 |1452 | pub fn sigprocmask(how: c_int, set: *const sigset_t, oldset: *mut sigset_t) -> c_int; | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `sigset_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1452:71 |1452 | pub fn sigprocmask(how: c_int, set: *const sigset_t, oldset: *mut sigset_t) -> c_int; | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `sigset_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1454:33 |1454 | pub fn sigpending(set: *mut sigset_t) -> c_int; | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `mode_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1459:46 |1459 | pub fn mkfifo(path: *const c_char, mode: mode_t) -> c_int; | ^^^^^^ not found in this scopeerror[E0412]: cannot find type `off_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1461:53 |1461 | pub fn fseeko(stream: *mut crate::FILE, offset: off_t, whence: c_int) -> c_int; | ^^^^^ not found in this scopeerror[E0412]: cannot find type `off_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1462:48 |1462 | pub fn ftello(stream: *mut crate::FILE) -> off_t; | ^^^^^ not found in this scopeerror[E0412]: cannot find type `termios` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1468:47 |1468 | pub fn cfgetispeed(termios: *const crate::termios) -> crate::speed_t; | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `speed_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1468:66 |1468 | pub fn cfgetispeed(termios: *const crate::termios) -> crate::speed_t; | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `termios` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1469:47 |1469 | pub fn cfgetospeed(termios: *const crate::termios) -> crate::speed_t; | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `speed_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1469:66 |1469 | pub fn cfgetospeed(termios: *const crate::termios) -> crate::speed_t; | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `termios` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1470:45 |1470 | pub fn cfsetispeed(termios: *mut crate::termios, speed: crate::speed_t) -> c_int; | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `speed_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1470:68 |1470 | pub fn cfsetispeed(termios: *mut crate::termios, speed: crate::speed_t) -> c_int; | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `termios` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1471:45 |1471 | pub fn cfsetospeed(termios: *mut crate::termios, speed: crate::speed_t) -> c_int; | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `speed_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1471:68 |1471 | pub fn cfsetospeed(termios: *mut crate::termios, speed: crate::speed_t) -> c_int; | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `termios` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1472:54 |1472 | pub fn tcgetattr(fd: c_int, termios: *mut crate::termios) -> c_int; | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `termios` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1473:81 |1473 | pub fn tcsetattr(fd: c_int, optional_actions: c_int, termios: *const crate::termios) -> c_int; | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `off_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1502:46 |1502 | pub fn lockf(fd: c_int, cmd: c_int, len: off_t) -> c_int; | ^^^^^ not found in this scopeerror[E0412]: cannot find type `Dl_info` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1569:59 |1569 | pub fn dladdr(addr: *const c_void, info: *mut Dl_info) -> c_int; | ^^^^^^^ not found in this scopeerror[E0412]: cannot find type `wchar_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1585:51 |1585 | pub fn open_wmemstream(ptr: *mut *mut wchar_t, sizeloc: *mut size_t) -> *mut FILE; | ^^^^^^^ not found in this scopeerror[E0412]: cannot find type `mode_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1600:80 |1600 | pub fn mkdirat(dirfd: c_int, pathname: *const c_char, mode: crate::mode_t) -> c_int; | ^^^^^^ not found in the crate rooterror[E0412]: cannot find type `dirent` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1631:36 |1631 | entry: *mut crate::dirent, | ^^^^^^ not found in the crate rooterror[E0412]: cannot find type `dirent` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1632:42 |1632 | result: *mut *mut crate::dirent, | ^^^^^^ not found in the crate rooterror[E0573]: expected type, found function `sigaction` --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1671:57 |1671 | pub fn sigaction(signum: c_int, act: *const sigaction, oldact: *mut sigaction) | ^^^^^^^^^ not a typeerror[E0573]: expected type, found function `sigaction` --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1671:81 |1671 | pub fn sigaction(signum: c_int, act: *const sigaction, oldact: *mut sigaction) | ^^^^^^^^^ not a typeerror[E0412]: cannot find type `fd_set` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1685:31 |1685 | readfds: *mut fd_set, | ^^^^^^ not found in this scopeerror[E0412]: cannot find type `fd_set` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1686:32 |1686 | writefds: *mut fd_set, | ^^^^^^ not found in this scopeerror[E0412]: cannot find type `fd_set` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1687:32 |1687 | errorfds: *mut fd_set, | ^^^^^^ not found in this scopeerror[E0412]: cannot find type `sigset_t` in this scope --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1689:33 |1689 | sigmask: *const sigset_t, | ^^^^^^^^ not found in this scopeerror[E0412]: cannot find type `termios` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1702:51 |1702 | pub fn cfmakeraw(termios: *mut crate::termios); | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `termios` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1703:52 |1703 | pub fn cfsetspeed(termios: *mut crate::termios, speed: crate::speed_t) -> c_int; | ^^^^^^^ not found in the crate rooterror[E0412]: cannot find type `speed_t` in the crate root --> /cargo/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.169/src/unix/mod.rs:1703:75 |1703 | pub fn cfsetspeed(termios: *mut crate::termios, speed: crate::speed_t) -> c_int; | ^^^^^^^ not found in the crate root Compiling alloc v0.0.0 (/root/.rustup/toolchains/nightly-2025-02-23-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc) Compiling cfg-if v1.0.0 Compiling adler2 v2.0.0 Compiling memchr v2.7.4Some errors have detailed explanations: E0412, E0432, E0573.For more information about an error, try `rustc --explain E0412`.error: could not compile `libc` (lib) due to 172 previous errorswarning: build failed, waiting for other jobs to finish...error: expected absolute expression |note: instantiated into assembly here --> <inline asm>:4:20 |4 | .type __rust_probestack, @function | ^error: unknown directive |note: instantiated into assembly here --> <inline asm>:5:13 |5 | .hidden __rust_probestack | ^error: unknown directive |note: instantiated into assembly here --> <inline asm>:57:13 |57 | .size __rust_probestack, . - __rust_probestack | ^error: could not compile `compiler_builtins` (lib) due to 3 previous errors