Build date: 2025-07-09T17:08:36.22Z
Build duration: 23.426s
Builder does-it-build commit: 87ff3d03
Compiling compiler_builtins v0.1.101 Compiling core v0.0.0 (/root/.rustup/toolchains/nightly-2023-10-07-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core) Compiling rustc-std-workspace-core v1.99.0 (/root/.rustup/toolchains/nightly-2023-10-07-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/root/.rustup/toolchains/nightly-2023-10-07-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc) Compiling rustc-std-workspace-alloc v1.99.0 (/root/.rustup/toolchains/nightly-2023-10-07-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc) Compiling libc v0.2.148 error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:56:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 56 | pub gr_name: *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 56 | pub gr_name: *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 160+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 56 - pub gr_name: *mut ::c_char, 56 + pub gr_name: *mut c_char, | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:57:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 57 | pub gr_passwd: *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 57 | pub gr_passwd: *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 160+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 57 - pub gr_passwd: *mut ::c_char, 57 + pub gr_passwd: *mut c_char, | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:59:33 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 59 | pub gr_mem: *mut *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 59 | pub gr_mem: *mut *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 160+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 59 - pub gr_mem: *mut *mut ::c_char, 59 + pub gr_mem: *mut *mut c_char, | error[E0412]: cannot find type `time_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:63:21 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 63 | 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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:64:22 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 64 | 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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:68:21 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 68 | 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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:69:22 | 69 | pub tv_usec: suseconds_t, | ^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `time_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:75:21 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 75 | pub tv_sec: time_t, | ^^^^^^ help: a type alias with a similar name exists: `size_t` error[E0412]: cannot find type `c_long` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:79:24 | 79 | pub tv_nsec: ::c_long, | ^^^^^^ not found in the crate root | help: consider importing this type alias | 160+ use ffi::c_long; | help: if you import `c_long`, refer to it directly | 79 - pub tv_nsec: ::c_long, 79 + pub tv_nsec: c_long, | error[E0412]: cannot find type `rlim_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:83:23 | 83 | pub rlim_cur: rlim_t, | ^^^^^^ help: a struct with a similar name exists: `rlimit` | ::: /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/macros.rs:77:13 | 77 | pub struct $i { $($field)* } | ------------- similarly named struct `rlimit` defined here error[E0412]: cannot find type `rlim_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:84:23 | 84 | pub rlim_max: rlim_t, | ^^^^^^ help: a struct with a similar name exists: `rlimit` | ::: /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/macros.rs:77:13 | 77 | pub struct $i { $($field)* } | ------------- similarly named struct `rlimit` defined here error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:90:24 | 90 | pub ru_maxrss: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 160+ use ffi::c_long; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:93:23 | 93 | pub ru_ixrss: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 160+ use ffi::c_long; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:96:23 | 96 | pub ru_idrss: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 160+ use ffi::c_long; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:99:23 | 99 | pub ru_isrss: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 160+ use ffi::c_long; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:102:24 | 102 | pub ru_minflt: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_long; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:105:24 | 105 | pub ru_majflt: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_long; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:108:23 | 108 | pub ru_nswap: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_long; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:111:25 | 111 | pub ru_inblock: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_long; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:114:25 | 114 | pub ru_oublock: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_long; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:117:24 | 117 | pub ru_msgsnd: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_long; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:120:24 | 120 | pub ru_msgrcv: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_long; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:123:26 | 123 | pub ru_nsignals: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_long; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:126:23 | 126 | pub ru_nvcsw: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_long; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:129:24 | 129 | pub ru_nivcsw: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_long; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:146:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 146 | pub h_name: *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 146 | pub h_name: *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 146 - pub h_name: *mut ::c_char, 146 + pub h_name: *mut c_char, | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:147:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 147 | pub h_aliases: *mut *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 147 | pub h_aliases: *mut *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 147 - pub h_aliases: *mut *mut ::c_char, 147 + pub h_aliases: *mut *mut c_char, | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:150:38 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 150 | pub h_addr_list: *mut *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 150 | pub h_addr_list: *mut *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 150 - pub h_addr_list: *mut *mut ::c_char, 150 + pub h_addr_list: *mut *mut c_char, | error[E0412]: cannot find type `clock_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:189:26 | 189 | pub tms_utime: ::clock_t, | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `clock_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:190:26 | 190 | pub tms_stime: ::clock_t, | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `clock_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:191:27 | 191 | pub tms_cutime: ::clock_t, | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `clock_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:192:27 | 192 | pub tms_cstime: ::clock_t, | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:196:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 196 | pub s_name: *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 196 | pub s_name: *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 196 - pub s_name: *mut ::c_char, 196 + pub s_name: *mut c_char, | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:197:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 197 | pub s_aliases: *mut *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 197 | pub s_aliases: *mut *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 197 - pub s_aliases: *mut *mut ::c_char, 197 + pub s_aliases: *mut *mut c_char, | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:199:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 199 | pub s_proto: *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 199 | pub s_proto: *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 199 - pub s_proto: *mut ::c_char, 199 + pub s_proto: *mut c_char, | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:203:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 203 | pub p_name: *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 203 | pub p_name: *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 203 - pub p_name: *mut ::c_char, 203 + pub p_name: *mut c_char, | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:204:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 204 | pub p_aliases: *mut *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 204 | pub p_aliases: *mut *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 204 - pub p_aliases: *mut *mut ::c_char, 204 + pub p_aliases: *mut *mut c_char, | error[E0412]: cannot find type `mode_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:242:22 | 242 | pub const S_ISUID: ::mode_t = 0x800; | ^^^^^^ not found in the crate root error[E0412]: cannot find type `mode_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:243:22 | 243 | pub const S_ISGID: ::mode_t = 0x400; | ^^^^^^ not found in the crate root error[E0412]: cannot find type `mode_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:244:22 | 244 | pub const S_ISVTX: ::mode_t = 0x200; | ^^^^^^ not found in the crate root error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:471:35 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 471 | pub fn fopen(filename: *const c_char, mode: *const c_char) -> *mut FILE; | ^^^^^^ | help: a type alias with a similar name exists | 471 | pub fn fopen(filename: *const c_schar, mode: *const c_char) -> *mut FILE; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:471:56 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 471 | pub fn fopen(filename: *const c_char, mode: *const c_char) -> *mut FILE; | ^^^^^^ | help: a type alias with a similar name exists | 471 | pub fn fopen(filename: *const c_char, mode: *const c_schar) -> *mut FILE; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:476:37 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 476 | pub fn freopen(filename: *const c_char, mode: *const c_char, file: *mut FILE) -> *mut FILE; | ^^^^^^ | help: a type alias with a similar name exists | 476 | pub fn freopen(filename: *const c_schar, mode: *const c_char, file: *mut FILE) -> *mut FILE; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:476:58 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 476 | pub fn freopen(filename: *const c_char, mode: *const c_char, file: *mut FILE) -> *mut FILE; | ^^^^^^ | help: a type alias with a similar name exists | 476 | pub fn freopen(filename: *const c_char, mode: *const c_schar, file: *mut FILE) -> *mut FILE; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:480:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 480 | pub fn remove(filename: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 480 | pub fn remove(filename: *const c_schar) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:481:35 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 481 | pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 481 | pub fn rename(oldname: *const c_schar, newname: *const c_char) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:481:59 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 481 | pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 481 | pub fn rename(oldname: *const c_char, newname: *const c_schar) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:483:52 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 483 | pub fn setvbuf(stream: *mut FILE, buffer: *mut c_char, mode: c_int, size: size_t) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 483 | pub fn setvbuf(stream: *mut FILE, buffer: *mut c_schar, mode: c_int, size: size_t) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:484:48 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 484 | pub fn setbuf(stream: *mut FILE, buf: *mut c_char); | ^^^^^^ | help: a type alias with a similar name exists | 484 | pub fn setbuf(stream: *mut FILE, buf: *mut c_schar); | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:488:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 488 | pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 488 | pub fn fgets(buf: *mut c_schar, n: c_int, stream: *mut FILE) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:488:73 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 488 | pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 488 | pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:494:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 494 | pub fn fputs(s: *const c_char, stream: *mut FILE) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 494 | pub fn fputs(s: *const c_schar, stream: *mut FILE) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:495:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 495 | pub fn puts(s: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 495 | pub fn puts(s: *const c_schar) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:503:45 | 503 | pub fn fseek(stream: *mut FILE, offset: c_long, whence: c_int) -> c_int; | ^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_long; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:504:40 | 504 | pub fn ftell(stream: *mut FILE) -> c_long; | ^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_long; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:513:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 513 | pub fn perror(s: *const c_char); | ^^^^^^ | help: a type alias with a similar name exists | 513 | pub fn perror(s: *const c_schar); | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:514:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 514 | pub fn atof(s: *const c_char) -> c_double; | ^^^^^^ | help: a type alias with a similar name exists | 514 | pub fn atof(s: *const c_schar) -> c_double; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:515:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 515 | pub fn atoi(s: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 515 | pub fn atoi(s: *const c_schar) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:516:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 516 | pub fn atol(s: *const c_char) -> c_long; | ^^^^^^ | help: a type alias with a similar name exists | 516 | pub fn atol(s: *const c_schar) -> c_long; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:516:38 | 516 | pub fn atol(s: *const c_char) -> c_long; | ^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_long; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:517:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 517 | pub fn atoll(s: *const c_char) -> c_longlong; | ^^^^^^ | help: a type alias with a similar name exists | 517 | pub fn atoll(s: *const c_schar) -> c_longlong; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:522:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 522 | pub fn strtod(s: *const c_char, endp: *mut *mut c_char) -> c_double; | ^^^^^^ | help: a type alias with a similar name exists | 522 | pub fn strtod(s: *const c_schar, endp: *mut *mut c_char) -> c_double; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:522:53 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 522 | pub fn strtod(s: *const c_char, endp: *mut *mut c_char) -> c_double; | ^^^^^^ | help: a type alias with a similar name exists | 522 | pub fn strtod(s: *const c_char, endp: *mut *mut c_schar) -> c_double; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:523:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 523 | pub fn strtof(s: *const c_char, endp: *mut *mut c_char) -> c_float; | ^^^^^^ | help: a type alias with a similar name exists | 523 | pub fn strtof(s: *const c_schar, endp: *mut *mut c_char) -> c_float; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:523:53 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 523 | pub fn strtof(s: *const c_char, endp: *mut *mut c_char) -> c_float; | ^^^^^^ | help: a type alias with a similar name exists | 523 | pub fn strtof(s: *const c_char, endp: *mut *mut c_schar) -> c_float; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:524:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 524 | pub fn strtol(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_long; | ^^^^^^ | help: a type alias with a similar name exists | 524 | pub fn strtol(s: *const c_schar, endp: *mut *mut c_char, base: c_int) -> c_long; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:524:53 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 524 | pub fn strtol(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_long; | ^^^^^^ | help: a type alias with a similar name exists | 524 | pub fn strtol(s: *const c_char, endp: *mut *mut c_schar, base: c_int) -> c_long; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:524:77 | 524 | pub fn strtol(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_long; | ^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_long; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:525:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 525 | pub fn strtoll(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_longlong; | ^^^^^^ | help: a type alias with a similar name exists | 525 | pub fn strtoll(s: *const c_schar, endp: *mut *mut c_char, base: c_int) -> c_longlong; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:525:54 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 525 | pub fn strtoll(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_longlong; | ^^^^^^ | help: a type alias with a similar name exists | 525 | pub fn strtoll(s: *const c_char, endp: *mut *mut c_schar, base: c_int) -> c_longlong; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:526:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 526 | pub fn strtoul(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_ulong; | ^^^^^^ | help: a type alias with a similar name exists | 526 | pub fn strtoul(s: *const c_schar, endp: *mut *mut c_char, base: c_int) -> c_ulong; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:526:54 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 526 | pub fn strtoul(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_ulong; | ^^^^^^ | help: a type alias with a similar name exists | 526 | pub fn strtoul(s: *const c_char, endp: *mut *mut c_schar, base: c_int) -> c_ulong; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_ulong` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:526:78 | 526 | pub fn strtoul(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_ulong; | ^^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_ulong; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:527:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 527 | pub fn strtoull(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_ulonglong; | ^^^^^^ | help: a type alias with a similar name exists | 527 | pub fn strtoull(s: *const c_schar, endp: *mut *mut c_char, base: c_int) -> c_ulonglong; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:527:55 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 527 | pub fn strtoull(s: *const c_char, endp: *mut *mut c_char, base: c_int) -> c_ulonglong; | ^^^^^^ | help: a type alias with a similar name exists | 527 | pub fn strtoull(s: *const c_char, endp: *mut *mut c_schar, base: c_int) -> c_ulonglong; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:539:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 539 | pub fn system(s: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 539 | pub fn system(s: *const c_schar) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:540:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 540 | pub fn getenv(s: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 540 | pub fn getenv(s: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:540:45 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 540 | pub fn getenv(s: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 540 | pub fn getenv(s: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:542:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 542 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 542 | pub fn strcpy(dst: *mut c_schar, src: *const c_char) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:542:49 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 542 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 542 | pub fn strcpy(dst: *mut c_char, src: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:542:65 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 542 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 542 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:543:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 543 | pub fn strncpy(dst: *mut c_char, src: *const c_char, n: size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 543 | pub fn strncpy(dst: *mut c_schar, src: *const c_char, n: size_t) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:543:50 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 543 | pub fn strncpy(dst: *mut c_char, src: *const c_char, n: size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 543 | pub fn strncpy(dst: *mut c_char, src: *const c_schar, n: size_t) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:543:77 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 543 | pub fn strncpy(dst: *mut c_char, src: *const c_char, n: size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 543 | pub fn strncpy(dst: *mut c_char, src: *const c_char, n: size_t) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:544:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 544 | pub fn stpcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 544 | pub fn stpcpy(dst: *mut c_schar, src: *const c_char) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:544:49 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 544 | pub fn stpcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 544 | pub fn stpcpy(dst: *mut c_char, src: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:544:65 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 544 | pub fn stpcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 544 | pub fn stpcpy(dst: *mut c_char, src: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:545:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 545 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 545 | pub fn strcat(s: *mut c_schar, ct: *const c_char) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:545:46 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 545 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 545 | pub fn strcat(s: *mut c_char, ct: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:545:62 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 545 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 545 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:546:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 546 | pub fn strncat(s: *mut c_char, ct: *const c_char, n: size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 546 | pub fn strncat(s: *mut c_schar, ct: *const c_char, n: size_t) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:546:47 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 546 | pub fn strncat(s: *mut c_char, ct: *const c_char, n: size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 546 | pub fn strncat(s: *mut c_char, ct: *const c_schar, n: size_t) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:546:74 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 546 | pub fn strncat(s: *mut c_char, ct: *const c_char, n: size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 546 | pub fn strncat(s: *mut c_char, ct: *const c_char, n: size_t) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:547:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 547 | pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 547 | pub fn strcmp(cs: *const c_schar, ct: *const c_char) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:547:49 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 547 | pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 547 | pub fn strcmp(cs: *const c_char, ct: *const c_schar) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:548:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 548 | pub fn strncmp(cs: *const c_char, ct: *const c_char, n: size_t) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 548 | pub fn strncmp(cs: *const c_schar, ct: *const c_char, n: size_t) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:548:50 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 548 | pub fn strncmp(cs: *const c_char, ct: *const c_char, n: size_t) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 548 | pub fn strncmp(cs: *const c_char, ct: *const c_schar, n: size_t) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:549:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 549 | pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 549 | pub fn strcoll(cs: *const c_schar, ct: *const c_char) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:549:50 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 549 | pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 549 | pub fn strcoll(cs: *const c_char, ct: *const c_schar) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:550:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 550 | pub fn strchr(cs: *const c_char, c: c_int) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 550 | pub fn strchr(cs: *const c_schar, c: c_int) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:550:56 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 550 | pub fn strchr(cs: *const c_char, c: c_int) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 550 | pub fn strchr(cs: *const c_char, c: c_int) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:551:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 551 | pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 551 | pub fn strrchr(cs: *const c_schar, c: c_int) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:551:57 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 551 | pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 551 | pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:552:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 552 | pub fn strspn(cs: *const c_char, ct: *const c_char) -> size_t; | ^^^^^^ | help: a type alias with a similar name exists | 552 | pub fn strspn(cs: *const c_schar, ct: *const c_char) -> size_t; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:552:49 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 552 | pub fn strspn(cs: *const c_char, ct: *const c_char) -> size_t; | ^^^^^^ | help: a type alias with a similar name exists | 552 | pub fn strspn(cs: *const c_char, ct: *const c_schar) -> size_t; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:553:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 553 | pub fn strcspn(cs: *const c_char, ct: *const c_char) -> size_t; | ^^^^^^ | help: a type alias with a similar name exists | 553 | pub fn strcspn(cs: *const c_schar, ct: *const c_char) -> size_t; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:553:50 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 553 | pub fn strcspn(cs: *const c_char, ct: *const c_char) -> size_t; | ^^^^^^ | help: a type alias with a similar name exists | 553 | pub fn strcspn(cs: *const c_char, ct: *const c_schar) -> size_t; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:554:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 554 | pub fn strdup(cs: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 554 | pub fn strdup(cs: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:554:46 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 554 | pub fn strdup(cs: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 554 | pub fn strdup(cs: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:555:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 555 | pub fn strndup(cs: *const c_char, n: size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 555 | pub fn strndup(cs: *const c_schar, n: size_t) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:555:58 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 555 | pub fn strndup(cs: *const c_char, n: size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 555 | pub fn strndup(cs: *const c_char, n: size_t) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:556:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 556 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 556 | pub fn strpbrk(cs: *const c_schar, ct: *const c_char) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:556:50 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 556 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 556 | pub fn strpbrk(cs: *const c_char, ct: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:556:66 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 556 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 556 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:557:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 557 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 557 | pub fn strstr(cs: *const c_schar, ct: *const c_char) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:557:49 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 557 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 557 | pub fn strstr(cs: *const c_char, ct: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:557:65 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 557 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 557 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:558:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 558 | pub fn strcasecmp(s1: *const c_char, s2: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 558 | pub fn strcasecmp(s1: *const c_schar, s2: *const c_char) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:558:53 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 558 | pub fn strcasecmp(s1: *const c_char, s2: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 558 | pub fn strcasecmp(s1: *const c_char, s2: *const c_schar) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:559:35 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 559 | pub fn strncasecmp(s1: *const c_char, s2: *const c_char, n: size_t) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 559 | pub fn strncasecmp(s1: *const c_schar, s2: *const c_char, n: size_t) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:559:54 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 559 | pub fn strncasecmp(s1: *const c_char, s2: *const c_char, n: size_t) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 559 | pub fn strncasecmp(s1: *const c_char, s2: *const c_schar, n: size_t) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:560:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 560 | pub fn strlen(cs: *const c_char) -> size_t; | ^^^^^^ | help: a type alias with a similar name exists | 560 | pub fn strlen(cs: *const c_schar) -> size_t; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:561:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 561 | pub fn strnlen(cs: *const c_char, maxlen: size_t) -> size_t; | ^^^^^^ | help: a type alias with a similar name exists | 561 | pub fn strnlen(cs: *const c_schar, maxlen: size_t) -> size_t; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:566:39 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 566 | pub fn strerror(n: c_int) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 566 | pub fn strerror(n: c_int) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:567:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 567 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 567 | pub fn strtok(s: *mut c_schar, t: *const c_char) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:567:45 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 567 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 567 | pub fn strtok(s: *mut c_char, t: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:567:61 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 567 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 567 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:568:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 568 | pub fn strtok_r(s: *mut c_char, t: *const c_char, p: *mut *mut c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 568 | pub fn strtok_r(s: *mut c_schar, t: *const c_char, p: *mut *mut c_char) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:568:47 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 568 | pub fn strtok_r(s: *mut c_char, t: *const c_char, p: *mut *mut c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 568 | pub fn strtok_r(s: *mut c_char, t: *const c_schar, p: *mut *mut c_char) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:568:68 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 568 | pub fn strtok_r(s: *mut c_char, t: *const c_char, p: *mut *mut c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 568 | pub fn strtok_r(s: *mut c_char, t: *const c_char, p: *mut *mut c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:568:84 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 568 | pub fn strtok_r(s: *mut c_char, t: *const c_char, p: *mut *mut c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 568 | pub fn strtok_r(s: *mut c_char, t: *const c_char, p: *mut *mut c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:569:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 569 | pub fn strxfrm(s: *mut c_char, ct: *const c_char, n: size_t) -> size_t; | ^^^^^^ | help: a type alias with a similar name exists | 569 | pub fn strxfrm(s: *mut c_schar, ct: *const c_char, n: size_t) -> size_t; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:569:47 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 569 | pub fn strxfrm(s: *mut c_char, ct: *const c_char, n: size_t) -> size_t; | ^^^^^^ | help: a type alias with a similar name exists | 569 | pub fn strxfrm(s: *mut c_char, ct: *const c_schar, n: size_t) -> size_t; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:570:42 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 570 | pub fn strsignal(sig: c_int) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 570 | pub fn strsignal(sig: c_int) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `wchar_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:571:31 | 571 | pub fn wcslen(buf: *const wchar_t) -> size_t; | ^^^^^^^ not found in this scope error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:572:32 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 572 | pub fn wcstombs(dest: *mut c_char, src: *const wchar_t, n: size_t) -> ::size_t; | ^^^^^^ | help: a type alias with a similar name exists | 572 | pub fn wcstombs(dest: *mut c_schar, src: *const wchar_t, n: size_t) -> ::size_t; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `wchar_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:572:52 | 572 | pub fn wcstombs(dest: *mut c_char, src: *const wchar_t, n: size_t) -> ::size_t; | ^^^^^^^ not found in this scope error[E0412]: cannot find type `wchar_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:575:31 | 575 | pub fn wmemchr(cx: *const wchar_t, c: wchar_t, n: size_t) -> *mut wchar_t; | ^^^^^^^ not found in this scope error[E0412]: cannot find type `wchar_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:575:43 | 575 | pub fn wmemchr(cx: *const wchar_t, c: wchar_t, n: size_t) -> *mut wchar_t; | ^^^^^^^ not found in this scope error[E0412]: cannot find type `wchar_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:575:71 | 575 | pub fn wmemchr(cx: *const wchar_t, c: wchar_t, n: size_t) -> *mut wchar_t; | ^^^^^^^ not found in this scope error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:584:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 584 | pub fn getpwnam(name: *const ::c_char) -> *mut passwd; | ^^^^^^ | help: a type alias with a similar name exists | 584 | pub fn getpwnam(name: *const ::c_schar) -> *mut passwd; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 584 - pub fn getpwnam(name: *const ::c_char) -> *mut passwd; 584 + pub fn getpwnam(name: *const c_char) -> *mut passwd; | error[E0412]: cannot find type `passwd` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:584:52 | 584 | pub fn getpwnam(name: *const ::c_char) -> *mut passwd; | ^^^^^^ not found in this scope error[E0412]: cannot find type `passwd` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:586:43 | 586 | pub fn getpwuid(uid: ::uid_t) -> *mut passwd; | ^^^^^^ not found in this scope error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:588:58 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 588 | pub fn fprintf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 588 | pub fn fprintf(stream: *mut ::FILE, format: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 588 - pub fn fprintf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int; 588 + pub fn fprintf(stream: *mut ::FILE, format: *const c_char, ...) -> ::c_int; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:589:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 589 | pub fn printf(format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 589 | pub fn printf(format: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 589 - pub fn printf(format: *const ::c_char, ...) -> ::c_int; 589 + pub fn printf(format: *const c_char, ...) -> ::c_int; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:590:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 590 | pub fn snprintf(s: *mut ::c_char, n: ::size_t, format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 590 | pub fn snprintf(s: *mut ::c_schar, n: ::size_t, format: *const ::c_char, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 590 - pub fn snprintf(s: *mut ::c_char, n: ::size_t, format: *const ::c_char, ...) -> ::c_int; 590 + pub fn snprintf(s: *mut c_char, n: ::size_t, format: *const ::c_char, ...) -> ::c_int; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:590:69 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 590 | pub fn snprintf(s: *mut ::c_char, n: ::size_t, format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 590 | pub fn snprintf(s: *mut ::c_char, n: ::size_t, format: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 590 - pub fn snprintf(s: *mut ::c_char, n: ::size_t, format: *const ::c_char, ...) -> ::c_int; 590 + pub fn snprintf(s: *mut ::c_char, n: ::size_t, format: *const c_char, ...) -> ::c_int; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:591:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 591 | pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 591 | pub fn sprintf(s: *mut ::c_schar, format: *const ::c_char, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 591 - pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int; 591 + pub fn sprintf(s: *mut c_char, format: *const ::c_char, ...) -> ::c_int; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:591:55 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 591 | pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 591 | pub fn sprintf(s: *mut ::c_char, format: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 591 - pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int; 591 + pub fn sprintf(s: *mut ::c_char, format: *const c_char, ...) -> ::c_int; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:596:57 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 596 | pub fn fscanf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 596 | pub fn fscanf(stream: *mut ::FILE, format: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 596 - pub fn fscanf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int; 596 + pub fn fscanf(stream: *mut ::FILE, format: *const c_char, ...) -> ::c_int; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:601:35 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 601 | pub fn scanf(format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 601 | pub fn scanf(format: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 601 - pub fn scanf(format: *const ::c_char, ...) -> ::c_int; 601 + pub fn scanf(format: *const c_char, ...) -> ::c_int; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:606:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 606 | pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 606 | pub fn sscanf(s: *const ::c_schar, format: *const ::c_char, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 606 - pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int; 606 + pub fn sscanf(s: *const c_char, format: *const ::c_char, ...) -> ::c_int; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:606:56 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 606 | pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 606 | pub fn sscanf(s: *const ::c_char, format: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 606 - pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int; 606 + pub fn sscanf(s: *const ::c_char, format: *const c_char, ...) -> ::c_int; | error[E0412]: cannot find type `sockaddr` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:630:53 | 630 | pub fn connect(socket: ::c_int, address: *const sockaddr, len: socklen_t) -> ::c_int; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `socklen_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:630:68 | 52 | pub type locale_t = *mut ::c_void; | ---------------------------------- similarly named type alias `locale_t` defined here ... 630 | 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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:647:50 | 647 | pub fn accept(socket: ::c_int, address: *mut sockaddr, address_len: *mut socklen_t) -> ::c_int; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `socklen_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:647:78 | 52 | pub type locale_t = *mut ::c_void; | ---------------------------------- similarly named type alias `locale_t` defined here ... 647 | 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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:660:23 | 660 | address: *mut sockaddr, | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `socklen_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:661:27 | 52 | pub type locale_t = *mut ::c_void; | ---------------------------------- similarly named type alias `locale_t` defined here ... 661 | 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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:675:23 | 675 | address: *mut sockaddr, | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `socklen_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:676:27 | 52 | pub type locale_t = *mut ::c_void; | ---------------------------------- similarly named type alias `locale_t` defined here ... 676 | 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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:684:21 | 52 | pub type locale_t = *mut ::c_void; | ---------------------------------- similarly named type alias `locale_t` defined here ... 684 | option_len: socklen_t, | ^^^^^^^^^ help: a type alias with a similar name exists: `locale_t` error[E0412]: cannot find type `sockaddr` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:713:22 | 713 | addr: *const sockaddr, | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `socklen_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:714:18 | 52 | pub type locale_t = *mut ::c_void; | ---------------------------------- similarly named type alias `locale_t` defined here ... 714 | addrlen: socklen_t, | ^^^^^^^^^ help: a type alias with a similar name exists: `locale_t` error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:723:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 723 | pub fn chmod(path: *const c_char, mode: mode_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 723 | pub fn chmod(path: *const c_schar, mode: mode_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `mode_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:723:45 | 723 | pub fn chmod(path: *const c_char, mode: mode_t) -> ::c_int; | ^^^^^^ not found in this scope error[E0412]: cannot find type `mode_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:728:38 | 728 | pub fn fchmod(fd: ::c_int, mode: mode_t) -> ::c_int; | ^^^^^^ not found in this scope error[E0573]: expected type, found function `stat` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:739:45 | 739 | pub fn fstat(fildes: ::c_int, buf: *mut stat) -> ::c_int; | ^^^^ not a type error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:741:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 741 | pub fn mkdir(path: *const c_char, mode: mode_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 741 | pub fn mkdir(path: *const c_schar, mode: mode_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `mode_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:741:45 | 741 | pub fn mkdir(path: *const c_char, mode: mode_t) -> ::c_int; | ^^^^^^ not found in this scope error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:752:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 752 | pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 752 | pub fn stat(path: *const c_schar, buf: *mut stat) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0573]: expected type, found function `stat` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:752:48 | 752 | pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int; | ^^^^ not a type error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:759:45 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 759 | pub fn fdopen(fd: ::c_int, mode: *const c_char) -> *mut ::FILE; | ^^^^^^ | help: a type alias with a similar name exists | 759 | pub fn fdopen(fd: ::c_int, mode: *const c_schar) -> *mut ::FILE; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:766:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 766 | pub fn open(path: *const c_char, oflag: ::c_int, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 766 | pub fn open(path: *const c_schar, oflag: ::c_int, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:771:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 771 | pub fn creat(path: *const c_char, mode: mode_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 771 | pub fn creat(path: *const c_schar, mode: mode_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `mode_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:771:45 | 771 | pub fn creat(path: *const c_char, mode: mode_t) -> ::c_int; | ^^^^^^ not found in this scope error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:787:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 787 | pub fn opendir(dirname: *const c_char) -> *mut ::DIR; | ^^^^^^ | help: a type alias with a similar name exists | 787 | pub fn opendir(dirname: *const c_schar) -> *mut ::DIR; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `dirent` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:798:48 | 798 | pub fn readdir(dirp: *mut ::DIR) -> *mut ::dirent; | ^^^^^^ not found in the crate root error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:816:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 816 | pathname: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 816 | pathname: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 816 - pathname: *const ::c_char, 816 + pathname: *const c_char, | error[E0412]: cannot find type `mode_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:817:17 | 817 | mode: ::mode_t, | ^^^^^^ not found in the crate root error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:823:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 823 | pathname: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 823 | pathname: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 823 - pathname: *const ::c_char, 823 + pathname: *const c_char, | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:838:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 838 | pathname: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 838 | pathname: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 838 - pathname: *const ::c_char, 838 + pathname: *const c_char, | error[E0573]: expected type, found function `stat` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:839:19 | 839 | buf: *mut stat, | ^^^^ not a type error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:844:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 844 | oldpath: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 844 | oldpath: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 844 - oldpath: *const ::c_char, 844 + oldpath: *const c_char, | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:846:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 846 | newpath: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 846 | newpath: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 846 - newpath: *const ::c_char, 846 + newpath: *const c_char, | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:851:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 851 | oldpath: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 851 | oldpath: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 851 - oldpath: *const ::c_char, 851 + oldpath: *const c_char, | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:853:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 853 | newpath: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 853 | newpath: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 853 - newpath: *const ::c_char, 853 + newpath: *const c_char, | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:856:26 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 856 | target: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 856 | target: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 856 - target: *const ::c_char, 856 + target: *const c_char, | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:858:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 858 | linkpath: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 858 | linkpath: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 858 - linkpath: *const ::c_char, 858 + linkpath: *const c_char, | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:860:56 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 860 | pub fn unlinkat(dirfd: ::c_int, pathname: *const ::c_char, flags: ::c_int) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 860 | pub fn unlinkat(dirfd: ::c_int, pathname: *const ::c_schar, flags: ::c_int) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 860 - pub fn unlinkat(dirfd: ::c_int, pathname: *const ::c_char, flags: ::c_int) -> ::c_int; 860 + pub fn unlinkat(dirfd: ::c_int, pathname: *const c_char, flags: ::c_int) -> ::c_int; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:862:32 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 862 | pub fn access(path: *const c_char, amode: ::c_int) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 862 | pub fn access(path: *const c_schar, amode: ::c_int) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:864:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 864 | pub fn chdir(dir: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 864 | pub fn chdir(dir: *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:866:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 866 | pub fn chown(path: *const c_char, uid: uid_t, gid: gid_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 866 | pub fn chown(path: *const c_schar, uid: uid_t, gid: gid_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:871:32 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 871 | pub fn lchown(path: *const c_char, uid: uid_t, gid: gid_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 871 | pub fn lchown(path: *const c_schar, uid: uid_t, gid: gid_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:883:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 883 | pub fn execl(path: *const c_char, arg0: *const c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 883 | pub fn execl(path: *const c_schar, arg0: *const c_char, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:883:52 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 883 | pub fn execl(path: *const c_char, arg0: *const c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 883 | pub fn execl(path: *const c_char, arg0: *const c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:884:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 884 | pub fn execle(path: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 884 | pub fn execle(path: *const ::c_schar, arg0: *const ::c_char, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 884 - pub fn execle(path: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; 884 + pub fn execle(path: *const c_char, arg0: *const ::c_char, ...) -> ::c_int; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:884:57 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 884 | pub fn execle(path: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 884 | pub fn execle(path: *const ::c_char, arg0: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 884 - pub fn execle(path: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; 884 + pub fn execle(path: *const ::c_char, arg0: *const c_char, ...) -> ::c_int; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:885:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 885 | pub fn execlp(file: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 885 | pub fn execlp(file: *const ::c_schar, arg0: *const ::c_char, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 885 - pub fn execlp(file: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; 885 + pub fn execlp(file: *const c_char, arg0: *const ::c_char, ...) -> ::c_int; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:885:57 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 885 | pub fn execlp(file: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 885 | pub fn execlp(file: *const ::c_char, arg0: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 885 - pub fn execlp(file: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; 885 + pub fn execlp(file: *const ::c_char, arg0: *const c_char, ...) -> ::c_int; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:886:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 886 | pub fn execv(prog: *const c_char, argv: *const *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 886 | pub fn execv(prog: *const c_schar, argv: *const *const c_char) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:886:59 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 886 | pub fn execv(prog: *const c_char, argv: *const *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 886 | pub fn execv(prog: *const c_char, argv: *const *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:888:22 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 888 | prog: *const c_char, | ^^^^^^ | help: a type alias with a similar name exists | 888 | prog: *const c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:889:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 889 | argv: *const *const c_char, | ^^^^^^ | help: a type alias with a similar name exists | 889 | argv: *const *const c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:890:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 890 | envp: *const *const c_char, | ^^^^^^ | help: a type alias with a similar name exists | 890 | envp: *const *const c_schar, | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:892:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 892 | pub fn execvp(c: *const c_char, argv: *const *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 892 | pub fn execvp(c: *const c_schar, argv: *const *const c_char) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:892:57 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 892 | pub fn execvp(c: *const c_char, argv: *const *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 892 | pub fn execvp(c: *const c_char, argv: *const *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:894:58 | 894 | pub fn fpathconf(filedes: ::c_int, name: ::c_int) -> c_long; | ^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_long; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:895:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 895 | pub fn getcwd(buf: *mut c_char, size: ::size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 895 | pub fn getcwd(buf: *mut c_schar, size: ::size_t) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:895:61 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 895 | pub fn getcwd(buf: *mut c_char, size: ::size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 895 | pub fn getcwd(buf: *mut c_char, size: ::size_t) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:901:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 901 | pub fn getlogin() -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 901 | pub fn getlogin() -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:906:52 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 906 | pub fn getopt(argc: ::c_int, argv: *const *mut c_char, optstr: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 906 | pub fn getopt(argc: ::c_int, argv: *const *mut c_schar, optstr: *const c_char) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:906:75 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 906 | pub fn getopt(argc: ::c_int, argv: *const *mut c_char, optstr: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 906 | pub fn getopt(argc: ::c_int, argv: *const *mut c_char, optstr: *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:913:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 913 | pub fn link(src: *const c_char, dst: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 913 | pub fn link(src: *const c_schar, dst: *const c_char) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:913:49 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 913 | pub fn link(src: *const c_char, dst: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 913 | pub fn link(src: *const c_char, dst: *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `off_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:914:39 | 914 | pub fn lseek(fd: ::c_int, offset: off_t, whence: ::c_int) -> off_t; | ^^^^^ not found in this scope error[E0412]: cannot find type `off_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:914:66 | 914 | pub fn lseek(fd: ::c_int, offset: off_t, whence: ::c_int) -> off_t; | ^^^^^ not found in this scope error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:915:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 915 | pub fn pathconf(path: *const c_char, name: ::c_int) -> c_long; | ^^^^^^ | help: a type alias with a similar name exists | 915 | pub fn pathconf(path: *const c_schar, name: ::c_int) -> c_long; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_long` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:915:60 | 915 | pub fn pathconf(path: *const c_char, name: ::c_int) -> c_long; | ^^^^^^ not found in this scope | help: consider importing this type alias | 1604+ use ffi::c_long; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:923:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 923 | pub fn rmdir(path: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 923 | pub fn rmdir(path: *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:945:41 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 945 | pub fn ttyname(fd: ::c_int) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 945 | pub fn ttyname(fd: ::c_int) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:951:45 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 951 | pub fn ttyname_r(fd: ::c_int, buf: *mut c_char, buflen: ::size_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 951 | pub fn ttyname_r(fd: ::c_int, buf: *mut c_schar, buflen: ::size_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:952:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 952 | pub fn unlink(c: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 952 | pub fn unlink(c: *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `off_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:972:76 | 972 | pub fn pread(fd: ::c_int, buf: *mut ::c_void, count: ::size_t, offset: off_t) -> ::ssize_t; | ^^^^^ not found in this scope error[E0412]: cannot find type `off_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:977:79 | 977 | pub fn pwrite(fd: ::c_int, buf: *const ::c_void, count: ::size_t, offset: off_t) -> ::ssize_t; | ^^^^^ not found in this scope error[E0412]: cannot find type `mode_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:978:24 | 978 | pub fn umask(mask: mode_t) -> mode_t; | ^^^^^^ not found in this scope error[E0412]: cannot find type `mode_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:978:35 | 978 | pub fn umask(mask: mode_t) -> mode_t; | ^^^^^^ not found in this scope error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:981:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 981 | pub fn utime(file: *const c_char, buf: *const utimbuf) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 981 | pub fn utime(file: *const c_schar, buf: *const utimbuf) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604+ use ffi::c_char; | error[E0412]: cannot find type `off_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1009:17 | 1009 | offset: off_t, | ^^^^^ not found in this scope error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1017:42 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1017 | pub fn if_nametoindex(ifname: *const c_char) -> ::c_uint; | ^^^^^^ | help: a type alias with a similar name exists | 1017 | pub fn if_nametoindex(ifname: *const c_schar) -> ::c_uint; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1018:61 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1018 | pub fn if_indextoname(ifindex: ::c_uint, ifname: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1018 | pub fn if_indextoname(ifindex: ::c_uint, ifname: *mut ::c_schar) -> *mut ::c_char; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1018 - pub fn if_indextoname(ifindex: ::c_uint, ifname: *mut ::c_char) -> *mut ::c_char; 1018 + pub fn if_indextoname(ifindex: ::c_uint, ifname: *mut c_char) -> *mut ::c_char; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1018:79 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1018 | pub fn if_indextoname(ifindex: ::c_uint, ifname: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1018 | pub fn if_indextoname(ifindex: ::c_uint, ifname: *mut ::c_char) -> *mut ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1018 - pub fn if_indextoname(ifindex: ::c_uint, ifname: *mut ::c_char) -> *mut ::c_char; 1018 + pub fn if_indextoname(ifindex: ::c_uint, ifname: *mut ::c_char) -> *mut c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1029:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1029 | pub fn lstat(path: *const c_char, buf: *mut stat) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1029 | pub fn lstat(path: *const c_schar, buf: *mut stat) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0573]: expected type, found function `stat` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1029:49 | 1029 | pub fn lstat(path: *const c_char, buf: *mut stat) -> ::c_int; | ^^^^ not a type error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1041:32 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1041 | pub fn setenv(name: *const c_char, val: *const c_char, overwrite: ::c_int) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1041 | pub fn setenv(name: *const c_schar, val: *const c_char, overwrite: ::c_int) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1041:52 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1041 | pub fn setenv(name: *const c_char, val: *const c_char, overwrite: ::c_int) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1041 | pub fn setenv(name: *const c_char, val: *const c_schar, overwrite: ::c_int) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1047:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1047 | pub fn unsetenv(name: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1047 | pub fn unsetenv(name: *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1049:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1049 | pub fn symlink(path1: *const c_char, path2: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1049 | pub fn symlink(path1: *const c_schar, path2: *const c_char) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1049:56 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1049 | pub fn symlink(path1: *const c_char, path2: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1049 | pub fn symlink(path1: *const c_char, path2: *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1051:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1051 | pub fn truncate(path: *const c_char, length: off_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1051 | pub fn truncate(path: *const c_schar, length: off_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `off_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1051:50 | 1051 | pub fn truncate(path: *const c_char, length: off_t) -> ::c_int; | ^^^^^ not found in this scope error[E0412]: cannot find type `off_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1052:43 | 1052 | pub fn ftruncate(fd: ::c_int, length: off_t) -> ::c_int; | ^^^^^ not found in this scope error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1068:40 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1068 | pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1068 | pub fn realpath(pathname: *const ::c_schar, resolved: *mut ::c_char) -> *mut ::c_char; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1068 - pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) -> *mut ::c_char; 1068 + pub fn realpath(pathname: *const c_char, resolved: *mut ::c_char) -> *mut ::c_char; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1068:65 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1068 | pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1068 | pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_schar) -> *mut ::c_char; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1068 - pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) -> *mut ::c_char; 1068 + pub fn realpath(pathname: *const ::c_char, resolved: *mut c_char) -> *mut ::c_char; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1068:83 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1068 | pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1068 | pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) -> *mut ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1068 - pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) -> *mut ::c_char; 1068 + pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) -> *mut c_char; | error[E0412]: cannot find type `clock_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1073:40 | 1073 | pub fn times(buf: *mut ::tms) -> ::clock_t; | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `pthread_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1075:32 | 1075 | pub fn pthread_self() -> ::pthread_t; | ^^^^^^^^^ not found in the crate root error[E0412]: cannot find type `pthread_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1080:35 | 1080 | pub fn pthread_join(native: ::pthread_t, value: *mut *mut ::c_void) -> ::c_int; | ^^^^^^^^^ not found in the crate root error[E0412]: cannot find type `pthread_attr_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1082:43 | 1082 | pub fn pthread_attr_init(attr: *mut ::pthread_attr_t) -> ::c_int; | ^^^^^^^^^^^^^^ not found in the crate root error[E0412]: cannot find type `pthread_attr_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1083:46 | 1083 | pub fn pthread_attr_destroy(attr: *mut ::pthread_attr_t) -> ::c_int; | ^^^^^^^^^^^^^^ not found in the crate root error[E0412]: cannot find type `pthread_attr_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1084:51 | 1084 | pub fn pthread_attr_setstacksize(attr: *mut ::pthread_attr_t, stack_size: ::size_t) -> ::c_int; | ^^^^^^^^^^^^^^ not found in the crate root error[E0412]: cannot find type `pthread_attr_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1085:53 | 1085 | pub fn pthread_attr_setdetachstate(attr: *mut ::pthread_attr_t, state: ::c_int) -> ::c_int; | ^^^^^^^^^^^^^^ not found in the crate root error[E0412]: cannot find type `pthread_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1086:37 | 1086 | pub fn pthread_detach(thread: ::pthread_t) -> ::c_int; | ^^^^^^^^^ not found in the crate root error[E0412]: cannot find type `pthread_key_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1090:19 | 1090 | key: *mut pthread_key_t, | ^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_key_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1093:36 | 1093 | pub fn pthread_key_delete(key: pthread_key_t) -> ::c_int; | ^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_key_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1094:37 | 1094 | pub fn pthread_getspecific(key: pthread_key_t) -> *mut ::c_void; | ^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_key_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1095:37 | 1095 | pub fn pthread_setspecific(key: pthread_key_t, value: *const ::c_void) -> ::c_int; | ^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_mutex_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1097:20 | 1097 | lock: *mut pthread_mutex_t, | ^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_mutexattr_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1098:22 | 1098 | attr: *const pthread_mutexattr_t, | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_mutex_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1100:45 | 1100 | pub fn pthread_mutex_destroy(lock: *mut pthread_mutex_t) -> ::c_int; | ^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_mutex_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1101:42 | 1101 | pub fn pthread_mutex_lock(lock: *mut pthread_mutex_t) -> ::c_int; | ^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_mutex_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1102:45 | 1102 | pub fn pthread_mutex_trylock(lock: *mut pthread_mutex_t) -> ::c_int; | ^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_mutex_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1103:44 | 1103 | pub fn pthread_mutex_unlock(lock: *mut pthread_mutex_t) -> ::c_int; | ^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_mutexattr_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1105:46 | 1105 | pub fn pthread_mutexattr_init(attr: *mut pthread_mutexattr_t) -> ::c_int; | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_mutexattr_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1110:49 | 1110 | pub fn pthread_mutexattr_destroy(attr: *mut pthread_mutexattr_t) -> ::c_int; | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_mutexattr_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1111:49 | 1111 | pub fn pthread_mutexattr_settype(attr: *mut pthread_mutexattr_t, _type: ::c_int) -> ::c_int; | ^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_cond_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1117:41 | 1117 | pub fn pthread_cond_init(cond: *mut pthread_cond_t, attr: *const pthread_condattr_t) | ^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_condattr_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1117:70 | 1117 | pub fn pthread_cond_init(cond: *mut pthread_cond_t, attr: *const pthread_condattr_t) | ^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_cond_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1123:41 | 1123 | pub fn pthread_cond_wait(cond: *mut pthread_cond_t, lock: *mut pthread_mutex_t) -> ::c_int; | ^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_mutex_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1123:68 | 1123 | pub fn pthread_cond_wait(cond: *mut pthread_cond_t, lock: *mut pthread_mutex_t) -> ::c_int; | ^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_cond_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1129:20 | 1129 | cond: *mut pthread_cond_t, | ^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_mutex_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1130:20 | 1130 | lock: *mut pthread_mutex_t, | ^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_cond_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1133:43 | 1133 | pub fn pthread_cond_signal(cond: *mut pthread_cond_t) -> ::c_int; | ^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_cond_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1134:46 | 1134 | pub fn pthread_cond_broadcast(cond: *mut pthread_cond_t) -> ::c_int; | ^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_cond_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1135:44 | 1135 | pub fn pthread_cond_destroy(cond: *mut pthread_cond_t) -> ::c_int; | ^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_condattr_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1136:45 | 1136 | pub fn pthread_condattr_init(attr: *mut pthread_condattr_t) -> ::c_int; | ^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_condattr_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1137:48 | 1137 | pub fn pthread_condattr_destroy(attr: *mut pthread_condattr_t) -> ::c_int; | ^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_rwlock_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1143:20 | 1143 | lock: *mut pthread_rwlock_t, | ^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_rwlockattr_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1144:22 | 1144 | attr: *const pthread_rwlockattr_t, | ^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_rwlock_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1150:46 | 1150 | pub fn pthread_rwlock_destroy(lock: *mut pthread_rwlock_t) -> ::c_int; | ^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_rwlock_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1155:45 | 1155 | pub fn pthread_rwlock_rdlock(lock: *mut pthread_rwlock_t) -> ::c_int; | ^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_rwlock_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1160:48 | 1160 | pub fn pthread_rwlock_tryrdlock(lock: *mut pthread_rwlock_t) -> ::c_int; | ^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_rwlock_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1165:45 | 1165 | pub fn pthread_rwlock_wrlock(lock: *mut pthread_rwlock_t) -> ::c_int; | ^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_rwlock_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1170:48 | 1170 | pub fn pthread_rwlock_trywrlock(lock: *mut pthread_rwlock_t) -> ::c_int; | ^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_rwlock_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1175:45 | 1175 | pub fn pthread_rwlock_unlock(lock: *mut pthread_rwlock_t) -> ::c_int; | ^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_rwlockattr_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1176:47 | 1176 | pub fn pthread_rwlockattr_init(attr: *mut pthread_rwlockattr_t) -> ::c_int; | ^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `pthread_rwlockattr_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1177:50 | 1177 | pub fn pthread_rwlockattr_destroy(attr: *mut pthread_rwlockattr_t) -> ::c_int; | ^^^^^^^^^^^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `socklen_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1186:24 | 52 | pub type locale_t = *mut ::c_void; | ---------------------------------- similarly named type alias `locale_t` defined here ... 1186 | optlen: *mut ::socklen_t, | ^^^^^^^^^ help: a type alias with a similar name exists: `locale_t` error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1191:38 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1191 | pub fn utimes(filename: *const ::c_char, times: *const ::timeval) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1191 | pub fn utimes(filename: *const ::c_schar, times: *const ::timeval) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1191 - pub fn utimes(filename: *const ::c_char, times: *const ::timeval) -> ::c_int; 1191 + pub fn utimes(filename: *const c_char, times: *const ::timeval) -> ::c_int; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1192:38 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1192 | pub fn dlopen(filename: *const ::c_char, flag: ::c_int) -> *mut ::c_void; | ^^^^^^ | help: a type alias with a similar name exists | 1192 | pub fn dlopen(filename: *const ::c_schar, flag: ::c_int) -> *mut ::c_void; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1192 - pub fn dlopen(filename: *const ::c_char, flag: ::c_int) -> *mut ::c_void; 1192 + pub fn dlopen(filename: *const c_char, flag: ::c_int) -> *mut ::c_void; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1193:32 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1193 | pub fn dlerror() -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1193 | pub fn dlerror() -> *mut ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1193 - pub fn dlerror() -> *mut ::c_char; 1193 + pub fn dlerror() -> *mut c_char; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1194:58 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1194 | pub fn dlsym(handle: *mut ::c_void, symbol: *const ::c_char) -> *mut ::c_void; | ^^^^^^ | help: a type alias with a similar name exists | 1194 | pub fn dlsym(handle: *mut ::c_void, symbol: *const ::c_schar) -> *mut ::c_void; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1194 - pub fn dlsym(handle: *mut ::c_void, symbol: *const ::c_char) -> *mut ::c_void; 1194 + pub fn dlsym(handle: *mut ::c_void, symbol: *const c_char) -> *mut ::c_void; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1205:22 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1205 | node: *const c_char, | ^^^^^^ | help: a type alias with a similar name exists | 1205 | node: *const c_schar, | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1206:25 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1206 | service: *const c_char, | ^^^^^^ | help: a type alias with a similar name exists | 1206 | service: *const c_schar, | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `addrinfo` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1207:23 | 1207 | hints: *const addrinfo, | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `addrinfo` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1208:24 | 1208 | res: *mut *mut addrinfo, | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `addrinfo` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1216:35 | 1216 | pub fn freeaddrinfo(res: *mut addrinfo); | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1217:52 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1217 | pub fn hstrerror(errcode: ::c_int) -> *const ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1217 | pub fn hstrerror(errcode: ::c_int) -> *const ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1217 - pub fn hstrerror(errcode: ::c_int) -> *const ::c_char; 1217 + pub fn hstrerror(errcode: ::c_int) -> *const c_char; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1218:55 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1218 | pub fn gai_strerror(errcode: ::c_int) -> *const ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1218 | pub fn gai_strerror(errcode: ::c_int) -> *const ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1218 - pub fn gai_strerror(errcode: ::c_int) -> *const ::c_char; 1218 + pub fn gai_strerror(errcode: ::c_int) -> *const c_char; | error[E0412]: cannot find type `time_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1245:36 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1245 | 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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1245:57 | 1245 | pub fn gmtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; | ^^ help: a struct with a similar name exists: `tms` | ::: /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/macros.rs:77:13 | 77 | pub struct $i { $($field)* } | ------------- similarly named struct `tms` defined here error[E0412]: cannot find type `tm` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1245:69 | 1245 | pub fn gmtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; | ^^ help: a struct with a similar name exists: `tms` | ::: /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/macros.rs:77:13 | 77 | pub struct $i { $($field)* } | ------------- similarly named struct `tms` defined here error[E0412]: cannot find type `time_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1249:39 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1249 | 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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1249:60 | 1249 | pub fn localtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; | ^^ help: a struct with a similar name exists: `tms` | ::: /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/macros.rs:77:13 | 77 | pub struct $i { $($field)* } | ------------- similarly named struct `tms` defined here error[E0412]: cannot find type `tm` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1249:72 | 1249 | pub fn localtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm; | ^^ help: a struct with a similar name exists: `tms` | ::: /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/macros.rs:77:13 | 77 | pub struct $i { $($field)* } | ------------- similarly named struct `tms` defined here error[E0412]: cannot find type `tm` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1257:28 | 1257 | pub fn mktime(tm: *mut tm) -> time_t; | ^^ help: a struct with a similar name exists: `tms` | ::: /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/macros.rs:77:13 | 77 | pub struct $i { $($field)* } | ------------- similarly named struct `tms` defined here error[E0412]: cannot find type `time_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1257:35 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1257 | 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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1261:28 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1261 | 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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1261:39 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1261 | 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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1265:34 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1265 | 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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1265:50 | 1265 | pub fn gmtime(time_p: *const time_t) -> *mut tm; | ^^ help: a struct with a similar name exists: `tms` | ::: /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/macros.rs:77:13 | 77 | pub struct $i { $($field)* } | ------------- similarly named struct `tms` defined here error[E0412]: cannot find type `time_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1269:37 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1269 | 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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1269:53 | 1269 | pub fn localtime(time_p: *const time_t) -> *mut tm; | ^^ help: a struct with a similar name exists: `tms` | ::: /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/macros.rs:77:13 | 77 | pub struct $i { $($field)* } | ------------- similarly named struct `tms` defined here error[E0412]: cannot find type `time_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1273:28 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1273 | 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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1273:43 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1273 | 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 --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1277:30 | 1277 | pub fn timegm(tm: *mut ::tm) -> time_t; | ^^ help: a struct with a similar name exists: `tms` | ::: /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/macros.rs:77:13 | 77 | pub struct $i { $($field)* } | ------------- similarly named struct `tms` defined here error[E0412]: cannot find type `time_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1277:37 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1277 | pub fn timegm(tm: *mut ::tm) -> time_t; | ^^^^^^ help: a type alias with a similar name exists: `size_t` error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1284:37 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1284 | pub fn mknod(pathname: *const ::c_char, mode: ::mode_t, dev: ::dev_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1284 | pub fn mknod(pathname: *const ::c_schar, mode: ::mode_t, dev: ::dev_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1284 - pub fn mknod(pathname: *const ::c_char, mode: ::mode_t, dev: ::dev_t) -> ::c_int; 1284 + pub fn mknod(pathname: *const c_char, mode: ::mode_t, dev: ::dev_t) -> ::c_int; | error[E0412]: cannot find type `mode_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1284:53 | 1284 | pub fn mknod(pathname: *const ::c_char, mode: ::mode_t, dev: ::dev_t) -> ::c_int; | ^^^^^^ not found in the crate root error[E0412]: cannot find type `dev_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1284:68 | 1284 | pub fn mknod(pathname: *const ::c_char, mode: ::mode_t, dev: ::dev_t) -> ::c_int; | ^^^^^ not found in the crate root error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1285:37 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1285 | pub fn gethostname(name: *mut ::c_char, len: ::size_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1285 | pub fn gethostname(name: *mut ::c_schar, len: ::size_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1285 - pub fn gethostname(name: *mut ::c_char, len: ::size_t) -> ::c_int; 1285 + pub fn gethostname(name: *mut c_char, len: ::size_t) -> ::c_int; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1287:41 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1287 | pub fn getservbyname(name: *const ::c_char, proto: *const ::c_char) -> *mut servent; | ^^^^^^ | help: a type alias with a similar name exists | 1287 | pub fn getservbyname(name: *const ::c_schar, proto: *const ::c_char) -> *mut servent; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1287 - pub fn getservbyname(name: *const ::c_char, proto: *const ::c_char) -> *mut servent; 1287 + pub fn getservbyname(name: *const c_char, proto: *const ::c_char) -> *mut servent; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1287:65 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1287 | pub fn getservbyname(name: *const ::c_char, proto: *const ::c_char) -> *mut servent; | ^^^^^^ | help: a type alias with a similar name exists | 1287 | pub fn getservbyname(name: *const ::c_char, proto: *const ::c_schar) -> *mut servent; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1287 - pub fn getservbyname(name: *const ::c_char, proto: *const ::c_char) -> *mut servent; 1287 + pub fn getservbyname(name: *const ::c_char, proto: *const c_char) -> *mut servent; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1288:57 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1288 | pub fn getservbyport(port: ::c_int, proto: *const ::c_char) -> *mut servent; | ^^^^^^ | help: a type alias with a similar name exists | 1288 | pub fn getservbyport(port: ::c_int, proto: *const ::c_schar) -> *mut servent; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1288 - pub fn getservbyport(port: ::c_int, proto: *const ::c_char) -> *mut servent; 1288 + pub fn getservbyport(port: ::c_int, proto: *const c_char) -> *mut servent; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1291:42 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1291 | pub fn getprotobyname(name: *const ::c_char) -> *mut protoent; | ^^^^^^ | help: a type alias with a similar name exists | 1291 | pub fn getprotobyname(name: *const ::c_schar) -> *mut protoent; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1291 - pub fn getprotobyname(name: *const ::c_char) -> *mut protoent; 1291 + pub fn getprotobyname(name: *const c_char) -> *mut protoent; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1293:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1293 | pub fn chroot(name: *const ::c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1293 | pub fn chroot(name: *const ::c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1293 - pub fn chroot(name: *const ::c_char) -> ::c_int; 1293 + pub fn chroot(name: *const c_char) -> ::c_int; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1316:32 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1316 | pub fn putenv(string: *mut c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1316 | pub fn putenv(string: *mut c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `nfds_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1321:41 | 1321 | pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: ::c_int) -> ::c_int; | ^^^^^^ not found in this scope error[E0412]: cannot find type `fd_set` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1333:23 | 1333 | readfds: *mut fd_set, | ^^^^^^ not found in this scope error[E0412]: cannot find type `fd_set` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1334:24 | 1334 | writefds: *mut fd_set, | ^^^^^^ not found in this scope error[E0412]: cannot find type `fd_set` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1335:24 | 1335 | errorfds: *mut fd_set, | ^^^^^^ not found in this scope error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1339:58 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1339 | pub fn setlocale(category: ::c_int, locale: *const ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1339 | pub fn setlocale(category: ::c_int, locale: *const ::c_schar) -> *mut ::c_char; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1339 - pub fn setlocale(category: ::c_int, locale: *const ::c_char) -> *mut ::c_char; 1339 + pub fn setlocale(category: ::c_int, locale: *const c_char) -> *mut ::c_char; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1339:76 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1339 | pub fn setlocale(category: ::c_int, locale: *const ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1339 | pub fn setlocale(category: ::c_int, locale: *const ::c_char) -> *mut ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1339 - pub fn setlocale(category: ::c_int, locale: *const ::c_char) -> *mut ::c_char; 1339 + pub fn setlocale(category: ::c_int, locale: *const ::c_char) -> *mut c_char; | error[E0412]: cannot find type `lconv` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1340:33 | 1340 | pub fn localeconv() -> *mut lconv; | ^^^^^ not found in this scope error[E0412]: cannot find type `sem_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1346:31 | 1346 | pub fn sem_wait(sem: *mut sem_t) -> ::c_int; | ^^^^^ not found in this scope error[E0412]: cannot find type `sem_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1347:34 | 1347 | pub fn sem_trywait(sem: *mut sem_t) -> ::c_int; | ^^^^^ not found in this scope error[E0412]: cannot find type `sem_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1348:31 | 1348 | pub fn sem_post(sem: *mut sem_t) -> ::c_int; | ^^^^^ not found in this scope error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1349:33 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1349 | pub fn statvfs(path: *const c_char, buf: *mut statvfs) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1349 | pub fn statvfs(path: *const c_schar, buf: *mut statvfs) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0573]: expected type, found function `statvfs` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1349:51 | 1349 | pub fn statvfs(path: *const c_char, buf: *mut statvfs) -> ::c_int; | ^^^^^^^ not a type error[E0573]: expected type, found function `statvfs` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1350:44 | 1350 | pub fn fstatvfs(fd: ::c_int, buf: *mut statvfs) -> ::c_int; | ^^^^^^^ not a type error[E0412]: cannot find type `sigset_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1353:34 | 1353 | pub fn sigemptyset(set: *mut sigset_t) -> ::c_int; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `sigset_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1355:32 | 1355 | pub fn sigaddset(set: *mut sigset_t, signum: ::c_int) -> ::c_int; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `sigset_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1357:33 | 1357 | pub fn sigfillset(set: *mut sigset_t) -> ::c_int; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `sigset_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1359:32 | 1359 | pub fn sigdelset(set: *mut sigset_t, signum: ::c_int) -> ::c_int; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `sigset_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1361:36 | 1361 | pub fn sigismember(set: *const sigset_t, signum: ::c_int) -> ::c_int; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `sigset_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1364:50 | 1364 | pub fn sigprocmask(how: ::c_int, set: *const sigset_t, oldset: *mut sigset_t) -> ::c_int; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `sigset_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1364:73 | 1364 | pub fn sigprocmask(how: ::c_int, set: *const sigset_t, oldset: *mut sigset_t) -> ::c_int; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `sigset_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1366:33 | 1366 | pub fn sigpending(set: *mut sigset_t) -> ::c_int; | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `c_long` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1368:40 | 1368 | pub fn sysconf(name: ::c_int) -> ::c_long; | ^^^^^^ not found in the crate root | help: consider importing this type alias | 1604 + use ffi::c_long; | help: if you import `c_long`, refer to it directly | 1368 - pub fn sysconf(name: ::c_int) -> ::c_long; 1368 + pub fn sysconf(name: ::c_int) -> c_long; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1370:32 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1370 | pub fn mkfifo(path: *const c_char, mode: mode_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1370 | pub fn mkfifo(path: *const c_schar, mode: mode_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `mode_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1370:46 | 1370 | pub fn mkfifo(path: *const c_char, mode: mode_t) -> ::c_int; | ^^^^^^ not found in this scope error[E0412]: cannot find type `off_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1372:50 | 1372 | pub fn fseeko(stream: *mut ::FILE, offset: ::off_t, whence: ::c_int) -> ::c_int; | ^^^^^ not found in the crate root error[E0412]: cannot find type `off_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1373:45 | 1373 | pub fn ftello(stream: *mut ::FILE) -> ::off_t; | ^^^^^ not found in the crate root error[E0412]: cannot find type `termios` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1379:42 | 1379 | pub fn cfgetispeed(termios: *const ::termios) -> ::speed_t; | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `speed_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1379:56 | 1379 | pub fn cfgetispeed(termios: *const ::termios) -> ::speed_t; | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `termios` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1380:42 | 1380 | pub fn cfgetospeed(termios: *const ::termios) -> ::speed_t; | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `speed_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1380:56 | 1380 | pub fn cfgetospeed(termios: *const ::termios) -> ::speed_t; | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `termios` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1381:40 | 1381 | pub fn cfsetispeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int; | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `speed_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1381:58 | 1381 | pub fn cfsetispeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int; | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `termios` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1382:40 | 1382 | pub fn cfsetospeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int; | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `speed_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1382:58 | 1382 | pub fn cfsetospeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int; | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `termios` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1383:51 | 1383 | pub fn tcgetattr(fd: ::c_int, termios: *mut ::termios) -> ::c_int; | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `termios` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1384:80 | 1384 | pub fn tcsetattr(fd: ::c_int, optional_actions: ::c_int, termios: *const ::termios) -> ::c_int; | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1389:37 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1389 | pub fn mkstemp(template: *mut ::c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1389 | pub fn mkstemp(template: *mut ::c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1389 - pub fn mkstemp(template: *mut ::c_char) -> ::c_int; 1389 + pub fn mkstemp(template: *mut c_char) -> ::c_int; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1390:37 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1390 | pub fn mkdtemp(template: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1390 | pub fn mkdtemp(template: *mut ::c_schar) -> *mut ::c_char; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1390 - pub fn mkdtemp(template: *mut ::c_char) -> *mut ::c_char; 1390 + pub fn mkdtemp(template: *mut c_char) -> *mut ::c_char; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1390:55 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1390 | pub fn mkdtemp(template: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1390 | pub fn mkdtemp(template: *mut ::c_char) -> *mut ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1390 - pub fn mkdtemp(template: *mut ::c_char) -> *mut ::c_char; 1390 + pub fn mkdtemp(template: *mut ::c_char) -> *mut c_char; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1392:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1392 | pub fn tmpnam(ptr: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1392 | pub fn tmpnam(ptr: *mut ::c_schar) -> *mut ::c_char; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1392 - pub fn tmpnam(ptr: *mut ::c_char) -> *mut ::c_char; 1392 + pub fn tmpnam(ptr: *mut c_char) -> *mut ::c_char; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1392:49 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1392 | pub fn tmpnam(ptr: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1392 | pub fn tmpnam(ptr: *mut ::c_char) -> *mut ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1392 - pub fn tmpnam(ptr: *mut ::c_char) -> *mut ::c_char; 1392 + pub fn tmpnam(ptr: *mut ::c_char) -> *mut c_char; | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1394:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1394 | pub fn openlog(ident: *const ::c_char, logopt: ::c_int, facility: ::c_int); | ^^^^^^ | help: a type alias with a similar name exists | 1394 | pub fn openlog(ident: *const ::c_schar, logopt: ::c_int, facility: ::c_int); | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1394 - pub fn openlog(ident: *const ::c_char, logopt: ::c_int, facility: ::c_int); 1394 + pub fn openlog(ident: *const c_char, logopt: ::c_int, facility: ::c_int); | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1398:56 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1398 | pub fn syslog(priority: ::c_int, message: *const ::c_char, ...); | ^^^^^^ | help: a type alias with a similar name exists | 1398 | pub fn syslog(priority: ::c_int, message: *const ::c_schar, ...); | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1398 - pub fn syslog(priority: ::c_int, message: *const ::c_char, ...); 1398 + pub fn syslog(priority: ::c_int, message: *const c_char, ...); | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1407:43 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1407 | pub fn ptsname(fd: ::c_int) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1407 | pub fn ptsname(fd: ::c_int) -> *mut ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1407 - pub fn ptsname(fd: ::c_int) -> *mut ::c_char; 1407 + pub fn ptsname(fd: ::c_int) -> *mut c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1410:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1410 | pub fn strcasestr(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1410 | pub fn strcasestr(cs: *const c_schar, ct: *const c_char) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1410:53 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1410 | pub fn strcasestr(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1410 | pub fn strcasestr(cs: *const c_char, ct: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1410:69 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1410 | pub fn strcasestr(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1410 | pub fn strcasestr(cs: *const c_char, ct: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1411:39 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1411 | pub fn getline(lineptr: *mut *mut c_char, n: *mut size_t, stream: *mut FILE) -> ssize_t; | ^^^^^^ | help: a type alias with a similar name exists | 1411 | pub fn getline(lineptr: *mut *mut c_schar, n: *mut size_t, stream: *mut FILE) -> ssize_t; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `off_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1413:52 | 1413 | pub fn lockf(fd: ::c_int, cmd: ::c_int, len: ::off_t) -> ::c_int; | ^^^^^ not found in the crate root error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1423:38 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1423 | pub fn stpncpy(dst: *mut c_char, src: *const c_char, n: size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1423 | pub fn stpncpy(dst: *mut c_schar, src: *const c_char, n: size_t) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1423:58 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1423 | pub fn stpncpy(dst: *mut c_char, src: *const c_char, n: size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1423 | pub fn stpncpy(dst: *mut c_char, src: *const c_schar, n: size_t) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1423:85 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1423 | pub fn stpncpy(dst: *mut c_char, src: *const c_char, n: size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1423 | pub fn stpncpy(dst: *mut c_char, src: *const c_char, n: size_t) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `Dl_info` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1431:61 | 1431 | pub fn dladdr(addr: *const ::c_void, info: *mut Dl_info) -> ::c_int; | ^^^^^^^ not found in this scope error[E0412]: cannot find type `wchar_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1440:32 | 1440 | ptr: *mut *mut wchar_t, | ^^^^^^^ not found in this scope error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1455:63 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1455 | pub fn mkdirat(dirfd: ::c_int, pathname: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 1455 | pub fn mkdirat(dirfd: ::c_int, pathname: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1455 - pub fn mkdirat(dirfd: ::c_int, pathname: *const ::c_char, 1455 + pub fn mkdirat(dirfd: ::c_int, pathname: *const c_char, | error[E0412]: cannot find type `mode_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1456:35 | 1456 | mode: ::mode_t) -> ::c_int; | ^^^^^^ not found in the crate root error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1457:62 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1457 | pub fn openat(dirfd: ::c_int, pathname: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 1457 | pub fn openat(dirfd: ::c_int, pathname: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1457 - pub fn openat(dirfd: ::c_int, pathname: *const ::c_char, 1457 + pub fn openat(dirfd: ::c_int, pathname: *const c_char, | error[E0412]: cannot find type `dirent` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1480:62 | 1480 | pub fn readdir_r(dirp: *mut ::DIR, entry: *mut ::dirent, | ^^^^^^ not found in the crate root error[E0412]: cannot find type `dirent` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1481:50 | 1481 | ... result: *mut *mut ::dirent) -> ::c_int; | ^^^^^^ not found in the crate root error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1511:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1511 | pathname: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 1511 | pathname: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1511 - pathname: *const ::c_char, 1511 + pathname: *const c_char, | error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1512:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1512 | buf: *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 1512 | buf: *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1512 - buf: *mut ::c_char, 1512 + buf: *mut c_char, | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1514:74 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1514 | pub fn fmemopen(buf: *mut c_void, size: size_t, mode: *const c_char) -> *mut FILE; | ^^^^^^ | help: a type alias with a similar name exists | 1514 | pub fn fmemopen(buf: *mut c_void, size: size_t, mode: *const c_schar) -> *mut FILE; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1515:50 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1515 | pub fn open_memstream(ptr: *mut *mut c_char, sizeloc: *mut size_t) -> *mut FILE; | ^^^^^^ | help: a type alias with a similar name exists | 1515 | pub fn open_memstream(ptr: *mut *mut c_schar, sizeloc: *mut size_t) -> *mut FILE; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0573]: expected type, found function `sigaction` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1520:29 | 1520 | act: *const sigaction, | ^^^^^^^^^ not a type error[E0573]: expected type, found function `sigaction` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1521:30 | 1521 | oldact: *mut sigaction | ^^^^^^^^^ not a type error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1523:42 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1523 | pub fn readlink(path: *const c_char, buf: *mut c_char, bufsz: ::size_t) -> ::ssize_t; | ^^^^^^ | help: a type alias with a similar name exists | 1523 | pub fn readlink(path: *const c_schar, buf: *mut c_char, bufsz: ::size_t) -> ::ssize_t; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `c_char` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1523:60 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1523 | pub fn readlink(path: *const c_char, buf: *mut c_char, bufsz: ::size_t) -> ::ssize_t; | ^^^^^^ | help: a type alias with a similar name exists | 1523 | pub fn readlink(path: *const c_char, buf: *mut c_schar, bufsz: ::size_t) -> ::ssize_t; | ~~~~~~~ help: consider importing this type alias | 1604 + use ffi::c_char; | error[E0412]: cannot find type `fd_set` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1535:31 | 1535 | readfds: *mut fd_set, | ^^^^^^ not found in this scope error[E0412]: cannot find type `fd_set` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1536:32 | 1536 | writefds: *mut fd_set, | ^^^^^^ not found in this scope error[E0412]: cannot find type `fd_set` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1537:32 | 1537 | errorfds: *mut fd_set, | ^^^^^^ not found in this scope error[E0412]: cannot find type `sigset_t` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1539:33 | 1539 | sigmask: *const sigset_t, | ^^^^^^^^ not found in this scope error[E0412]: cannot find type `termios` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1551:46 | 1551 | pub fn cfmakeraw(termios: *mut ::termios); | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `termios` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1552:47 | 1552 | pub fn cfsetspeed(termios: *mut ::termios, | ^^^^^^^ not found in the crate root error[E0412]: cannot find type `speed_t` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.148/src/unix/mod.rs:1553:40 | 1553 | ... speed: ::speed_t) -> ::c_int; | ^^^^^^^ not found in the crate root Some errors have detailed explanations: E0412, E0573. For more information about an error, try `rustc --explain E0412`. error: could not compile `libc` (lib) due to 401 previous errors