This is a fairly strange error, but I am reporting it here because I don't know what the cause may be.
I followed the instructions here but I can't get this repository to install correctly:
Updating git repository `https://github.com/alexcrichton/wasm-gc`
Installing wasm-gc v0.1.0 (https://github.com/alexcrichton/wasm-gc#e158766d)
Updating registry `https://github.com/rust-lang/crates.io-index`
Downloading parity-wasm v0.15.4
Compiling libc v0.2.33
Compiling log v0.3.8
Compiling stable_deref_trait v1.0.0
Compiling smallvec v0.4.4
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:163:35
|
163 | pub fn fopen(filename: *const c_char,
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:164:31
|
164 | mode: *const c_char) -> *mut FILE;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:167:37
|
167 | pub fn freopen(filename: *const c_char, mode: *const c_char,
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:167:58
|
167 | pub fn freopen(filename: *const c_char, mode: *const c_char,
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:171:36
|
171 | pub fn remove(filename: *const c_char) -> c_int;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:172:35
|
172 | pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:172:59
|
172 | pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:175:33
|
175 | buffer: *mut c_char,
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:178:48
|
178 | pub fn setbuf(stream: *mut FILE, buf: *mut c_char);
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:182:28
|
182 | pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:182:73
|
182 | pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:186:28
|
186 | pub fn fputs(s: *const c_char, stream: *mut FILE)-> c_int;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:187:27
|
187 | pub fn puts(s: *const c_char) -> c_int;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_long` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:201:45
|
201 | pub fn fseek(stream: *mut FILE, offset: c_long, whence: c_int) -> c_int;
| ^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_long;
|
error[E0412]: cannot find type `c_long` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:202:40
|
202 | pub fn ftell(stream: *mut FILE) -> c_long;
| ^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_long;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:210:29
|
210 | pub fn perror(s: *const c_char);
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:211:27
|
211 | pub fn atoi(s: *const c_char) -> c_int;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:214:29
|
214 | pub fn strtod(s: *const c_char, endp: *mut *mut c_char) -> c_double;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:214:53
|
214 | pub fn strtod(s: *const c_char, endp: *mut *mut c_char) -> c_double;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:215:29
|
215 | pub fn strtol(s: *const c_char,
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:216:35
|
216 | endp: *mut *mut c_char, base: c_int) -> c_long;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_long` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:216:59
|
216 | endp: *mut *mut c_char, base: c_int) -> c_long;
| ^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_long;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:217:30
|
217 | pub fn strtoul(s: *const c_char, endp: *mut *mut c_char,
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:217:54
|
217 | pub fn strtoul(s: *const c_char, endp: *mut *mut c_char,
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_ulong` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:218:36
|
218 | base: c_int) -> c_ulong;
| ^^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_ulong;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:229:29
|
229 | pub fn system(s: *const c_char) -> c_int;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:230:29
|
230 | pub fn getenv(s: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:230:45
|
230 | pub fn getenv(s: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:232:29
|
232 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:232:49
|
232 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:232:65
|
232 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:233:30
|
233 | pub fn strncpy(dst: *mut c_char, src: *const c_char, n: size_t)
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:233:50
|
233 | pub fn strncpy(dst: *mut c_char, src: *const c_char, n: size_t)
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:234:28
|
234 | -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:235:27
|
235 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:235:46
|
235 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:235:62
|
235 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:236:28
|
236 | pub fn strncat(s: *mut c_char, ct: *const c_char, n: size_t) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:236:47
|
236 | pub fn strncat(s: *mut c_char, ct: *const c_char, n: size_t) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:236:74
|
236 | pub fn strncat(s: *mut c_char, ct: *const c_char, n: size_t) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:237:30
|
237 | pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:237:49
|
237 | pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:238:31
|
238 | pub fn strncmp(cs: *const c_char, ct: *const c_char, n: size_t) -> c_int;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:238:50
|
238 | pub fn strncmp(cs: *const c_char, ct: *const c_char, n: size_t) -> c_int;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:239:31
|
239 | pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:239:50
|
239 | pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:240:30
|
240 | pub fn strchr(cs: *const c_char, c: c_int) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:240:56
|
240 | pub fn strchr(cs: *const c_char, c: c_int) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:241:31
|
241 | pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:241:57
|
241 | pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:242:30
|
242 | pub fn strspn(cs: *const c_char, ct: *const c_char) -> size_t;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:242:49
|
242 | pub fn strspn(cs: *const c_char, ct: *const c_char) -> size_t;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:243:31
|
243 | pub fn strcspn(cs: *const c_char, ct: *const c_char) -> size_t;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:243:50
|
243 | pub fn strcspn(cs: *const c_char, ct: *const c_char) -> size_t;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:244:30
|
244 | pub fn strdup(cs: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:244:46
|
244 | pub fn strdup(cs: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:245:31
|
245 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:245:50
|
245 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:245:66
|
245 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:246:30
|
246 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:246:49
|
246 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:246:65
|
246 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:247:30
|
247 | pub fn strlen(cs: *const c_char) -> size_t;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:248:31
|
248 | pub fn strnlen(cs: *const c_char, maxlen: size_t) -> size_t;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:251:39
|
251 | pub fn strerror(n: c_int) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:252:27
|
252 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:252:45
|
252 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:252:61
|
252 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:253:28
|
253 | pub fn strxfrm(s: *mut c_char, ct: *const c_char, n: size_t) -> size_t;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:253:47
|
253 | pub fn strxfrm(s: *mut c_char, ct: *const c_char, n: size_t) -> size_t;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `wchar_t` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:254:31
|
254 | pub fn wcslen(buf: *const wchar_t) -> size_t;
| ^^^^^^^ not found in this scope
error[E0412]: cannot find type `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:255:32
|
255 | pub fn wcstombs(dest: *mut c_char, src: *const wchar_t, n: size_t) -> ::size_t;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `wchar_t` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:255:52
|
255 | 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 `c_char` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:269:27
|
269 | pub fn atof(s: *const c_char) -> c_double;
| ^^^^^^ did you mean `c_schar`?
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_char;
|
error[E0412]: cannot find type `c_long` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:270:20
|
270 | pub fn labs(i: c_long) -> c_long;
| ^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_long;
|
error[E0412]: cannot find type `c_long` in this scope
--> /home/felix/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.33/src/lib.rs:270:31
|
270 | pub fn labs(i: c_long) -> c_long;
| ^^^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
100 | use core::os::raw::c_long;
|
error: aborting due to 76 previous errors
Compiling byteorder v1.1.0
error: Could not compile `libc`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `wasm-gc v0.1.0 (https://github.com/alexcrichton/wasm-gc#e158766d)`, intermediate artifacts can be found at `/tmp/cargo-install.KFHYJSoMzoqt`
Caused by:
build failed
I am not sure what caused this (libc failed to build?) or how I should fix this. Seems like module errors, but I don't know where they are coming from. So far I haven't been able to install wasm-gc
.
rustc 1.23.0-nightly (e97ba8328 2017-11-25)
binary: rustc
commit-hash: e97ba83287a6f0f85cc9cc7a51ab309487e17038
commit-date: 2017-11-25
host: x86_64-unknown-linux-gnu
release: 1.23.0-nightly
LLVM version: 4.0
It may be that the error has nothing to do with this repo per se, but I don't know where to ask, sorry.