Build date: 2025-07-08T05:33:49.04Z
Build duration: 22.928s
Builder does-it-build commit: 87ff3d03
Compiling compiler_builtins v0.1.121 Compiling core v0.0.0 (/root/.rustup/toolchains/nightly-2024-08-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core) Compiling rustc-std-workspace-core v1.99.0 (/root/.rustup/toolchains/nightly-2024-08-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/root/.rustup/toolchains/nightly-2024-08-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc) Compiling rustc-std-workspace-alloc v1.99.0 (/root/.rustup/toolchains/nightly-2024-08-28-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc) Compiling libc v0.2.158 error[E0412]: cannot find type `c_char` in the crate root --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.158/src/unix/mod.rs:52:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 52 | pub gr_name: *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 52 | pub gr_name: *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 162+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 52 - pub gr_name: *mut ::c_char, 52 + 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.158/src/unix/mod.rs:53:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 53 | pub gr_passwd: *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 53 | pub gr_passwd: *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 162+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 53 - pub gr_passwd: *mut ::c_char, 53 + 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.158/src/unix/mod.rs:55:33 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 55 | pub gr_mem: *mut *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 55 | pub gr_mem: *mut *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 162+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 55 - pub gr_mem: *mut *mut ::c_char, 55 + 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.158/src/unix/mod.rs:59:21 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 59 | 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.158/src/unix/mod.rs:60:22 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 60 | 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.158/src/unix/mod.rs:64:21 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 64 | 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.158/src/unix/mod.rs:65:22 | 65 | 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.158/src/unix/mod.rs:71:21 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 71 | 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.158/src/unix/mod.rs:75:24 | 75 | pub tv_nsec: ::c_long, | ^^^^^^ not found in the crate root | help: consider importing this type alias | 162+ use ffi::c_long; | help: if you import `c_long`, refer to it directly | 75 - pub tv_nsec: ::c_long, 75 + 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.158/src/unix/mod.rs:79:23 | 79 | 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.158/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.158/src/unix/mod.rs:80:23 | 80 | 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.158/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.158/src/unix/mod.rs:86:24 | 86 | pub ru_maxrss: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 162+ 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.158/src/unix/mod.rs:89:23 | 89 | pub ru_ixrss: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 162+ 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.158/src/unix/mod.rs:92:23 | 92 | pub ru_idrss: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 162+ 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.158/src/unix/mod.rs:95:23 | 95 | pub ru_isrss: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 162+ 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.158/src/unix/mod.rs:98:24 | 98 | pub ru_minflt: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 162+ 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.158/src/unix/mod.rs:101:24 | 101 | pub ru_majflt: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:104:23 | 104 | pub ru_nswap: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:107:25 | 107 | pub ru_inblock: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:110:25 | 110 | pub ru_oublock: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:113:24 | 113 | pub ru_msgsnd: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:116:24 | 116 | pub ru_msgrcv: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:119:26 | 119 | pub ru_nsignals: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:122:23 | 122 | pub ru_nvcsw: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:125:24 | 125 | pub ru_nivcsw: c_long, | ^^^^^^ not found in this scope | help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:142:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 142 | pub h_name: *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 142 | pub h_name: *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 142 - pub h_name: *mut ::c_char, 142 + 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.158/src/unix/mod.rs:143:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 143 | pub h_aliases: *mut *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 143 | pub h_aliases: *mut *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 143 - pub h_aliases: *mut *mut ::c_char, 143 + 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.158/src/unix/mod.rs:146:38 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 146 | pub h_addr_list: *mut *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 146 | pub h_addr_list: *mut *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 146 - pub h_addr_list: *mut *mut ::c_char, 146 + 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.158/src/unix/mod.rs:185:26 | 185 | 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.158/src/unix/mod.rs:186:26 | 186 | 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.158/src/unix/mod.rs:187:27 | 187 | 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.158/src/unix/mod.rs:188:27 | 188 | 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.158/src/unix/mod.rs:192:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 192 | pub s_name: *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 192 | pub s_name: *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 192 - pub s_name: *mut ::c_char, 192 + 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.158/src/unix/mod.rs:193:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 193 | pub s_aliases: *mut *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 193 | pub s_aliases: *mut *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 193 - pub s_aliases: *mut *mut ::c_char, 193 + 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.158/src/unix/mod.rs:195:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 195 | pub s_proto: *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 195 | pub s_proto: *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 195 - pub s_proto: *mut ::c_char, 195 + 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.158/src/unix/mod.rs:199:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 199 | pub p_name: *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 199 | pub p_name: *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 199 - pub p_name: *mut ::c_char, 199 + 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.158/src/unix/mod.rs:200:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 200 | pub p_aliases: *mut *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 200 | pub p_aliases: *mut *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 200 - pub p_aliases: *mut *mut ::c_char, 200 + 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.158/src/unix/mod.rs:238:22 | 238 | 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.158/src/unix/mod.rs:239:22 | 239 | 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.158/src/unix/mod.rs:240:22 | 240 | 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.158/src/unix/mod.rs:453:35 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 453 | pub fn fopen(filename: *const c_char, mode: *const c_char) -> *mut FILE; | ^^^^^^ | help: a type alias with a similar name exists | 453 | pub fn fopen(filename: *const c_schar, mode: *const c_char) -> *mut FILE; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:453:56 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 453 | pub fn fopen(filename: *const c_char, mode: *const c_char) -> *mut FILE; | ^^^^^^ | help: a type alias with a similar name exists | 453 | pub fn fopen(filename: *const c_char, mode: *const c_schar) -> *mut FILE; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:458:37 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 458 | 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 | 458 | pub fn freopen(filename: *const c_schar, mode: *const c_char, file: *mut FILE) -> *mut FILE; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:458:58 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 458 | 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 | 458 | pub fn freopen(filename: *const c_char, mode: *const c_schar, file: *mut FILE) -> *mut FILE; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:462:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 462 | pub fn remove(filename: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 462 | pub fn remove(filename: *const c_schar) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:463:35 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 463 | pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 463 | pub fn rename(oldname: *const c_schar, newname: *const c_char) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:463:59 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 463 | pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 463 | pub fn rename(oldname: *const c_char, newname: *const c_schar) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:465:52 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 465 | 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 | 465 | pub fn setvbuf(stream: *mut FILE, buffer: *mut c_schar, mode: c_int, size: size_t) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:466:48 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 466 | pub fn setbuf(stream: *mut FILE, buf: *mut c_char); | ^^^^^^ | help: a type alias with a similar name exists | 466 | pub fn setbuf(stream: *mut FILE, buf: *mut c_schar); | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:470:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 470 | 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 | 470 | pub fn fgets(buf: *mut c_schar, n: c_int, stream: *mut FILE) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:470:73 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 470 | 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 | 470 | pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:476:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 476 | pub fn fputs(s: *const c_char, stream: *mut FILE) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 476 | pub fn fputs(s: *const c_schar, stream: *mut FILE) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:477:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 477 | pub fn puts(s: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 477 | pub fn puts(s: *const c_schar) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:485:45 | 485 | 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 | 1622+ 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.158/src/unix/mod.rs:486:40 | 486 | pub fn ftell(stream: *mut FILE) -> c_long; | ^^^^^^ not found in this scope | help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:495:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 495 | pub fn perror(s: *const c_char); | ^^^^^^ | help: a type alias with a similar name exists | 495 | pub fn perror(s: *const c_schar); | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:496:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 496 | pub fn atof(s: *const c_char) -> c_double; | ^^^^^^ | help: a type alias with a similar name exists | 496 | pub fn atof(s: *const c_schar) -> c_double; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:497:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 497 | pub fn atoi(s: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 497 | pub fn atoi(s: *const c_schar) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:498:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 498 | pub fn atol(s: *const c_char) -> c_long; | ^^^^^^ | help: a type alias with a similar name exists | 498 | pub fn atol(s: *const c_schar) -> c_long; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:498:38 | 498 | pub fn atol(s: *const c_char) -> c_long; | ^^^^^^ not found in this scope | help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:499:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 499 | pub fn atoll(s: *const c_char) -> c_longlong; | ^^^^^^ | help: a type alias with a similar name exists | 499 | pub fn atoll(s: *const c_schar) -> c_longlong; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:504:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 504 | pub fn strtod(s: *const c_char, endp: *mut *mut c_char) -> c_double; | ^^^^^^ | help: a type alias with a similar name exists | 504 | pub fn strtod(s: *const c_schar, endp: *mut *mut c_char) -> c_double; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:504:53 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 504 | pub fn strtod(s: *const c_char, endp: *mut *mut c_char) -> c_double; | ^^^^^^ | help: a type alias with a similar name exists | 504 | pub fn strtod(s: *const c_char, endp: *mut *mut c_schar) -> c_double; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:505:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 505 | pub fn strtof(s: *const c_char, endp: *mut *mut c_char) -> c_float; | ^^^^^^ | help: a type alias with a similar name exists | 505 | pub fn strtof(s: *const c_schar, endp: *mut *mut c_char) -> c_float; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:505:53 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 505 | pub fn strtof(s: *const c_char, endp: *mut *mut c_char) -> c_float; | ^^^^^^ | help: a type alias with a similar name exists | 505 | pub fn strtof(s: *const c_char, endp: *mut *mut c_schar) -> c_float; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:506:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 506 | 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 | 506 | pub fn strtol(s: *const c_schar, endp: *mut *mut c_char, base: c_int) -> c_long; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:506:53 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 506 | 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 | 506 | pub fn strtol(s: *const c_char, endp: *mut *mut c_schar, base: c_int) -> c_long; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:506:77 | 506 | 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 | 1622+ 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.158/src/unix/mod.rs:507:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 507 | 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 | 507 | pub fn strtoll(s: *const c_schar, endp: *mut *mut c_char, base: c_int) -> c_longlong; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:507:54 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 507 | 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 | 507 | pub fn strtoll(s: *const c_char, endp: *mut *mut c_schar, base: c_int) -> c_longlong; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:508:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 508 | 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 | 508 | pub fn strtoul(s: *const c_schar, endp: *mut *mut c_char, base: c_int) -> c_ulong; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:508:54 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 508 | 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 | 508 | pub fn strtoul(s: *const c_char, endp: *mut *mut c_schar, base: c_int) -> c_ulong; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:508:78 | 508 | 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 | 1622+ 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.158/src/unix/mod.rs:509:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 509 | 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 | 509 | pub fn strtoull(s: *const c_schar, endp: *mut *mut c_char, base: c_int) -> c_ulonglong; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:509:55 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 509 | 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 | 509 | pub fn strtoull(s: *const c_char, endp: *mut *mut c_schar, base: c_int) -> c_ulonglong; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:521:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 521 | pub fn system(s: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 521 | pub fn system(s: *const c_schar) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:522:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 522 | pub fn getenv(s: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 522 | pub fn getenv(s: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:522:45 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 522 | pub fn getenv(s: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 522 | pub fn getenv(s: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:524:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 524 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 524 | pub fn strcpy(dst: *mut c_schar, src: *const c_char) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:524:49 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 524 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 524 | pub fn strcpy(dst: *mut c_char, src: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:524:65 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 524 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 524 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:525:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 525 | 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 | 525 | pub fn strncpy(dst: *mut c_schar, src: *const c_char, n: size_t) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:525:50 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 525 | 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 | 525 | pub fn strncpy(dst: *mut c_char, src: *const c_schar, n: size_t) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:525:77 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 525 | 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 | 525 | pub fn strncpy(dst: *mut c_char, src: *const c_char, n: size_t) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:526:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 526 | pub fn stpcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 526 | pub fn stpcpy(dst: *mut c_schar, src: *const c_char) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:526:49 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 526 | pub fn stpcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 526 | pub fn stpcpy(dst: *mut c_char, src: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:526:65 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 526 | pub fn stpcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 526 | pub fn stpcpy(dst: *mut c_char, src: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:527:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 527 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 527 | pub fn strcat(s: *mut c_schar, ct: *const c_char) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:527:46 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 527 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 527 | pub fn strcat(s: *mut c_char, ct: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:527:62 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 527 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 527 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:528:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 528 | 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 | 528 | pub fn strncat(s: *mut c_schar, ct: *const c_char, n: size_t) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:528:47 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 528 | 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 | 528 | pub fn strncat(s: *mut c_char, ct: *const c_schar, n: size_t) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:528:74 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 528 | 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 | 528 | pub fn strncat(s: *mut c_char, ct: *const c_char, n: size_t) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:529:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 529 | pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 529 | pub fn strcmp(cs: *const c_schar, ct: *const c_char) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:529:49 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 529 | pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 529 | pub fn strcmp(cs: *const c_char, ct: *const c_schar) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:530:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 530 | 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 | 530 | pub fn strncmp(cs: *const c_schar, ct: *const c_char, n: size_t) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:530:50 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 530 | 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 | 530 | pub fn strncmp(cs: *const c_char, ct: *const c_schar, n: size_t) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:531:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 531 | pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 531 | pub fn strcoll(cs: *const c_schar, ct: *const c_char) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:531:50 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 531 | pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 531 | pub fn strcoll(cs: *const c_char, ct: *const c_schar) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:532:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 532 | pub fn strchr(cs: *const c_char, c: c_int) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 532 | pub fn strchr(cs: *const c_schar, c: c_int) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:532:56 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 532 | pub fn strchr(cs: *const c_char, c: c_int) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 532 | pub fn strchr(cs: *const c_char, c: c_int) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:533:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 533 | pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 533 | pub fn strrchr(cs: *const c_schar, c: c_int) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:533:57 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 533 | pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 533 | pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:534:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 534 | pub fn strspn(cs: *const c_char, ct: *const c_char) -> size_t; | ^^^^^^ | help: a type alias with a similar name exists | 534 | pub fn strspn(cs: *const c_schar, ct: *const c_char) -> size_t; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:534:49 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 534 | pub fn strspn(cs: *const c_char, ct: *const c_char) -> size_t; | ^^^^^^ | help: a type alias with a similar name exists | 534 | pub fn strspn(cs: *const c_char, ct: *const c_schar) -> size_t; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:535:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 535 | pub fn strcspn(cs: *const c_char, ct: *const c_char) -> size_t; | ^^^^^^ | help: a type alias with a similar name exists | 535 | pub fn strcspn(cs: *const c_schar, ct: *const c_char) -> size_t; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:535:50 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 535 | pub fn strcspn(cs: *const c_char, ct: *const c_char) -> size_t; | ^^^^^^ | help: a type alias with a similar name exists | 535 | pub fn strcspn(cs: *const c_char, ct: *const c_schar) -> size_t; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:536:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 536 | pub fn strdup(cs: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 536 | pub fn strdup(cs: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:536:46 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 536 | pub fn strdup(cs: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 536 | pub fn strdup(cs: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:537:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 537 | pub fn strndup(cs: *const c_char, n: size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 537 | pub fn strndup(cs: *const c_schar, n: size_t) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:537:58 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 537 | pub fn strndup(cs: *const c_char, n: size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 537 | pub fn strndup(cs: *const c_char, n: size_t) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:538:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 538 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 538 | pub fn strpbrk(cs: *const c_schar, ct: *const c_char) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:538:50 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 538 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 538 | pub fn strpbrk(cs: *const c_char, ct: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:538:66 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 538 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 538 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:539:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 539 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 539 | pub fn strstr(cs: *const c_schar, ct: *const c_char) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:539:49 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 539 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 539 | pub fn strstr(cs: *const c_char, ct: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:539:65 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 539 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 539 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:540:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 540 | pub fn strcasecmp(s1: *const c_char, s2: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 540 | pub fn strcasecmp(s1: *const c_schar, s2: *const c_char) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:540:53 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 540 | pub fn strcasecmp(s1: *const c_char, s2: *const c_char) -> c_int; | ^^^^^^ | help: a type alias with a similar name exists | 540 | pub fn strcasecmp(s1: *const c_char, s2: *const c_schar) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:541:35 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 541 | 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 | 541 | pub fn strncasecmp(s1: *const c_schar, s2: *const c_char, n: size_t) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:541:54 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 541 | 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 | 541 | pub fn strncasecmp(s1: *const c_char, s2: *const c_schar, n: size_t) -> c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:542:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 542 | pub fn strlen(cs: *const c_char) -> size_t; | ^^^^^^ | help: a type alias with a similar name exists | 542 | pub fn strlen(cs: *const c_schar) -> size_t; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:543:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 543 | pub fn strnlen(cs: *const c_char, maxlen: size_t) -> size_t; | ^^^^^^ | help: a type alias with a similar name exists | 543 | pub fn strnlen(cs: *const c_schar, maxlen: size_t) -> size_t; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:548:39 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 548 | pub fn strerror(n: c_int) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 548 | pub fn strerror(n: c_int) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:549:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 549 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 549 | pub fn strtok(s: *mut c_schar, t: *const c_char) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:549:45 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 549 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 549 | pub fn strtok(s: *mut c_char, t: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:549:61 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 549 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 549 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:550:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 550 | 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 | 550 | 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 | 1622+ 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.158/src/unix/mod.rs:550:47 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 550 | 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 | 550 | 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 | 1622+ 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.158/src/unix/mod.rs:550:68 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 550 | 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 | 550 | 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 | 1622+ 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.158/src/unix/mod.rs:550:84 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 550 | 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 | 550 | 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 | 1622+ 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.158/src/unix/mod.rs:551:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 551 | 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 | 551 | pub fn strxfrm(s: *mut c_schar, ct: *const c_char, n: size_t) -> size_t; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:551:47 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 551 | 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 | 551 | pub fn strxfrm(s: *mut c_char, ct: *const c_schar, n: size_t) -> size_t; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:552:42 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 552 | pub fn strsignal(sig: c_int) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 552 | pub fn strsignal(sig: c_int) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:553:31 | 553 | 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.158/src/unix/mod.rs:554:32 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 554 | 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 | 554 | pub fn wcstombs(dest: *mut c_schar, src: *const wchar_t, n: size_t) -> ::size_t; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:554:52 | 554 | 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.158/src/unix/mod.rs:557:31 | 557 | 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.158/src/unix/mod.rs:557:43 | 557 | 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.158/src/unix/mod.rs:557:71 | 557 | 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.158/src/unix/mod.rs:566:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 566 | pub fn getpwnam(name: *const ::c_char) -> *mut passwd; | ^^^^^^ | help: a type alias with a similar name exists | 566 | pub fn getpwnam(name: *const ::c_schar) -> *mut passwd; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 566 - pub fn getpwnam(name: *const ::c_char) -> *mut passwd; 566 + 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.158/src/unix/mod.rs:566:52 | 566 | 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.158/src/unix/mod.rs:568:43 | 568 | 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.158/src/unix/mod.rs:570:58 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 570 | pub fn fprintf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 570 | pub fn fprintf(stream: *mut ::FILE, format: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 570 - pub fn fprintf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int; 570 + 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.158/src/unix/mod.rs:571:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 571 | pub fn printf(format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 571 | pub fn printf(format: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 571 - pub fn printf(format: *const ::c_char, ...) -> ::c_int; 571 + 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.158/src/unix/mod.rs:572:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 572 | 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 | 572 | pub fn snprintf(s: *mut ::c_schar, n: ::size_t, format: *const ::c_char, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 572 - pub fn snprintf(s: *mut ::c_char, n: ::size_t, format: *const ::c_char, ...) -> ::c_int; 572 + 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.158/src/unix/mod.rs:572:69 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 572 | 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 | 572 | pub fn snprintf(s: *mut ::c_char, n: ::size_t, format: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 572 - pub fn snprintf(s: *mut ::c_char, n: ::size_t, format: *const ::c_char, ...) -> ::c_int; 572 + 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.158/src/unix/mod.rs:573:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 573 | pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 573 | pub fn sprintf(s: *mut ::c_schar, format: *const ::c_char, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 573 - pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int; 573 + 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.158/src/unix/mod.rs:573:55 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 573 | pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 573 | pub fn sprintf(s: *mut ::c_char, format: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 573 - pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int; 573 + 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.158/src/unix/mod.rs:578:57 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 578 | pub fn fscanf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 578 | pub fn fscanf(stream: *mut ::FILE, format: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 578 - pub fn fscanf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int; 578 + 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.158/src/unix/mod.rs:583:35 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 583 | pub fn scanf(format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 583 | pub fn scanf(format: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 583 - pub fn scanf(format: *const ::c_char, ...) -> ::c_int; 583 + 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.158/src/unix/mod.rs:588:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 588 | pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 588 | pub fn sscanf(s: *const ::c_schar, format: *const ::c_char, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 588 - pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int; 588 + 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.158/src/unix/mod.rs:588:56 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 588 | pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 588 | pub fn sscanf(s: *const ::c_char, format: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 588 - pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int; 588 + 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.158/src/unix/mod.rs:618:53 | 618 | 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.158/src/unix/mod.rs:618:68 | 48 | pub type locale_t = *mut ::c_void; | ---------------------------------- similarly named type alias `locale_t` defined here ... 618 | 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.158/src/unix/mod.rs:635:50 | 635 | 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.158/src/unix/mod.rs:635:78 | 48 | pub type locale_t = *mut ::c_void; | ---------------------------------- similarly named type alias `locale_t` defined here ... 635 | 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.158/src/unix/mod.rs:648:23 | 648 | 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.158/src/unix/mod.rs:649:27 | 48 | pub type locale_t = *mut ::c_void; | ---------------------------------- similarly named type alias `locale_t` defined here ... 649 | 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.158/src/unix/mod.rs:663:23 | 663 | 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.158/src/unix/mod.rs:664:27 | 48 | pub type locale_t = *mut ::c_void; | ---------------------------------- similarly named type alias `locale_t` defined here ... 664 | 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.158/src/unix/mod.rs:672:21 | 48 | pub type locale_t = *mut ::c_void; | ---------------------------------- similarly named type alias `locale_t` defined here ... 672 | 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.158/src/unix/mod.rs:707:22 | 707 | 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.158/src/unix/mod.rs:708:18 | 48 | pub type locale_t = *mut ::c_void; | ---------------------------------- similarly named type alias `locale_t` defined here ... 708 | 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.158/src/unix/mod.rs:717:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 717 | pub fn chmod(path: *const c_char, mode: mode_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 717 | pub fn chmod(path: *const c_schar, mode: mode_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:717:45 | 717 | 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.158/src/unix/mod.rs:722:38 | 722 | 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.158/src/unix/mod.rs:733:45 | 733 | 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.158/src/unix/mod.rs:735:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 735 | pub fn mkdir(path: *const c_char, mode: mode_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 735 | pub fn mkdir(path: *const c_schar, mode: mode_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:735:45 | 735 | 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.158/src/unix/mod.rs:746:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 746 | pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 746 | pub fn stat(path: *const c_schar, buf: *mut stat) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | error[E0573]: expected type, found function `stat` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.158/src/unix/mod.rs:746:48 | 746 | 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.158/src/unix/mod.rs:753:45 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 753 | pub fn fdopen(fd: ::c_int, mode: *const c_char) -> *mut ::FILE; | ^^^^^^ | help: a type alias with a similar name exists | 753 | pub fn fdopen(fd: ::c_int, mode: *const c_schar) -> *mut ::FILE; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:760:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 760 | pub fn open(path: *const c_char, oflag: ::c_int, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 760 | pub fn open(path: *const c_schar, oflag: ::c_int, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:765:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 765 | pub fn creat(path: *const c_char, mode: mode_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 765 | pub fn creat(path: *const c_schar, mode: mode_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:765:45 | 765 | 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.158/src/unix/mod.rs:781:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 781 | pub fn opendir(dirname: *const c_char) -> *mut ::DIR; | ^^^^^^ | help: a type alias with a similar name exists | 781 | pub fn opendir(dirname: *const c_schar) -> *mut ::DIR; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:792:48 | 792 | 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.158/src/unix/mod.rs:810:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 810 | pathname: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 810 | pathname: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 810 - pathname: *const ::c_char, 810 + 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.158/src/unix/mod.rs:811:17 | 811 | 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.158/src/unix/mod.rs:817:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 817 | pathname: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 817 | pathname: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 817 - pathname: *const ::c_char, 817 + 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.158/src/unix/mod.rs:832:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 832 | pathname: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 832 | pathname: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 832 - pathname: *const ::c_char, 832 + pathname: *const c_char, | error[E0573]: expected type, found function `stat` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.158/src/unix/mod.rs:833:19 | 833 | 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.158/src/unix/mod.rs:838:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 838 | oldpath: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 838 | oldpath: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 838 - oldpath: *const ::c_char, 838 + 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.158/src/unix/mod.rs:840:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 840 | newpath: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 840 | newpath: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 840 - newpath: *const ::c_char, 840 + 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.158/src/unix/mod.rs:845:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 845 | oldpath: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 845 | oldpath: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 845 - oldpath: *const ::c_char, 845 + 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.158/src/unix/mod.rs:847:27 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 847 | newpath: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 847 | newpath: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 847 - newpath: *const ::c_char, 847 + 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.158/src/unix/mod.rs:850:26 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 850 | target: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 850 | target: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 850 - target: *const ::c_char, 850 + 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.158/src/unix/mod.rs:852:28 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 852 | linkpath: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 852 | linkpath: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 852 - linkpath: *const ::c_char, 852 + 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.158/src/unix/mod.rs:854:56 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 854 | pub fn unlinkat(dirfd: ::c_int, pathname: *const ::c_char, flags: ::c_int) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 854 | pub fn unlinkat(dirfd: ::c_int, pathname: *const ::c_schar, flags: ::c_int) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 854 - pub fn unlinkat(dirfd: ::c_int, pathname: *const ::c_char, flags: ::c_int) -> ::c_int; 854 + 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.158/src/unix/mod.rs:856:32 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 856 | pub fn access(path: *const c_char, amode: ::c_int) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 856 | pub fn access(path: *const c_schar, amode: ::c_int) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:858:30 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 858 | pub fn chdir(dir: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 858 | pub fn chdir(dir: *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:860:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 860 | pub fn chown(path: *const c_char, uid: uid_t, gid: gid_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 860 | pub fn chown(path: *const c_schar, uid: uid_t, gid: gid_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:865:32 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 865 | pub fn lchown(path: *const c_char, uid: uid_t, gid: gid_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 865 | pub fn lchown(path: *const c_schar, uid: uid_t, gid: gid_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:877:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 877 | pub fn execl(path: *const c_char, arg0: *const c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 877 | pub fn execl(path: *const c_schar, arg0: *const c_char, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:877:52 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 877 | pub fn execl(path: *const c_char, arg0: *const c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 877 | pub fn execl(path: *const c_char, arg0: *const c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:878:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 878 | pub fn execle(path: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 878 | pub fn execle(path: *const ::c_schar, arg0: *const ::c_char, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 878 - pub fn execle(path: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; 878 + 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.158/src/unix/mod.rs:878:57 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 878 | pub fn execle(path: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 878 | pub fn execle(path: *const ::c_char, arg0: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 878 - pub fn execle(path: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; 878 + 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.158/src/unix/mod.rs:879:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 879 | pub fn execlp(file: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 879 | pub fn execlp(file: *const ::c_schar, arg0: *const ::c_char, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 879 - pub fn execlp(file: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; 879 + 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.158/src/unix/mod.rs:879:57 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 879 | pub fn execlp(file: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 879 | pub fn execlp(file: *const ::c_char, arg0: *const ::c_schar, ...) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ use ffi::c_char; | help: if you import `c_char`, refer to it directly | 879 - pub fn execlp(file: *const ::c_char, arg0: *const ::c_char, ...) -> ::c_int; 879 + 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.158/src/unix/mod.rs:880:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 880 | pub fn execv(prog: *const c_char, argv: *const *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 880 | pub fn execv(prog: *const c_schar, argv: *const *const c_char) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:880:59 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 880 | pub fn execv(prog: *const c_char, argv: *const *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 880 | pub fn execv(prog: *const c_char, argv: *const *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:882:22 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 882 | prog: *const c_char, | ^^^^^^ | help: a type alias with a similar name exists | 882 | prog: *const c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:883:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 883 | argv: *const *const c_char, | ^^^^^^ | help: a type alias with a similar name exists | 883 | argv: *const *const c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:884:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 884 | envp: *const *const c_char, | ^^^^^^ | help: a type alias with a similar name exists | 884 | envp: *const *const c_schar, | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:886:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 886 | pub fn execvp(c: *const c_char, argv: *const *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 886 | pub fn execvp(c: *const c_schar, argv: *const *const c_char) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:886:57 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 886 | pub fn execvp(c: *const c_char, argv: *const *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 886 | pub fn execvp(c: *const c_char, argv: *const *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:888:58 | 888 | pub fn fpathconf(filedes: ::c_int, name: ::c_int) -> c_long; | ^^^^^^ not found in this scope | help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:889:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 889 | pub fn getcwd(buf: *mut c_char, size: ::size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 889 | pub fn getcwd(buf: *mut c_schar, size: ::size_t) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:889:61 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 889 | pub fn getcwd(buf: *mut c_char, size: ::size_t) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 889 | pub fn getcwd(buf: *mut c_char, size: ::size_t) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:895:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 895 | pub fn getlogin() -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 895 | pub fn getlogin() -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:900:52 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 900 | 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 | 900 | pub fn getopt(argc: ::c_int, argv: *const *mut c_schar, optstr: *const c_char) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:900:75 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 900 | 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 | 900 | pub fn getopt(argc: ::c_int, argv: *const *mut c_char, optstr: *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:907:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 907 | pub fn link(src: *const c_char, dst: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 907 | pub fn link(src: *const c_schar, dst: *const c_char) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:907:49 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 907 | pub fn link(src: *const c_char, dst: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 907 | pub fn link(src: *const c_char, dst: *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:908:39 | 908 | 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.158/src/unix/mod.rs:908:66 | 908 | 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.158/src/unix/mod.rs:909:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 909 | pub fn pathconf(path: *const c_char, name: ::c_int) -> c_long; | ^^^^^^ | help: a type alias with a similar name exists | 909 | pub fn pathconf(path: *const c_schar, name: ::c_int) -> c_long; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:909:60 | 909 | pub fn pathconf(path: *const c_char, name: ::c_int) -> c_long; | ^^^^^^ not found in this scope | help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:917:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 917 | pub fn rmdir(path: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 917 | pub fn rmdir(path: *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:939:41 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 939 | pub fn ttyname(fd: ::c_int) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 939 | pub fn ttyname(fd: ::c_int) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:945:45 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 945 | 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 | 945 | pub fn ttyname_r(fd: ::c_int, buf: *mut c_schar, buflen: ::size_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:946:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 946 | pub fn unlink(c: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 946 | pub fn unlink(c: *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:966:76 | 966 | 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.158/src/unix/mod.rs:971:79 | 971 | 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.158/src/unix/mod.rs:972:24 | 972 | 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.158/src/unix/mod.rs:972:35 | 972 | 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.158/src/unix/mod.rs:975:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 975 | pub fn utime(file: *const c_char, buf: *const utimbuf) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 975 | pub fn utime(file: *const c_schar, buf: *const utimbuf) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622+ 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.158/src/unix/mod.rs:1003:17 | 1003 | 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.158/src/unix/mod.rs:1011:42 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1011 | pub fn if_nametoindex(ifname: *const c_char) -> ::c_uint; | ^^^^^^ | help: a type alias with a similar name exists | 1011 | pub fn if_nametoindex(ifname: *const c_schar) -> ::c_uint; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1012:61 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1012 | pub fn if_indextoname(ifindex: ::c_uint, ifname: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1012 | pub fn if_indextoname(ifindex: ::c_uint, ifname: *mut ::c_schar) -> *mut ::c_char; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1012 - pub fn if_indextoname(ifindex: ::c_uint, ifname: *mut ::c_char) -> *mut ::c_char; 1012 + 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.158/src/unix/mod.rs:1012:79 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1012 | pub fn if_indextoname(ifindex: ::c_uint, ifname: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1012 | pub fn if_indextoname(ifindex: ::c_uint, ifname: *mut ::c_char) -> *mut ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1012 - pub fn if_indextoname(ifindex: ::c_uint, ifname: *mut ::c_char) -> *mut ::c_char; 1012 + 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.158/src/unix/mod.rs:1023:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1023 | pub fn lstat(path: *const c_char, buf: *mut stat) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1023 | pub fn lstat(path: *const c_schar, buf: *mut stat) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | error[E0573]: expected type, found function `stat` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.158/src/unix/mod.rs:1023:49 | 1023 | 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.158/src/unix/mod.rs:1035:32 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1035 | 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 | 1035 | pub fn setenv(name: *const c_schar, val: *const c_char, overwrite: ::c_int) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1035:52 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1035 | 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 | 1035 | pub fn setenv(name: *const c_char, val: *const c_schar, overwrite: ::c_int) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1041:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1041 | pub fn unsetenv(name: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1041 | pub fn unsetenv(name: *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1043:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1043 | pub fn symlink(path1: *const c_char, path2: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1043 | pub fn symlink(path1: *const c_schar, path2: *const c_char) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1043:56 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1043 | pub fn symlink(path1: *const c_char, path2: *const c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1043 | pub fn symlink(path1: *const c_char, path2: *const c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1045:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1045 | pub fn truncate(path: *const c_char, length: off_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1045 | pub fn truncate(path: *const c_schar, length: off_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1045:50 | 1045 | 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.158/src/unix/mod.rs:1046:43 | 1046 | 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.158/src/unix/mod.rs:1063:40 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1063 | pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1063 | pub fn realpath(pathname: *const ::c_schar, resolved: *mut ::c_char) -> *mut ::c_char; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1063 - pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) -> *mut ::c_char; 1063 + 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.158/src/unix/mod.rs:1063:65 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1063 | pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1063 | pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_schar) -> *mut ::c_char; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1063 - pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) -> *mut ::c_char; 1063 + 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.158/src/unix/mod.rs:1063:83 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1063 | pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1063 | pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) -> *mut ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1063 - pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char) -> *mut ::c_char; 1063 + 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.158/src/unix/mod.rs:1068:40 | 1068 | 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.158/src/unix/mod.rs:1070:32 | 1070 | 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.158/src/unix/mod.rs:1071:32 | 1071 | pub fn pthread_equal(t1: ::pthread_t, t2: ::pthread_t) -> ::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.158/src/unix/mod.rs:1071:49 | 1071 | pub fn pthread_equal(t1: ::pthread_t, t2: ::pthread_t) -> ::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.158/src/unix/mod.rs:1076:35 | 1076 | 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.158/src/unix/mod.rs:1078:43 | 1078 | 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.158/src/unix/mod.rs:1079:46 | 1079 | 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.158/src/unix/mod.rs:1081:24 | 1081 | attr: *const ::pthread_attr_t, | ^^^^^^^^^^^^^^ 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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/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.158/src/unix/mod.rs:1189:24 | 48 | pub type locale_t = *mut ::c_void; | ---------------------------------- similarly named type alias `locale_t` defined here ... 1189 | 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.158/src/unix/mod.rs:1194:38 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1194 | pub fn utimes(filename: *const ::c_char, times: *const ::timeval) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1194 | pub fn utimes(filename: *const ::c_schar, times: *const ::timeval) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1194 - pub fn utimes(filename: *const ::c_char, times: *const ::timeval) -> ::c_int; 1194 + 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.158/src/unix/mod.rs:1195:38 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1195 | pub fn dlopen(filename: *const ::c_char, flag: ::c_int) -> *mut ::c_void; | ^^^^^^ | help: a type alias with a similar name exists | 1195 | pub fn dlopen(filename: *const ::c_schar, flag: ::c_int) -> *mut ::c_void; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1195 - pub fn dlopen(filename: *const ::c_char, flag: ::c_int) -> *mut ::c_void; 1195 + 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.158/src/unix/mod.rs:1196:32 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1196 | pub fn dlerror() -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1196 | pub fn dlerror() -> *mut ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1196 - pub fn dlerror() -> *mut ::c_char; 1196 + 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.158/src/unix/mod.rs:1197:58 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1197 | pub fn dlsym(handle: *mut ::c_void, symbol: *const ::c_char) -> *mut ::c_void; | ^^^^^^ | help: a type alias with a similar name exists | 1197 | pub fn dlsym(handle: *mut ::c_void, symbol: *const ::c_schar) -> *mut ::c_void; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1197 - pub fn dlsym(handle: *mut ::c_void, symbol: *const ::c_char) -> *mut ::c_void; 1197 + 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.158/src/unix/mod.rs:1211:22 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1211 | node: *const c_char, | ^^^^^^ | help: a type alias with a similar name exists | 1211 | node: *const c_schar, | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1212:25 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1212 | service: *const c_char, | ^^^^^^ | help: a type alias with a similar name exists | 1212 | service: *const c_schar, | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | error[E0412]: cannot find type `addrinfo` in this scope --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.158/src/unix/mod.rs:1213:23 | 1213 | 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.158/src/unix/mod.rs:1214:24 | 1214 | 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.158/src/unix/mod.rs:1222:35 | 1222 | 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.158/src/unix/mod.rs:1223:52 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1223 | pub fn hstrerror(errcode: ::c_int) -> *const ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1223 | pub fn hstrerror(errcode: ::c_int) -> *const ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1223 - pub fn hstrerror(errcode: ::c_int) -> *const ::c_char; 1223 + 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.158/src/unix/mod.rs:1224:55 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1224 | pub fn gai_strerror(errcode: ::c_int) -> *const ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1224 | pub fn gai_strerror(errcode: ::c_int) -> *const ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1224 - pub fn gai_strerror(errcode: ::c_int) -> *const ::c_char; 1224 + 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.158/src/unix/mod.rs:1252:36 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1252 | 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.158/src/unix/mod.rs:1252:57 | 1252 | 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.158/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.158/src/unix/mod.rs:1252:69 | 1252 | 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.158/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.158/src/unix/mod.rs:1256:39 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1256 | 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.158/src/unix/mod.rs:1256:60 | 1256 | 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.158/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.158/src/unix/mod.rs:1256:72 | 1256 | 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.158/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.158/src/unix/mod.rs:1264:28 | 1264 | 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.158/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.158/src/unix/mod.rs:1264:35 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1264 | 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.158/src/unix/mod.rs:1268:28 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1268 | 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.158/src/unix/mod.rs:1268:39 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1268 | 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.158/src/unix/mod.rs:1272:34 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1272 | 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.158/src/unix/mod.rs:1272:50 | 1272 | 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.158/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.158/src/unix/mod.rs:1276:37 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1276 | 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.158/src/unix/mod.rs:1276:53 | 1276 | 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.158/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.158/src/unix/mod.rs:1280:28 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1280 | 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.158/src/unix/mod.rs:1280:43 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1280 | 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.158/src/unix/mod.rs:1284:30 | 1284 | 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.158/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.158/src/unix/mod.rs:1284:37 | 19 | pub type size_t = usize; | ------------------------ similarly named type alias `size_t` defined here ... 1284 | 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.158/src/unix/mod.rs:1291:37 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1291 | pub fn mknod(pathname: *const ::c_char, mode: ::mode_t, dev: ::dev_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1291 | pub fn mknod(pathname: *const ::c_schar, mode: ::mode_t, dev: ::dev_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1291 - pub fn mknod(pathname: *const ::c_char, mode: ::mode_t, dev: ::dev_t) -> ::c_int; 1291 + 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.158/src/unix/mod.rs:1291:53 | 1291 | 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.158/src/unix/mod.rs:1291:68 | 1291 | 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.158/src/unix/mod.rs:1292:37 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1292 | pub fn gethostname(name: *mut ::c_char, len: ::size_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1292 | pub fn gethostname(name: *mut ::c_schar, len: ::size_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1292 - pub fn gethostname(name: *mut ::c_char, len: ::size_t) -> ::c_int; 1292 + 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.158/src/unix/mod.rs:1294:41 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1294 | pub fn getservbyname(name: *const ::c_char, proto: *const ::c_char) -> *mut servent; | ^^^^^^ | help: a type alias with a similar name exists | 1294 | pub fn getservbyname(name: *const ::c_schar, proto: *const ::c_char) -> *mut servent; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1294 - pub fn getservbyname(name: *const ::c_char, proto: *const ::c_char) -> *mut servent; 1294 + 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.158/src/unix/mod.rs:1294:65 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1294 | pub fn getservbyname(name: *const ::c_char, proto: *const ::c_char) -> *mut servent; | ^^^^^^ | help: a type alias with a similar name exists | 1294 | pub fn getservbyname(name: *const ::c_char, proto: *const ::c_schar) -> *mut servent; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1294 - pub fn getservbyname(name: *const ::c_char, proto: *const ::c_char) -> *mut servent; 1294 + 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.158/src/unix/mod.rs:1295:57 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1295 | pub fn getservbyport(port: ::c_int, proto: *const ::c_char) -> *mut servent; | ^^^^^^ | help: a type alias with a similar name exists | 1295 | pub fn getservbyport(port: ::c_int, proto: *const ::c_schar) -> *mut servent; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1295 - pub fn getservbyport(port: ::c_int, proto: *const ::c_char) -> *mut servent; 1295 + 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.158/src/unix/mod.rs:1298:42 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1298 | pub fn getprotobyname(name: *const ::c_char) -> *mut protoent; | ^^^^^^ | help: a type alias with a similar name exists | 1298 | pub fn getprotobyname(name: *const ::c_schar) -> *mut protoent; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1298 - pub fn getprotobyname(name: *const ::c_char) -> *mut protoent; 1298 + 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.158/src/unix/mod.rs:1300:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1300 | pub fn chroot(name: *const ::c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1300 | pub fn chroot(name: *const ::c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1300 - pub fn chroot(name: *const ::c_char) -> ::c_int; 1300 + 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.158/src/unix/mod.rs:1323:32 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1323 | pub fn putenv(string: *mut c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1323 | pub fn putenv(string: *mut c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1328:41 | 1328 | 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.158/src/unix/mod.rs:1340:23 | 1340 | 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.158/src/unix/mod.rs:1341:24 | 1341 | 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.158/src/unix/mod.rs:1342:24 | 1342 | 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.158/src/unix/mod.rs:1346:58 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1346 | pub fn setlocale(category: ::c_int, locale: *const ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1346 | pub fn setlocale(category: ::c_int, locale: *const ::c_schar) -> *mut ::c_char; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1346 - pub fn setlocale(category: ::c_int, locale: *const ::c_char) -> *mut ::c_char; 1346 + 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.158/src/unix/mod.rs:1346:76 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1346 | pub fn setlocale(category: ::c_int, locale: *const ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1346 | pub fn setlocale(category: ::c_int, locale: *const ::c_char) -> *mut ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1346 - pub fn setlocale(category: ::c_int, locale: *const ::c_char) -> *mut ::c_char; 1346 + 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.158/src/unix/mod.rs:1347:33 | 1347 | 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.158/src/unix/mod.rs:1353:31 | 1353 | 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.158/src/unix/mod.rs:1354:34 | 1354 | 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.158/src/unix/mod.rs:1355:31 | 1355 | 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.158/src/unix/mod.rs:1356:33 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1356 | pub fn statvfs(path: *const c_char, buf: *mut statvfs) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1356 | pub fn statvfs(path: *const c_schar, buf: *mut statvfs) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | error[E0573]: expected type, found function `statvfs` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.158/src/unix/mod.rs:1356:51 | 1356 | 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.158/src/unix/mod.rs:1357:44 | 1357 | 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.158/src/unix/mod.rs:1360:34 | 1360 | 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.158/src/unix/mod.rs:1362:32 | 1362 | 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.158/src/unix/mod.rs:1364:33 | 1364 | 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.158/src/unix/mod.rs:1366:32 | 1366 | 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.158/src/unix/mod.rs:1368:36 | 1368 | 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.158/src/unix/mod.rs:1371:50 | 1371 | 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.158/src/unix/mod.rs:1371:73 | 1371 | 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.158/src/unix/mod.rs:1373:33 | 1373 | 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.158/src/unix/mod.rs:1375:40 | 1375 | pub fn sysconf(name: ::c_int) -> ::c_long; | ^^^^^^ not found in the crate root | help: consider importing this type alias | 1622 + use ffi::c_long; | help: if you import `c_long`, refer to it directly | 1375 - pub fn sysconf(name: ::c_int) -> ::c_long; 1375 + 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.158/src/unix/mod.rs:1377:32 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1377 | pub fn mkfifo(path: *const c_char, mode: mode_t) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1377 | pub fn mkfifo(path: *const c_schar, mode: mode_t) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1377:46 | 1377 | 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.158/src/unix/mod.rs:1379:50 | 1379 | 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.158/src/unix/mod.rs:1380:45 | 1380 | 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.158/src/unix/mod.rs:1386:42 | 1386 | 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.158/src/unix/mod.rs:1386:56 | 1386 | 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.158/src/unix/mod.rs:1387:42 | 1387 | 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.158/src/unix/mod.rs:1387:56 | 1387 | 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.158/src/unix/mod.rs:1388:40 | 1388 | 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.158/src/unix/mod.rs:1388:58 | 1388 | 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.158/src/unix/mod.rs:1389:40 | 1389 | 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.158/src/unix/mod.rs:1389:58 | 1389 | 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.158/src/unix/mod.rs:1390:51 | 1390 | 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.158/src/unix/mod.rs:1391:80 | 1391 | 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.158/src/unix/mod.rs:1396:37 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1396 | pub fn mkstemp(template: *mut ::c_char) -> ::c_int; | ^^^^^^ | help: a type alias with a similar name exists | 1396 | pub fn mkstemp(template: *mut ::c_schar) -> ::c_int; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1396 - pub fn mkstemp(template: *mut ::c_char) -> ::c_int; 1396 + 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.158/src/unix/mod.rs:1397:37 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1397 | pub fn mkdtemp(template: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1397 | pub fn mkdtemp(template: *mut ::c_schar) -> *mut ::c_char; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1397 - pub fn mkdtemp(template: *mut ::c_char) -> *mut ::c_char; 1397 + 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.158/src/unix/mod.rs:1397:55 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1397 | pub fn mkdtemp(template: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1397 | pub fn mkdtemp(template: *mut ::c_char) -> *mut ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1397 - pub fn mkdtemp(template: *mut ::c_char) -> *mut ::c_char; 1397 + 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.158/src/unix/mod.rs:1399:31 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1399 | pub fn tmpnam(ptr: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1399 | pub fn tmpnam(ptr: *mut ::c_schar) -> *mut ::c_char; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1399 - pub fn tmpnam(ptr: *mut ::c_char) -> *mut ::c_char; 1399 + 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.158/src/unix/mod.rs:1399:49 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1399 | pub fn tmpnam(ptr: *mut ::c_char) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1399 | pub fn tmpnam(ptr: *mut ::c_char) -> *mut ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1399 - pub fn tmpnam(ptr: *mut ::c_char) -> *mut ::c_char; 1399 + 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.158/src/unix/mod.rs:1401:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1401 | pub fn openlog(ident: *const ::c_char, logopt: ::c_int, facility: ::c_int); | ^^^^^^ | help: a type alias with a similar name exists | 1401 | pub fn openlog(ident: *const ::c_schar, logopt: ::c_int, facility: ::c_int); | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1401 - pub fn openlog(ident: *const ::c_char, logopt: ::c_int, facility: ::c_int); 1401 + 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.158/src/unix/mod.rs:1405:56 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1405 | pub fn syslog(priority: ::c_int, message: *const ::c_char, ...); | ^^^^^^ | help: a type alias with a similar name exists | 1405 | pub fn syslog(priority: ::c_int, message: *const ::c_schar, ...); | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1405 - pub fn syslog(priority: ::c_int, message: *const ::c_char, ...); 1405 + 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.158/src/unix/mod.rs:1414:43 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1414 | pub fn ptsname(fd: ::c_int) -> *mut ::c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1414 | pub fn ptsname(fd: ::c_int) -> *mut ::c_schar; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1414 - pub fn ptsname(fd: ::c_int) -> *mut ::c_char; 1414 + 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.158/src/unix/mod.rs:1417:34 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1417 | pub fn strcasestr(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1417 | pub fn strcasestr(cs: *const c_schar, ct: *const c_char) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1417:53 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1417 | pub fn strcasestr(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1417 | pub fn strcasestr(cs: *const c_char, ct: *const c_schar) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1417:69 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1417 | pub fn strcasestr(cs: *const c_char, ct: *const c_char) -> *mut c_char; | ^^^^^^ | help: a type alias with a similar name exists | 1417 | pub fn strcasestr(cs: *const c_char, ct: *const c_char) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1418:39 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1418 | 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 | 1418 | pub fn getline(lineptr: *mut *mut c_schar, n: *mut size_t, stream: *mut FILE) -> ssize_t; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1420:52 | 1420 | 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.158/src/unix/mod.rs:1440:38 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1440 | 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 | 1440 | pub fn stpncpy(dst: *mut c_schar, src: *const c_char, n: size_t) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1440:58 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1440 | 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 | 1440 | pub fn stpncpy(dst: *mut c_char, src: *const c_schar, n: size_t) -> *mut c_char; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1440:85 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1440 | 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 | 1440 | pub fn stpncpy(dst: *mut c_char, src: *const c_char, n: size_t) -> *mut c_schar; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1448:61 | 1448 | 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.158/src/unix/mod.rs:1457:32 | 1457 | 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.158/src/unix/mod.rs:1472:63 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1472 | pub fn mkdirat(dirfd: ::c_int, pathname: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 1472 | pub fn mkdirat(dirfd: ::c_int, pathname: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1472 - pub fn mkdirat(dirfd: ::c_int, pathname: *const ::c_char, 1472 + 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.158/src/unix/mod.rs:1473:35 | 1473 | 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.158/src/unix/mod.rs:1474:62 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1474 | pub fn openat(dirfd: ::c_int, pathname: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 1474 | pub fn openat(dirfd: ::c_int, pathname: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1474 - pub fn openat(dirfd: ::c_int, pathname: *const ::c_char, 1474 + 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.158/src/unix/mod.rs:1497:62 | 1497 | 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.158/src/unix/mod.rs:1498:50 | 1498 | ... 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.158/src/unix/mod.rs:1528:36 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1528 | pathname: *const ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 1528 | pathname: *const ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1528 - pathname: *const ::c_char, 1528 + 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.158/src/unix/mod.rs:1529:29 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1529 | buf: *mut ::c_char, | ^^^^^^ | help: a type alias with a similar name exists | 1529 | buf: *mut ::c_schar, | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | help: if you import `c_char`, refer to it directly | 1529 - buf: *mut ::c_char, 1529 + 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.158/src/unix/mod.rs:1531:74 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1531 | 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 | 1531 | pub fn fmemopen(buf: *mut c_void, size: size_t, mode: *const c_schar) -> *mut FILE; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1532:50 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1532 | pub fn open_memstream(ptr: *mut *mut c_char, sizeloc: *mut size_t) -> *mut FILE; | ^^^^^^ | help: a type alias with a similar name exists | 1532 | pub fn open_memstream(ptr: *mut *mut c_schar, sizeloc: *mut size_t) -> *mut FILE; | ~~~~~~~ help: consider importing this type alias | 1622 + use ffi::c_char; | error[E0573]: expected type, found function `sigaction` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.158/src/unix/mod.rs:1537:29 | 1537 | act: *const sigaction, | ^^^^^^^^^ not a type error[E0573]: expected type, found function `sigaction` --> /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.158/src/unix/mod.rs:1538:30 | 1538 | 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.158/src/unix/mod.rs:1540:42 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1540 | 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 | 1540 | pub fn readlink(path: *const c_schar, buf: *mut c_char, bufsz: ::size_t) -> ::ssize_t; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1540:60 | 6 | pub type c_schar = i8; | ---------------------- similarly named type alias `c_schar` defined here ... 1540 | 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 | 1540 | pub fn readlink(path: *const c_char, buf: *mut c_schar, bufsz: ::size_t) -> ::ssize_t; | ~~~~~~~ help: consider importing this type alias | 1622 + 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.158/src/unix/mod.rs:1552:31 | 1552 | 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.158/src/unix/mod.rs:1553:32 | 1553 | 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.158/src/unix/mod.rs:1554:32 | 1554 | 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.158/src/unix/mod.rs:1556:33 | 1556 | 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.158/src/unix/mod.rs:1568:46 | 1568 | 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.158/src/unix/mod.rs:1569:47 | 1569 | 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.158/src/unix/mod.rs:1570:40 | 1570 | ... 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 404 previous errors