blob: 5e3efe1c2c904159d5429a66c0e41b8170e3285a [file] [log] [blame]
Kelvin Ly6e4beb62017-04-24 21:08:24 -04001warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
2package: /home/kelvin/repos/libc/libc-test/Cargo.toml
3workspace: /home/kelvin/repos/libc/Cargo.toml
4 Compiling libc v0.2.21 (file:///home/kelvin/repos/libc)
5error[E0412]: cannot find type `c_char` in this scope
6 --> /home/kelvin/repos/libc/src/lib.rs:154:35
7 |
8154 | pub fn fopen(filename: *const c_char,
9 | ^^^^^^ did you mean `c_schar`?
10 |
11 = help: possible candidate is found in another module, you can import it into scope:
12 `use core::os::raw::c_char;`
13
14error[E0412]: cannot find type `c_char` in this scope
15 --> /home/kelvin/repos/libc/src/lib.rs:155:31
16 |
17155 | mode: *const c_char) -> *mut FILE;
18 | ^^^^^^ did you mean `c_schar`?
19 |
20 = help: possible candidate is found in another module, you can import it into scope:
21 `use core::os::raw::c_char;`
22
23error[E0412]: cannot find type `c_char` in this scope
24 --> /home/kelvin/repos/libc/src/lib.rs:158:37
25 |
26158 | pub fn freopen(filename: *const c_char, mode: *const c_char,
27 | ^^^^^^ did you mean `c_schar`?
28 |
29 = help: possible candidate is found in another module, you can import it into scope:
30 `use core::os::raw::c_char;`
31
32error[E0412]: cannot find type `c_char` in this scope
33 --> /home/kelvin/repos/libc/src/lib.rs:158:58
34 |
35158 | pub fn freopen(filename: *const c_char, mode: *const c_char,
36 | ^^^^^^ did you mean `c_schar`?
37 |
38 = help: possible candidate is found in another module, you can import it into scope:
39 `use core::os::raw::c_char;`
40
41error[E0412]: cannot find type `c_char` in this scope
42 --> /home/kelvin/repos/libc/src/lib.rs:162:36
43 |
44162 | pub fn remove(filename: *const c_char) -> c_int;
45 | ^^^^^^ did you mean `c_schar`?
46 |
47 = help: possible candidate is found in another module, you can import it into scope:
48 `use core::os::raw::c_char;`
49
50error[E0412]: cannot find type `c_char` in this scope
51 --> /home/kelvin/repos/libc/src/lib.rs:163:35
52 |
53163 | pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int;
54 | ^^^^^^ did you mean `c_schar`?
55 |
56 = help: possible candidate is found in another module, you can import it into scope:
57 `use core::os::raw::c_char;`
58
59error[E0412]: cannot find type `c_char` in this scope
60 --> /home/kelvin/repos/libc/src/lib.rs:163:59
61 |
62163 | pub fn rename(oldname: *const c_char, newname: *const c_char) -> c_int;
63 | ^^^^^^ did you mean `c_schar`?
64 |
65 = help: possible candidate is found in another module, you can import it into scope:
66 `use core::os::raw::c_char;`
67
68error[E0412]: cannot find type `c_char` in this scope
69 --> /home/kelvin/repos/libc/src/lib.rs:166:33
70 |
71166 | buffer: *mut c_char,
72 | ^^^^^^ did you mean `c_schar`?
73 |
74 = help: possible candidate is found in another module, you can import it into scope:
75 `use core::os::raw::c_char;`
76
77error[E0412]: cannot find type `c_char` in this scope
78 --> /home/kelvin/repos/libc/src/lib.rs:169:48
79 |
80169 | pub fn setbuf(stream: *mut FILE, buf: *mut c_char);
81 | ^^^^^^ did you mean `c_schar`?
82 |
83 = help: possible candidate is found in another module, you can import it into scope:
84 `use core::os::raw::c_char;`
85
86error[E0412]: cannot find type `c_char` in this scope
87 --> /home/kelvin/repos/libc/src/lib.rs:173:28
88 |
89173 | pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char;
90 | ^^^^^^ did you mean `c_schar`?
91 |
92 = help: possible candidate is found in another module, you can import it into scope:
93 `use core::os::raw::c_char;`
94
95error[E0412]: cannot find type `c_char` in this scope
96 --> /home/kelvin/repos/libc/src/lib.rs:173:73
97 |
98173 | pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char;
99 | ^^^^^^ did you mean `c_schar`?
100 |
101 = help: possible candidate is found in another module, you can import it into scope:
102 `use core::os::raw::c_char;`
103
104error[E0412]: cannot find type `c_char` in this scope
105 --> /home/kelvin/repos/libc/src/lib.rs:177:28
106 |
107177 | pub fn fputs(s: *const c_char, stream: *mut FILE)-> c_int;
108 | ^^^^^^ did you mean `c_schar`?
109 |
110 = help: possible candidate is found in another module, you can import it into scope:
111 `use core::os::raw::c_char;`
112
113error[E0412]: cannot find type `c_char` in this scope
114 --> /home/kelvin/repos/libc/src/lib.rs:178:27
115 |
116178 | pub fn puts(s: *const c_char) -> c_int;
117 | ^^^^^^ did you mean `c_schar`?
118 |
119 = help: possible candidate is found in another module, you can import it into scope:
120 `use core::os::raw::c_char;`
121
122error[E0412]: cannot find type `c_long` in this scope
123 --> /home/kelvin/repos/libc/src/lib.rs:192:45
124 |
125192 | pub fn fseek(stream: *mut FILE, offset: c_long, whence: c_int) -> c_int;
126 | ^^^^^^ not found in this scope
127 |
128 = help: possible candidate is found in another module, you can import it into scope:
129 `use core::os::raw::c_long;`
130
131error[E0412]: cannot find type `c_long` in this scope
132 --> /home/kelvin/repos/libc/src/lib.rs:193:40
133 |
134193 | pub fn ftell(stream: *mut FILE) -> c_long;
135 | ^^^^^^ not found in this scope
136 |
137 = help: possible candidate is found in another module, you can import it into scope:
138 `use core::os::raw::c_long;`
139
140error[E0412]: cannot find type `c_char` in this scope
141 --> /home/kelvin/repos/libc/src/lib.rs:201:29
142 |
143201 | pub fn perror(s: *const c_char);
144 | ^^^^^^ did you mean `c_schar`?
145 |
146 = help: possible candidate is found in another module, you can import it into scope:
147 `use core::os::raw::c_char;`
148
149error[E0412]: cannot find type `c_char` in this scope
150 --> /home/kelvin/repos/libc/src/lib.rs:202:27
151 |
152202 | pub fn atoi(s: *const c_char) -> c_int;
153 | ^^^^^^ did you mean `c_schar`?
154 |
155 = help: possible candidate is found in another module, you can import it into scope:
156 `use core::os::raw::c_char;`
157
158error[E0412]: cannot find type `c_char` in this scope
159 --> /home/kelvin/repos/libc/src/lib.rs:205:29
160 |
161205 | pub fn strtod(s: *const c_char, endp: *mut *mut c_char) -> c_double;
162 | ^^^^^^ did you mean `c_schar`?
163 |
164 = help: possible candidate is found in another module, you can import it into scope:
165 `use core::os::raw::c_char;`
166
167error[E0412]: cannot find type `c_char` in this scope
168 --> /home/kelvin/repos/libc/src/lib.rs:205:53
169 |
170205 | pub fn strtod(s: *const c_char, endp: *mut *mut c_char) -> c_double;
171 | ^^^^^^ did you mean `c_schar`?
172 |
173 = help: possible candidate is found in another module, you can import it into scope:
174 `use core::os::raw::c_char;`
175
176error[E0412]: cannot find type `c_char` in this scope
177 --> /home/kelvin/repos/libc/src/lib.rs:206:29
178 |
179206 | pub fn strtol(s: *const c_char,
180 | ^^^^^^ did you mean `c_schar`?
181 |
182 = help: possible candidate is found in another module, you can import it into scope:
183 `use core::os::raw::c_char;`
184
185error[E0412]: cannot find type `c_char` in this scope
186 --> /home/kelvin/repos/libc/src/lib.rs:207:35
187 |
188207 | endp: *mut *mut c_char, base: c_int) -> c_long;
189 | ^^^^^^ did you mean `c_schar`?
190 |
191 = help: possible candidate is found in another module, you can import it into scope:
192 `use core::os::raw::c_char;`
193
194error[E0412]: cannot find type `c_long` in this scope
195 --> /home/kelvin/repos/libc/src/lib.rs:207:59
196 |
197207 | endp: *mut *mut c_char, base: c_int) -> c_long;
198 | ^^^^^^ not found in this scope
199 |
200 = help: possible candidate is found in another module, you can import it into scope:
201 `use core::os::raw::c_long;`
202
203error[E0412]: cannot find type `c_char` in this scope
204 --> /home/kelvin/repos/libc/src/lib.rs:208:30
205 |
206208 | pub fn strtoul(s: *const c_char, endp: *mut *mut c_char,
207 | ^^^^^^ did you mean `c_schar`?
208 |
209 = help: possible candidate is found in another module, you can import it into scope:
210 `use core::os::raw::c_char;`
211
212error[E0412]: cannot find type `c_char` in this scope
213 --> /home/kelvin/repos/libc/src/lib.rs:208:54
214 |
215208 | pub fn strtoul(s: *const c_char, endp: *mut *mut c_char,
216 | ^^^^^^ did you mean `c_schar`?
217 |
218 = help: possible candidate is found in another module, you can import it into scope:
219 `use core::os::raw::c_char;`
220
221error[E0412]: cannot find type `c_ulong` in this scope
222 --> /home/kelvin/repos/libc/src/lib.rs:209:36
223 |
224209 | base: c_int) -> c_ulong;
225 | ^^^^^^^ not found in this scope
226 |
227 = help: possible candidate is found in another module, you can import it into scope:
228 `use core::os::raw::c_ulong;`
229
230error[E0412]: cannot find type `c_char` in this scope
231 --> /home/kelvin/repos/libc/src/lib.rs:220:29
232 |
233220 | pub fn system(s: *const c_char) -> c_int;
234 | ^^^^^^ did you mean `c_schar`?
235 |
236 = help: possible candidate is found in another module, you can import it into scope:
237 `use core::os::raw::c_char;`
238
239error[E0412]: cannot find type `c_char` in this scope
240 --> /home/kelvin/repos/libc/src/lib.rs:221:29
241 |
242221 | pub fn getenv(s: *const c_char) -> *mut c_char;
243 | ^^^^^^ did you mean `c_schar`?
244 |
245 = help: possible candidate is found in another module, you can import it into scope:
246 `use core::os::raw::c_char;`
247
248error[E0412]: cannot find type `c_char` in this scope
249 --> /home/kelvin/repos/libc/src/lib.rs:221:45
250 |
251221 | pub fn getenv(s: *const c_char) -> *mut c_char;
252 | ^^^^^^ did you mean `c_schar`?
253 |
254 = help: possible candidate is found in another module, you can import it into scope:
255 `use core::os::raw::c_char;`
256
257error[E0412]: cannot find type `c_char` in this scope
258 --> /home/kelvin/repos/libc/src/lib.rs:223:29
259 |
260223 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char;
261 | ^^^^^^ did you mean `c_schar`?
262 |
263 = help: possible candidate is found in another module, you can import it into scope:
264 `use core::os::raw::c_char;`
265
266error[E0412]: cannot find type `c_char` in this scope
267 --> /home/kelvin/repos/libc/src/lib.rs:223:49
268 |
269223 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char;
270 | ^^^^^^ did you mean `c_schar`?
271 |
272 = help: possible candidate is found in another module, you can import it into scope:
273 `use core::os::raw::c_char;`
274
275error[E0412]: cannot find type `c_char` in this scope
276 --> /home/kelvin/repos/libc/src/lib.rs:223:65
277 |
278223 | pub fn strcpy(dst: *mut c_char, src: *const c_char) -> *mut c_char;
279 | ^^^^^^ did you mean `c_schar`?
280 |
281 = help: possible candidate is found in another module, you can import it into scope:
282 `use core::os::raw::c_char;`
283
284error[E0412]: cannot find type `c_char` in this scope
285 --> /home/kelvin/repos/libc/src/lib.rs:224:30
286 |
287224 | pub fn strncpy(dst: *mut c_char, src: *const c_char, n: size_t)
288 | ^^^^^^ did you mean `c_schar`?
289 |
290 = help: possible candidate is found in another module, you can import it into scope:
291 `use core::os::raw::c_char;`
292
293error[E0412]: cannot find type `c_char` in this scope
294 --> /home/kelvin/repos/libc/src/lib.rs:224:50
295 |
296224 | pub fn strncpy(dst: *mut c_char, src: *const c_char, n: size_t)
297 | ^^^^^^ did you mean `c_schar`?
298 |
299 = help: possible candidate is found in another module, you can import it into scope:
300 `use core::os::raw::c_char;`
301
302error[E0412]: cannot find type `c_char` in this scope
303 --> /home/kelvin/repos/libc/src/lib.rs:225:28
304 |
305225 | -> *mut c_char;
306 | ^^^^^^ did you mean `c_schar`?
307 |
308 = help: possible candidate is found in another module, you can import it into scope:
309 `use core::os::raw::c_char;`
310
311error[E0412]: cannot find type `c_char` in this scope
312 --> /home/kelvin/repos/libc/src/lib.rs:226:27
313 |
314226 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_char;
315 | ^^^^^^ did you mean `c_schar`?
316 |
317 = help: possible candidate is found in another module, you can import it into scope:
318 `use core::os::raw::c_char;`
319
320error[E0412]: cannot find type `c_char` in this scope
321 --> /home/kelvin/repos/libc/src/lib.rs:226:46
322 |
323226 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_char;
324 | ^^^^^^ did you mean `c_schar`?
325 |
326 = help: possible candidate is found in another module, you can import it into scope:
327 `use core::os::raw::c_char;`
328
329error[E0412]: cannot find type `c_char` in this scope
330 --> /home/kelvin/repos/libc/src/lib.rs:226:62
331 |
332226 | pub fn strcat(s: *mut c_char, ct: *const c_char) -> *mut c_char;
333 | ^^^^^^ did you mean `c_schar`?
334 |
335 = help: possible candidate is found in another module, you can import it into scope:
336 `use core::os::raw::c_char;`
337
338error[E0412]: cannot find type `c_char` in this scope
339 --> /home/kelvin/repos/libc/src/lib.rs:227:28
340 |
341227 | pub fn strncat(s: *mut c_char, ct: *const c_char, n: size_t) -> *mut c_char;
342 | ^^^^^^ did you mean `c_schar`?
343 |
344 = help: possible candidate is found in another module, you can import it into scope:
345 `use core::os::raw::c_char;`
346
347error[E0412]: cannot find type `c_char` in this scope
348 --> /home/kelvin/repos/libc/src/lib.rs:227:47
349 |
350227 | pub fn strncat(s: *mut c_char, ct: *const c_char, n: size_t) -> *mut c_char;
351 | ^^^^^^ did you mean `c_schar`?
352 |
353 = help: possible candidate is found in another module, you can import it into scope:
354 `use core::os::raw::c_char;`
355
356error[E0412]: cannot find type `c_char` in this scope
357 --> /home/kelvin/repos/libc/src/lib.rs:227:74
358 |
359227 | pub fn strncat(s: *mut c_char, ct: *const c_char, n: size_t) -> *mut c_char;
360 | ^^^^^^ did you mean `c_schar`?
361 |
362 = help: possible candidate is found in another module, you can import it into scope:
363 `use core::os::raw::c_char;`
364
365error[E0412]: cannot find type `c_char` in this scope
366 --> /home/kelvin/repos/libc/src/lib.rs:228:30
367 |
368228 | pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int;
369 | ^^^^^^ did you mean `c_schar`?
370 |
371 = help: possible candidate is found in another module, you can import it into scope:
372 `use core::os::raw::c_char;`
373
374error[E0412]: cannot find type `c_char` in this scope
375 --> /home/kelvin/repos/libc/src/lib.rs:228:49
376 |
377228 | pub fn strcmp(cs: *const c_char, ct: *const c_char) -> c_int;
378 | ^^^^^^ did you mean `c_schar`?
379 |
380 = help: possible candidate is found in another module, you can import it into scope:
381 `use core::os::raw::c_char;`
382
383error[E0412]: cannot find type `c_char` in this scope
384 --> /home/kelvin/repos/libc/src/lib.rs:229:31
385 |
386229 | pub fn strncmp(cs: *const c_char, ct: *const c_char, n: size_t) -> c_int;
387 | ^^^^^^ did you mean `c_schar`?
388 |
389 = help: possible candidate is found in another module, you can import it into scope:
390 `use core::os::raw::c_char;`
391
392error[E0412]: cannot find type `c_char` in this scope
393 --> /home/kelvin/repos/libc/src/lib.rs:229:50
394 |
395229 | pub fn strncmp(cs: *const c_char, ct: *const c_char, n: size_t) -> c_int;
396 | ^^^^^^ did you mean `c_schar`?
397 |
398 = help: possible candidate is found in another module, you can import it into scope:
399 `use core::os::raw::c_char;`
400
401error[E0412]: cannot find type `c_char` in this scope
402 --> /home/kelvin/repos/libc/src/lib.rs:230:31
403 |
404230 | pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int;
405 | ^^^^^^ did you mean `c_schar`?
406 |
407 = help: possible candidate is found in another module, you can import it into scope:
408 `use core::os::raw::c_char;`
409
410error[E0412]: cannot find type `c_char` in this scope
411 --> /home/kelvin/repos/libc/src/lib.rs:230:50
412 |
413230 | pub fn strcoll(cs: *const c_char, ct: *const c_char) -> c_int;
414 | ^^^^^^ did you mean `c_schar`?
415 |
416 = help: possible candidate is found in another module, you can import it into scope:
417 `use core::os::raw::c_char;`
418
419error[E0412]: cannot find type `c_char` in this scope
420 --> /home/kelvin/repos/libc/src/lib.rs:231:30
421 |
422231 | pub fn strchr(cs: *const c_char, c: c_int) -> *mut c_char;
423 | ^^^^^^ did you mean `c_schar`?
424 |
425 = help: possible candidate is found in another module, you can import it into scope:
426 `use core::os::raw::c_char;`
427
428error[E0412]: cannot find type `c_char` in this scope
429 --> /home/kelvin/repos/libc/src/lib.rs:231:56
430 |
431231 | pub fn strchr(cs: *const c_char, c: c_int) -> *mut c_char;
432 | ^^^^^^ did you mean `c_schar`?
433 |
434 = help: possible candidate is found in another module, you can import it into scope:
435 `use core::os::raw::c_char;`
436
437error[E0412]: cannot find type `c_char` in this scope
438 --> /home/kelvin/repos/libc/src/lib.rs:232:31
439 |
440232 | pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_char;
441 | ^^^^^^ did you mean `c_schar`?
442 |
443 = help: possible candidate is found in another module, you can import it into scope:
444 `use core::os::raw::c_char;`
445
446error[E0412]: cannot find type `c_char` in this scope
447 --> /home/kelvin/repos/libc/src/lib.rs:232:57
448 |
449232 | pub fn strrchr(cs: *const c_char, c: c_int) -> *mut c_char;
450 | ^^^^^^ did you mean `c_schar`?
451 |
452 = help: possible candidate is found in another module, you can import it into scope:
453 `use core::os::raw::c_char;`
454
455error[E0412]: cannot find type `c_char` in this scope
456 --> /home/kelvin/repos/libc/src/lib.rs:233:30
457 |
458233 | pub fn strspn(cs: *const c_char, ct: *const c_char) -> size_t;
459 | ^^^^^^ did you mean `c_schar`?
460 |
461 = help: possible candidate is found in another module, you can import it into scope:
462 `use core::os::raw::c_char;`
463
464error[E0412]: cannot find type `c_char` in this scope
465 --> /home/kelvin/repos/libc/src/lib.rs:233:49
466 |
467233 | pub fn strspn(cs: *const c_char, ct: *const c_char) -> size_t;
468 | ^^^^^^ did you mean `c_schar`?
469 |
470 = help: possible candidate is found in another module, you can import it into scope:
471 `use core::os::raw::c_char;`
472
473error[E0412]: cannot find type `c_char` in this scope
474 --> /home/kelvin/repos/libc/src/lib.rs:234:31
475 |
476234 | pub fn strcspn(cs: *const c_char, ct: *const c_char) -> size_t;
477 | ^^^^^^ did you mean `c_schar`?
478 |
479 = help: possible candidate is found in another module, you can import it into scope:
480 `use core::os::raw::c_char;`
481
482error[E0412]: cannot find type `c_char` in this scope
483 --> /home/kelvin/repos/libc/src/lib.rs:234:50
484 |
485234 | pub fn strcspn(cs: *const c_char, ct: *const c_char) -> size_t;
486 | ^^^^^^ did you mean `c_schar`?
487 |
488 = help: possible candidate is found in another module, you can import it into scope:
489 `use core::os::raw::c_char;`
490
491error[E0412]: cannot find type `c_char` in this scope
492 --> /home/kelvin/repos/libc/src/lib.rs:235:30
493 |
494235 | pub fn strdup(cs: *const c_char) -> *mut c_char;
495 | ^^^^^^ did you mean `c_schar`?
496 |
497 = help: possible candidate is found in another module, you can import it into scope:
498 `use core::os::raw::c_char;`
499
500error[E0412]: cannot find type `c_char` in this scope
501 --> /home/kelvin/repos/libc/src/lib.rs:235:46
502 |
503235 | pub fn strdup(cs: *const c_char) -> *mut c_char;
504 | ^^^^^^ did you mean `c_schar`?
505 |
506 = help: possible candidate is found in another module, you can import it into scope:
507 `use core::os::raw::c_char;`
508
509error[E0412]: cannot find type `c_char` in this scope
510 --> /home/kelvin/repos/libc/src/lib.rs:236:31
511 |
512236 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char;
513 | ^^^^^^ did you mean `c_schar`?
514 |
515 = help: possible candidate is found in another module, you can import it into scope:
516 `use core::os::raw::c_char;`
517
518error[E0412]: cannot find type `c_char` in this scope
519 --> /home/kelvin/repos/libc/src/lib.rs:236:50
520 |
521236 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char;
522 | ^^^^^^ did you mean `c_schar`?
523 |
524 = help: possible candidate is found in another module, you can import it into scope:
525 `use core::os::raw::c_char;`
526
527error[E0412]: cannot find type `c_char` in this scope
528 --> /home/kelvin/repos/libc/src/lib.rs:236:66
529 |
530236 | pub fn strpbrk(cs: *const c_char, ct: *const c_char) -> *mut c_char;
531 | ^^^^^^ did you mean `c_schar`?
532 |
533 = help: possible candidate is found in another module, you can import it into scope:
534 `use core::os::raw::c_char;`
535
536error[E0412]: cannot find type `c_char` in this scope
537 --> /home/kelvin/repos/libc/src/lib.rs:237:30
538 |
539237 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char;
540 | ^^^^^^ did you mean `c_schar`?
541 |
542 = help: possible candidate is found in another module, you can import it into scope:
543 `use core::os::raw::c_char;`
544
545error[E0412]: cannot find type `c_char` in this scope
546 --> /home/kelvin/repos/libc/src/lib.rs:237:49
547 |
548237 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char;
549 | ^^^^^^ did you mean `c_schar`?
550 |
551 = help: possible candidate is found in another module, you can import it into scope:
552 `use core::os::raw::c_char;`
553
554error[E0412]: cannot find type `c_char` in this scope
555 --> /home/kelvin/repos/libc/src/lib.rs:237:65
556 |
557237 | pub fn strstr(cs: *const c_char, ct: *const c_char) -> *mut c_char;
558 | ^^^^^^ did you mean `c_schar`?
559 |
560 = help: possible candidate is found in another module, you can import it into scope:
561 `use core::os::raw::c_char;`
562
563error[E0412]: cannot find type `c_char` in this scope
564 --> /home/kelvin/repos/libc/src/lib.rs:238:30
565 |
566238 | pub fn strlen(cs: *const c_char) -> size_t;
567 | ^^^^^^ did you mean `c_schar`?
568 |
569 = help: possible candidate is found in another module, you can import it into scope:
570 `use core::os::raw::c_char;`
571
572error[E0412]: cannot find type `c_char` in this scope
573 --> /home/kelvin/repos/libc/src/lib.rs:239:31
574 |
575239 | pub fn strnlen(cs: *const c_char, maxlen: size_t) -> size_t;
576 | ^^^^^^ did you mean `c_schar`?
577 |
578 = help: possible candidate is found in another module, you can import it into scope:
579 `use core::os::raw::c_char;`
580
581error[E0412]: cannot find type `c_char` in this scope
582 --> /home/kelvin/repos/libc/src/lib.rs:242:39
583 |
584242 | pub fn strerror(n: c_int) -> *mut c_char;
585 | ^^^^^^ did you mean `c_schar`?
586 |
587 = help: possible candidate is found in another module, you can import it into scope:
588 `use core::os::raw::c_char;`
589
590error[E0412]: cannot find type `c_char` in this scope
591 --> /home/kelvin/repos/libc/src/lib.rs:243:27
592 |
593243 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char;
594 | ^^^^^^ did you mean `c_schar`?
595 |
596 = help: possible candidate is found in another module, you can import it into scope:
597 `use core::os::raw::c_char;`
598
599error[E0412]: cannot find type `c_char` in this scope
600 --> /home/kelvin/repos/libc/src/lib.rs:243:45
601 |
602243 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char;
603 | ^^^^^^ did you mean `c_schar`?
604 |
605 = help: possible candidate is found in another module, you can import it into scope:
606 `use core::os::raw::c_char;`
607
608error[E0412]: cannot find type `c_char` in this scope
609 --> /home/kelvin/repos/libc/src/lib.rs:243:61
610 |
611243 | pub fn strtok(s: *mut c_char, t: *const c_char) -> *mut c_char;
612 | ^^^^^^ did you mean `c_schar`?
613 |
614 = help: possible candidate is found in another module, you can import it into scope:
615 `use core::os::raw::c_char;`
616
617error[E0412]: cannot find type `c_char` in this scope
618 --> /home/kelvin/repos/libc/src/lib.rs:244:28
619 |
620244 | pub fn strxfrm(s: *mut c_char, ct: *const c_char, n: size_t) -> size_t;
621 | ^^^^^^ did you mean `c_schar`?
622 |
623 = help: possible candidate is found in another module, you can import it into scope:
624 `use core::os::raw::c_char;`
625
626error[E0412]: cannot find type `c_char` in this scope
627 --> /home/kelvin/repos/libc/src/lib.rs:244:47
628 |
629244 | pub fn strxfrm(s: *mut c_char, ct: *const c_char, n: size_t) -> size_t;
630 | ^^^^^^ did you mean `c_schar`?
631 |
632 = help: possible candidate is found in another module, you can import it into scope:
633 `use core::os::raw::c_char;`
634
635error[E0412]: cannot find type `wchar_t` in this scope
636 --> /home/kelvin/repos/libc/src/lib.rs:245:31
637 |
638245 | pub fn wcslen(buf: *const wchar_t) -> size_t;
639 | ^^^^^^^ not found in this scope
640
641error[E0412]: cannot find type `c_char` in this scope
642 --> /home/kelvin/repos/libc/src/lib.rs:246:32
643 |
644246 | pub fn wcstombs(dest: *mut c_char, src: *const wchar_t, n: size_t) -> ::size_t;
645 | ^^^^^^ did you mean `c_schar`?
646 |
647 = help: possible candidate is found in another module, you can import it into scope:
648 `use core::os::raw::c_char;`
649
650error[E0412]: cannot find type `wchar_t` in this scope
651 --> /home/kelvin/repos/libc/src/lib.rs:246:52
652 |
653246 | pub fn wcstombs(dest: *mut c_char, src: *const wchar_t, n: size_t) -> ::size_t;
654 | ^^^^^^^ not found in this scope
655
656error[E0412]: cannot find type `c_char` in this scope
657 --> /home/kelvin/repos/libc/src/lib.rs:260:27
658 |
659260 | pub fn atof(s: *const c_char) -> c_double;
660 | ^^^^^^ did you mean `c_schar`?
661 |
662 = help: possible candidate is found in another module, you can import it into scope:
663 `use core::os::raw::c_char;`
664
665error[E0412]: cannot find type `c_long` in this scope
666 --> /home/kelvin/repos/libc/src/lib.rs:261:20
667 |
668261 | pub fn labs(i: c_long) -> c_long;
669 | ^^^^^^ not found in this scope
670 |
671 = help: possible candidate is found in another module, you can import it into scope:
672 `use core::os::raw::c_long;`
673
674error[E0412]: cannot find type `c_long` in this scope
675 --> /home/kelvin/repos/libc/src/lib.rs:261:31
676 |
677261 | pub fn labs(i: c_long) -> c_long;
678 | ^^^^^^ not found in this scope
679 |
680 = help: possible candidate is found in another module, you can import it into scope:
681 `use core::os::raw::c_long;`
682
683error[E0412]: cannot find type `c_char` in the crate root
684 --> /home/kelvin/repos/libc/src/unix/mod.rs:21:29
685 |
68621 | pub gr_name: *mut ::c_char,
687 | ^^^^^^ did you mean `c_schar`?
688 |
689 ::: /home/kelvin/repos/libc/src/lib.rs
690 |
691266 | / cfg_if! {
692267 | | if #[cfg(windows)] {
693268 | | mod windows;
694269 | | pub use windows::*;
695... |
696278 | | }
697279 | | }
698 | |_- in this macro invocation
699 |
700 = help: possible candidate is found in another module, you can import it into scope:
701 `use core::os::raw::c_char;`
702
703error[E0412]: cannot find type `c_char` in the crate root
704 --> /home/kelvin/repos/libc/src/unix/mod.rs:22:31
705 |
70622 | pub gr_passwd: *mut ::c_char,
707 | ^^^^^^ did you mean `c_schar`?
708 |
709 ::: /home/kelvin/repos/libc/src/lib.rs
710 |
711266 | / cfg_if! {
712267 | | if #[cfg(windows)] {
713268 | | mod windows;
714269 | | pub use windows::*;
715... |
716278 | | }
717279 | | }
718 | |_- in this macro invocation
719 |
720 = help: possible candidate is found in another module, you can import it into scope:
721 `use core::os::raw::c_char;`
722
723error[E0412]: cannot find type `c_char` in the crate root
724 --> /home/kelvin/repos/libc/src/unix/mod.rs:24:33
725 |
72624 | pub gr_mem: *mut *mut ::c_char,
727 | ^^^^^^ did you mean `c_schar`?
728 |
729 ::: /home/kelvin/repos/libc/src/lib.rs
730 |
731266 | / cfg_if! {
732267 | | if #[cfg(windows)] {
733268 | | mod windows;
734269 | | pub use windows::*;
735... |
736278 | | }
737279 | | }
738 | |_- in this macro invocation
739 |
740 = help: possible candidate is found in another module, you can import it into scope:
741 `use core::os::raw::c_char;`
742
743error[E0412]: cannot find type `time_t` in this scope
744 --> /home/kelvin/repos/libc/src/unix/mod.rs:28:21
745 |
74628 | pub actime: time_t,
747 | ^^^^^^ not found in this scope
748 |
749 ::: /home/kelvin/repos/libc/src/lib.rs
750 |
751266 | / cfg_if! {
752267 | | if #[cfg(windows)] {
753268 | | mod windows;
754269 | | pub use windows::*;
755... |
756278 | | }
757279 | | }
758 | |_- in this macro invocation
759 |
760 = help: possible candidates are found in other modules, you can import them into scope:
761 `use core::os::linux::raw::time_t;`
762 `use core::os::unix::raw::time_t;`
763
764error[E0412]: cannot find type `time_t` in this scope
765 --> /home/kelvin/repos/libc/src/unix/mod.rs:29:22
766 |
76729 | pub modtime: time_t,
768 | ^^^^^^ not found in this scope
769 |
770 ::: /home/kelvin/repos/libc/src/lib.rs
771 |
772266 | / cfg_if! {
773267 | | if #[cfg(windows)] {
774268 | | mod windows;
775269 | | pub use windows::*;
776... |
777278 | | }
778279 | | }
779 | |_- in this macro invocation
780 |
781 = help: possible candidates are found in other modules, you can import them into scope:
782 `use core::os::linux::raw::time_t;`
783 `use core::os::unix::raw::time_t;`
784
785error[E0412]: cannot find type `time_t` in this scope
786 --> /home/kelvin/repos/libc/src/unix/mod.rs:33:21
787 |
78833 | pub tv_sec: time_t,
789 | ^^^^^^ not found in this scope
790 |
791 ::: /home/kelvin/repos/libc/src/lib.rs
792 |
793266 | / cfg_if! {
794267 | | if #[cfg(windows)] {
795268 | | mod windows;
796269 | | pub use windows::*;
797... |
798278 | | }
799279 | | }
800 | |_- in this macro invocation
801 |
802 = help: possible candidates are found in other modules, you can import them into scope:
803 `use core::os::linux::raw::time_t;`
804 `use core::os::unix::raw::time_t;`
805
806error[E0412]: cannot find type `suseconds_t` in this scope
807 --> /home/kelvin/repos/libc/src/unix/mod.rs:34:22
808 |
80934 | pub tv_usec: suseconds_t,
810 | ^^^^^^^^^^^ not found in this scope
811 |
812 ::: /home/kelvin/repos/libc/src/lib.rs
813 |
814266 | / cfg_if! {
815267 | | if #[cfg(windows)] {
816268 | | mod windows;
817269 | | pub use windows::*;
818... |
819278 | | }
820279 | | }
821 | |_- in this macro invocation
822
823error[E0412]: cannot find type `time_t` in this scope
824 --> /home/kelvin/repos/libc/src/unix/mod.rs:38:21
825 |
82638 | pub tv_sec: time_t,
827 | ^^^^^^ not found in this scope
828 |
829 ::: /home/kelvin/repos/libc/src/lib.rs
830 |
831266 | / cfg_if! {
832267 | | if #[cfg(windows)] {
833268 | | mod windows;
834269 | | pub use windows::*;
835... |
836278 | | }
837279 | | }
838 | |_- in this macro invocation
839 |
840 = help: possible candidates are found in other modules, you can import them into scope:
841 `use core::os::linux::raw::time_t;`
842 `use core::os::unix::raw::time_t;`
843
844error[E0412]: cannot find type `c_long` in this scope
845 --> /home/kelvin/repos/libc/src/unix/mod.rs:39:22
846 |
84739 | pub tv_nsec: c_long,
848 | ^^^^^^ not found in this scope
849 |
850 ::: /home/kelvin/repos/libc/src/lib.rs
851 |
852266 | / cfg_if! {
853267 | | if #[cfg(windows)] {
854268 | | mod windows;
855269 | | pub use windows::*;
856... |
857278 | | }
858279 | | }
859 | |_- in this macro invocation
860 |
861 = help: possible candidate is found in another module, you can import it into scope:
862 `use core::os::raw::c_long;`
863
864error[E0412]: cannot find type `rlim_t` in this scope
865 --> /home/kelvin/repos/libc/src/unix/mod.rs:43:23
866 |
86743 | pub rlim_cur: rlim_t,
868 | ^^^^^^ did you mean `rlimit`?
869 |
870 ::: /home/kelvin/repos/libc/src/lib.rs
871 |
872266 | / cfg_if! {
873267 | | if #[cfg(windows)] {
874268 | | mod windows;
875269 | | pub use windows::*;
876... |
877278 | | }
878279 | | }
879 | |_- in this macro invocation
880
881error[E0412]: cannot find type `rlim_t` in this scope
882 --> /home/kelvin/repos/libc/src/unix/mod.rs:44:23
883 |
88444 | pub rlim_max: rlim_t,
885 | ^^^^^^ did you mean `rlimit`?
886 |
887 ::: /home/kelvin/repos/libc/src/lib.rs
888 |
889266 | / cfg_if! {
890267 | | if #[cfg(windows)] {
891268 | | mod windows;
892269 | | pub use windows::*;
893... |
894278 | | }
895279 | | }
896 | |_- in this macro invocation
897
898error[E0412]: cannot find type `c_long` in this scope
899 --> /home/kelvin/repos/libc/src/unix/mod.rs:50:24
900 |
90150 | pub ru_maxrss: c_long,
902 | ^^^^^^ not found in this scope
903 |
904 ::: /home/kelvin/repos/libc/src/lib.rs
905 |
906266 | / cfg_if! {
907267 | | if #[cfg(windows)] {
908268 | | mod windows;
909269 | | pub use windows::*;
910... |
911278 | | }
912279 | | }
913 | |_- in this macro invocation
914 |
915 = help: possible candidate is found in another module, you can import it into scope:
916 `use core::os::raw::c_long;`
917
918error[E0412]: cannot find type `c_long` in this scope
919 --> /home/kelvin/repos/libc/src/unix/mod.rs:51:23
920 |
92151 | pub ru_ixrss: c_long,
922 | ^^^^^^ not found in this scope
923 |
924 ::: /home/kelvin/repos/libc/src/lib.rs
925 |
926266 | / cfg_if! {
927267 | | if #[cfg(windows)] {
928268 | | mod windows;
929269 | | pub use windows::*;
930... |
931278 | | }
932279 | | }
933 | |_- in this macro invocation
934 |
935 = help: possible candidate is found in another module, you can import it into scope:
936 `use core::os::raw::c_long;`
937
938error[E0412]: cannot find type `c_long` in this scope
939 --> /home/kelvin/repos/libc/src/unix/mod.rs:52:23
940 |
94152 | pub ru_idrss: c_long,
942 | ^^^^^^ not found in this scope
943 |
944 ::: /home/kelvin/repos/libc/src/lib.rs
945 |
946266 | / cfg_if! {
947267 | | if #[cfg(windows)] {
948268 | | mod windows;
949269 | | pub use windows::*;
950... |
951278 | | }
952279 | | }
953 | |_- in this macro invocation
954 |
955 = help: possible candidate is found in another module, you can import it into scope:
956 `use core::os::raw::c_long;`
957
958error[E0412]: cannot find type `c_long` in this scope
959 --> /home/kelvin/repos/libc/src/unix/mod.rs:53:23
960 |
96153 | pub ru_isrss: c_long,
962 | ^^^^^^ not found in this scope
963 |
964 ::: /home/kelvin/repos/libc/src/lib.rs
965 |
966266 | / cfg_if! {
967267 | | if #[cfg(windows)] {
968268 | | mod windows;
969269 | | pub use windows::*;
970... |
971278 | | }
972279 | | }
973 | |_- in this macro invocation
974 |
975 = help: possible candidate is found in another module, you can import it into scope:
976 `use core::os::raw::c_long;`
977
978error[E0412]: cannot find type `c_long` in this scope
979 --> /home/kelvin/repos/libc/src/unix/mod.rs:54:24
980 |
98154 | pub ru_minflt: c_long,
982 | ^^^^^^ not found in this scope
983 |
984 ::: /home/kelvin/repos/libc/src/lib.rs
985 |
986266 | / cfg_if! {
987267 | | if #[cfg(windows)] {
988268 | | mod windows;
989269 | | pub use windows::*;
990... |
991278 | | }
992279 | | }
993 | |_- in this macro invocation
994 |
995 = help: possible candidate is found in another module, you can import it into scope:
996 `use core::os::raw::c_long;`
997
998error[E0412]: cannot find type `c_long` in this scope
999 --> /home/kelvin/repos/libc/src/unix/mod.rs:55:24
1000 |
100155 | pub ru_majflt: c_long,
1002 | ^^^^^^ not found in this scope
1003 |
1004 ::: /home/kelvin/repos/libc/src/lib.rs
1005 |
1006266 | / cfg_if! {
1007267 | | if #[cfg(windows)] {
1008268 | | mod windows;
1009269 | | pub use windows::*;
1010... |
1011278 | | }
1012279 | | }
1013 | |_- in this macro invocation
1014 |
1015 = help: possible candidate is found in another module, you can import it into scope:
1016 `use core::os::raw::c_long;`
1017
1018error[E0412]: cannot find type `c_long` in this scope
1019 --> /home/kelvin/repos/libc/src/unix/mod.rs:56:23
1020 |
102156 | pub ru_nswap: c_long,
1022 | ^^^^^^ not found in this scope
1023 |
1024 ::: /home/kelvin/repos/libc/src/lib.rs
1025 |
1026266 | / cfg_if! {
1027267 | | if #[cfg(windows)] {
1028268 | | mod windows;
1029269 | | pub use windows::*;
1030... |
1031278 | | }
1032279 | | }
1033 | |_- in this macro invocation
1034 |
1035 = help: possible candidate is found in another module, you can import it into scope:
1036 `use core::os::raw::c_long;`
1037
1038error[E0412]: cannot find type `c_long` in this scope
1039 --> /home/kelvin/repos/libc/src/unix/mod.rs:57:25
1040 |
104157 | pub ru_inblock: c_long,
1042 | ^^^^^^ not found in this scope
1043 |
1044 ::: /home/kelvin/repos/libc/src/lib.rs
1045 |
1046266 | / cfg_if! {
1047267 | | if #[cfg(windows)] {
1048268 | | mod windows;
1049269 | | pub use windows::*;
1050... |
1051278 | | }
1052279 | | }
1053 | |_- in this macro invocation
1054 |
1055 = help: possible candidate is found in another module, you can import it into scope:
1056 `use core::os::raw::c_long;`
1057
1058error[E0412]: cannot find type `c_long` in this scope
1059 --> /home/kelvin/repos/libc/src/unix/mod.rs:58:25
1060 |
106158 | pub ru_oublock: c_long,
1062 | ^^^^^^ not found in this scope
1063 |
1064 ::: /home/kelvin/repos/libc/src/lib.rs
1065 |
1066266 | / cfg_if! {
1067267 | | if #[cfg(windows)] {
1068268 | | mod windows;
1069269 | | pub use windows::*;
1070... |
1071278 | | }
1072279 | | }
1073 | |_- in this macro invocation
1074 |
1075 = help: possible candidate is found in another module, you can import it into scope:
1076 `use core::os::raw::c_long;`
1077
1078error[E0412]: cannot find type `c_long` in this scope
1079 --> /home/kelvin/repos/libc/src/unix/mod.rs:59:24
1080 |
108159 | pub ru_msgsnd: c_long,
1082 | ^^^^^^ not found in this scope
1083 |
1084 ::: /home/kelvin/repos/libc/src/lib.rs
1085 |
1086266 | / cfg_if! {
1087267 | | if #[cfg(windows)] {
1088268 | | mod windows;
1089269 | | pub use windows::*;
1090... |
1091278 | | }
1092279 | | }
1093 | |_- in this macro invocation
1094 |
1095 = help: possible candidate is found in another module, you can import it into scope:
1096 `use core::os::raw::c_long;`
1097
1098error[E0412]: cannot find type `c_long` in this scope
1099 --> /home/kelvin/repos/libc/src/unix/mod.rs:60:24
1100 |
110160 | pub ru_msgrcv: c_long,
1102 | ^^^^^^ not found in this scope
1103 |
1104 ::: /home/kelvin/repos/libc/src/lib.rs
1105 |
1106266 | / cfg_if! {
1107267 | | if #[cfg(windows)] {
1108268 | | mod windows;
1109269 | | pub use windows::*;
1110... |
1111278 | | }
1112279 | | }
1113 | |_- in this macro invocation
1114 |
1115 = help: possible candidate is found in another module, you can import it into scope:
1116 `use core::os::raw::c_long;`
1117
1118error[E0412]: cannot find type `c_long` in this scope
1119 --> /home/kelvin/repos/libc/src/unix/mod.rs:61:26
1120 |
112161 | pub ru_nsignals: c_long,
1122 | ^^^^^^ not found in this scope
1123 |
1124 ::: /home/kelvin/repos/libc/src/lib.rs
1125 |
1126266 | / cfg_if! {
1127267 | | if #[cfg(windows)] {
1128268 | | mod windows;
1129269 | | pub use windows::*;
1130... |
1131278 | | }
1132279 | | }
1133 | |_- in this macro invocation
1134 |
1135 = help: possible candidate is found in another module, you can import it into scope:
1136 `use core::os::raw::c_long;`
1137
1138error[E0412]: cannot find type `c_long` in this scope
1139 --> /home/kelvin/repos/libc/src/unix/mod.rs:62:23
1140 |
114162 | pub ru_nvcsw: c_long,
1142 | ^^^^^^ not found in this scope
1143 |
1144 ::: /home/kelvin/repos/libc/src/lib.rs
1145 |
1146266 | / cfg_if! {
1147267 | | if #[cfg(windows)] {
1148268 | | mod windows;
1149269 | | pub use windows::*;
1150... |
1151278 | | }
1152279 | | }
1153 | |_- in this macro invocation
1154 |
1155 = help: possible candidate is found in another module, you can import it into scope:
1156 `use core::os::raw::c_long;`
1157
1158error[E0412]: cannot find type `c_long` in this scope
1159 --> /home/kelvin/repos/libc/src/unix/mod.rs:63:24
1160 |
116163 | pub ru_nivcsw: c_long,
1162 | ^^^^^^ not found in this scope
1163 |
1164 ::: /home/kelvin/repos/libc/src/lib.rs
1165 |
1166266 | / cfg_if! {
1167267 | | if #[cfg(windows)] {
1168268 | | mod windows;
1169269 | | pub use windows::*;
1170... |
1171278 | | }
1172279 | | }
1173 | |_- in this macro invocation
1174 |
1175 = help: possible candidate is found in another module, you can import it into scope:
1176 `use core::os::raw::c_long;`
1177
1178error[E0412]: cannot find type `c_char` in the crate root
1179 --> /home/kelvin/repos/libc/src/unix/mod.rs:93:28
1180 |
118193 | pub h_name: *mut ::c_char,
1182 | ^^^^^^ did you mean `c_schar`?
1183 |
1184 ::: /home/kelvin/repos/libc/src/lib.rs
1185 |
1186266 | / cfg_if! {
1187267 | | if #[cfg(windows)] {
1188268 | | mod windows;
1189269 | | pub use windows::*;
1190... |
1191278 | | }
1192279 | | }
1193 | |_- in this macro invocation
1194 |
1195 = help: possible candidate is found in another module, you can import it into scope:
1196 `use core::os::raw::c_char;`
1197
1198error[E0412]: cannot find type `c_char` in the crate root
1199 --> /home/kelvin/repos/libc/src/unix/mod.rs:94:36
1200 |
120194 | pub h_aliases: *mut *mut ::c_char,
1202 | ^^^^^^ did you mean `c_schar`?
1203 |
1204 ::: /home/kelvin/repos/libc/src/lib.rs
1205 |
1206266 | / cfg_if! {
1207267 | | if #[cfg(windows)] {
1208268 | | mod windows;
1209269 | | pub use windows::*;
1210... |
1211278 | | }
1212279 | | }
1213 | |_- in this macro invocation
1214 |
1215 = help: possible candidate is found in another module, you can import it into scope:
1216 `use core::os::raw::c_char;`
1217
1218error[E0412]: cannot find type `c_char` in the crate root
1219 --> /home/kelvin/repos/libc/src/unix/mod.rs:97:38
1220 |
122197 | pub h_addr_list: *mut *mut ::c_char,
1222 | ^^^^^^ did you mean `c_schar`?
1223 |
1224 ::: /home/kelvin/repos/libc/src/lib.rs
1225 |
1226266 | / cfg_if! {
1227267 | | if #[cfg(windows)] {
1228268 | | mod windows;
1229269 | | pub use windows::*;
1230... |
1231278 | | }
1232279 | | }
1233 | |_- in this macro invocation
1234 |
1235 = help: possible candidate is found in another module, you can import it into scope:
1236 `use core::os::raw::c_char;`
1237
1238error[E0412]: cannot find type `c_char` in the crate root
1239 --> /home/kelvin/repos/libc/src/unix/mod.rs:251:36
1240 |
1241251 | pub fn getgrnam(name: *const ::c_char) -> *mut group;
1242 | ^^^^^^ did you mean `c_schar`?
1243 |
1244 ::: /home/kelvin/repos/libc/src/lib.rs
1245 |
1246266 | / cfg_if! {
1247267 | | if #[cfg(windows)] {
1248268 | | mod windows;
1249269 | | pub use windows::*;
1250... |
1251278 | | }
1252279 | | }
1253 | |_- in this macro invocation
1254 |
1255 = help: possible candidate is found in another module, you can import it into scope:
1256 `use core::os::raw::c_char;`
1257
1258error[E0412]: cannot find type `c_char` in the crate root
1259 --> /home/kelvin/repos/libc/src/unix/mod.rs:256:36
1260 |
1261256 | pub fn getpwnam(name: *const ::c_char) -> *mut passwd;
1262 | ^^^^^^ did you mean `c_schar`?
1263 |
1264 ::: /home/kelvin/repos/libc/src/lib.rs
1265 |
1266266 | / cfg_if! {
1267267 | | if #[cfg(windows)] {
1268268 | | mod windows;
1269269 | | pub use windows::*;
1270... |
1271278 | | }
1272279 | | }
1273 | |_- in this macro invocation
1274 |
1275 = help: possible candidate is found in another module, you can import it into scope:
1276 `use core::os::raw::c_char;`
1277
1278error[E0412]: cannot find type `passwd` in this scope
1279 --> /home/kelvin/repos/libc/src/unix/mod.rs:256:52
1280 |
1281256 | pub fn getpwnam(name: *const ::c_char) -> *mut passwd;
1282 | ^^^^^^ not found in this scope
1283 |
1284 ::: /home/kelvin/repos/libc/src/lib.rs
1285 |
1286266 | / cfg_if! {
1287267 | | if #[cfg(windows)] {
1288268 | | mod windows;
1289269 | | pub use windows::*;
1290... |
1291278 | | }
1292279 | | }
1293 | |_- in this macro invocation
1294
1295error[E0412]: cannot find type `passwd` in this scope
1296 --> /home/kelvin/repos/libc/src/unix/mod.rs:258:43
1297 |
1298258 | pub fn getpwuid(uid: ::uid_t) -> *mut passwd;
1299 | ^^^^^^ not found in this scope
1300 |
1301 ::: /home/kelvin/repos/libc/src/lib.rs
1302 |
1303266 | / cfg_if! {
1304267 | | if #[cfg(windows)] {
1305268 | | mod windows;
1306269 | | pub use windows::*;
1307... |
1308278 | | }
1309279 | | }
1310 | |_- in this macro invocation
1311
1312error[E0412]: cannot find type `c_char` in the crate root
1313 --> /home/kelvin/repos/libc/src/unix/mod.rs:261:37
1314 |
1315261 | format: *const ::c_char, ...) -> ::c_int;
1316 | ^^^^^^ did you mean `c_schar`?
1317 |
1318 ::: /home/kelvin/repos/libc/src/lib.rs
1319 |
1320266 | / cfg_if! {
1321267 | | if #[cfg(windows)] {
1322268 | | mod windows;
1323269 | | pub use windows::*;
1324... |
1325278 | | }
1326279 | | }
1327 | |_- in this macro invocation
1328 |
1329 = help: possible candidate is found in another module, you can import it into scope:
1330 `use core::os::raw::c_char;`
1331
1332error[E0412]: cannot find type `c_char` in the crate root
1333 --> /home/kelvin/repos/libc/src/unix/mod.rs:262:36
1334 |
1335262 | pub fn printf(format: *const ::c_char, ...) -> ::c_int;
1336 | ^^^^^^ did you mean `c_schar`?
1337 |
1338 ::: /home/kelvin/repos/libc/src/lib.rs
1339 |
1340266 | / cfg_if! {
1341267 | | if #[cfg(windows)] {
1342268 | | mod windows;
1343269 | | pub use windows::*;
1344... |
1345278 | | }
1346279 | | }
1347 | |_- in this macro invocation
1348 |
1349 = help: possible candidate is found in another module, you can import it into scope:
1350 `use core::os::raw::c_char;`
1351
1352error[E0412]: cannot find type `c_char` in the crate root
1353 --> /home/kelvin/repos/libc/src/unix/mod.rs:263:31
1354 |
1355263 | pub fn snprintf(s: *mut ::c_char, n: ::size_t,
1356 | ^^^^^^ did you mean `c_schar`?
1357 |
1358 ::: /home/kelvin/repos/libc/src/lib.rs
1359 |
1360266 | / cfg_if! {
1361267 | | if #[cfg(windows)] {
1362268 | | mod windows;
1363269 | | pub use windows::*;
1364... |
1365278 | | }
1366279 | | }
1367 | |_- in this macro invocation
1368 |
1369 = help: possible candidate is found in another module, you can import it into scope:
1370 `use core::os::raw::c_char;`
1371
1372error[E0412]: cannot find type `c_char` in the crate root
1373 --> /home/kelvin/repos/libc/src/unix/mod.rs:264:38
1374 |
1375264 | format: *const ::c_char, ...) -> ::c_int;
1376 | ^^^^^^ did you mean `c_schar`?
1377 |
1378 ::: /home/kelvin/repos/libc/src/lib.rs
1379 |
1380266 | / cfg_if! {
1381267 | | if #[cfg(windows)] {
1382268 | | mod windows;
1383269 | | pub use windows::*;
1384... |
1385278 | | }
1386279 | | }
1387 | |_- in this macro invocation
1388 |
1389 = help: possible candidate is found in another module, you can import it into scope:
1390 `use core::os::raw::c_char;`
1391
1392error[E0412]: cannot find type `c_char` in the crate root
1393 --> /home/kelvin/repos/libc/src/unix/mod.rs:265:30
1394 |
1395265 | pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int;
1396 | ^^^^^^ did you mean `c_schar`?
1397 |
1398 ::: /home/kelvin/repos/libc/src/lib.rs
1399 |
1400266 | / cfg_if! {
1401267 | | if #[cfg(windows)] {
1402268 | | mod windows;
1403269 | | pub use windows::*;
1404... |
1405278 | | }
1406279 | | }
1407 | |_- in this macro invocation
1408 |
1409 = help: possible candidate is found in another module, you can import it into scope:
1410 `use core::os::raw::c_char;`
1411
1412error[E0412]: cannot find type `c_char` in the crate root
1413 --> /home/kelvin/repos/libc/src/unix/mod.rs:265:55
1414 |
1415265 | pub fn sprintf(s: *mut ::c_char, format: *const ::c_char, ...) -> ::c_int;
1416 | ^^^^^^ did you mean `c_schar`?
1417 |
1418 ::: /home/kelvin/repos/libc/src/lib.rs
1419 |
1420266 | / cfg_if! {
1421267 | | if #[cfg(windows)] {
1422268 | | mod windows;
1423269 | | pub use windows::*;
1424... |
1425278 | | }
1426279 | | }
1427 | |_- in this macro invocation
1428 |
1429 = help: possible candidate is found in another module, you can import it into scope:
1430 `use core::os::raw::c_char;`
1431
1432error[E0412]: cannot find type `c_char` in the crate root
1433 --> /home/kelvin/repos/libc/src/unix/mod.rs:266:57
1434 |
1435266 | pub fn fscanf(stream: *mut ::FILE, format: *const ::c_char, ...) -> ::c_int;
1436 | ^^^^^^ did you mean `c_schar`?
1437 |
1438 ::: /home/kelvin/repos/libc/src/lib.rs
1439 |
1440266 | / cfg_if! {
1441267 | | if #[cfg(windows)] {
1442268 | | mod windows;
1443269 | | pub use windows::*;
1444... |
1445278 | | }
1446279 | | }
1447 | |_- in this macro invocation
1448 |
1449 = help: possible candidate is found in another module, you can import it into scope:
1450 `use core::os::raw::c_char;`
1451
1452error[E0412]: cannot find type `c_char` in the crate root
1453 --> /home/kelvin/repos/libc/src/unix/mod.rs:267:35
1454 |
1455267 | pub fn scanf(format: *const ::c_char, ...) -> ::c_int;
1456 | ^^^^^^ did you mean `c_schar`?
1457 |
1458 ::: /home/kelvin/repos/libc/src/lib.rs
1459 |
1460266 | / cfg_if! {
1461267 | | if #[cfg(windows)] {
1462268 | | mod windows;
1463269 | | pub use windows::*;
1464... |
1465278 | | }
1466279 | | }
1467 | |_- in this macro invocation
1468 |
1469 = help: possible candidate is found in another module, you can import it into scope:
1470 `use core::os::raw::c_char;`
1471
1472error[E0412]: cannot find type `c_char` in the crate root
1473 --> /home/kelvin/repos/libc/src/unix/mod.rs:268:31
1474 |
1475268 | pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int;
1476 | ^^^^^^ did you mean `c_schar`?
1477 |
1478 ::: /home/kelvin/repos/libc/src/lib.rs
1479 |
1480266 | / cfg_if! {
1481267 | | if #[cfg(windows)] {
1482268 | | mod windows;
1483269 | | pub use windows::*;
1484... |
1485278 | | }
1486279 | | }
1487 | |_- in this macro invocation
1488 |
1489 = help: possible candidate is found in another module, you can import it into scope:
1490 `use core::os::raw::c_char;`
1491
1492error[E0412]: cannot find type `c_char` in the crate root
1493 --> /home/kelvin/repos/libc/src/unix/mod.rs:268:56
1494 |
1495268 | pub fn sscanf(s: *const ::c_char, format: *const ::c_char, ...) -> ::c_int;
1496 | ^^^^^^ did you mean `c_schar`?
1497 |
1498 ::: /home/kelvin/repos/libc/src/lib.rs
1499 |
1500266 | / cfg_if! {
1501267 | | if #[cfg(windows)] {
1502268 | | mod windows;
1503269 | | pub use windows::*;
1504... |
1505278 | | }
1506279 | | }
1507 | |_- in this macro invocation
1508 |
1509 = help: possible candidate is found in another module, you can import it into scope:
1510 `use core::os::raw::c_char;`
1511
1512error[E0412]: cannot find type `sockaddr` in this scope
1513 --> /home/kelvin/repos/libc/src/unix/mod.rs:276:53
1514 |
1515276 | pub fn connect(socket: ::c_int, address: *const sockaddr,
1516 | ^^^^^^^^ not found in this scope
1517 |
1518 ::: /home/kelvin/repos/libc/src/lib.rs
1519 |
1520266 | / cfg_if! {
1521267 | | if #[cfg(windows)] {
1522268 | | mod windows;
1523269 | | pub use windows::*;
1524... |
1525278 | | }
1526279 | | }
1527 | |_- in this macro invocation
1528
1529error[E0412]: cannot find type `socklen_t` in this scope
1530 --> /home/kelvin/repos/libc/src/unix/mod.rs:277:25
1531 |
1532277 | len: socklen_t) -> ::c_int;
1533 | ^^^^^^^^^ did you mean `locale_t`?
1534 |
1535 ::: /home/kelvin/repos/libc/src/lib.rs
1536 |
1537266 | / cfg_if! {
1538267 | | if #[cfg(windows)] {
1539268 | | mod windows;
1540269 | | pub use windows::*;
1541... |
1542278 | | }
1543279 | | }
1544 | |_- in this macro invocation
1545
1546error[E0412]: cannot find type `sockaddr` in this scope
1547 --> /home/kelvin/repos/libc/src/unix/mod.rs:283:50
1548 |
1549283 | pub fn accept(socket: ::c_int, address: *mut sockaddr,
1550 | ^^^^^^^^ not found in this scope
1551 |
1552 ::: /home/kelvin/repos/libc/src/lib.rs
1553 |
1554266 | / cfg_if! {
1555267 | | if #[cfg(windows)] {
1556268 | | mod windows;
1557269 | | pub use windows::*;
1558... |
1559278 | | }
1560279 | | }
1561 | |_- in this macro invocation
1562
1563error[E0412]: cannot find type `socklen_t` in this scope
1564 --> /home/kelvin/repos/libc/src/unix/mod.rs:284:37
1565 |
1566284 | address_len: *mut socklen_t) -> ::c_int;
1567 | ^^^^^^^^^ did you mean `locale_t`?
1568 |
1569 ::: /home/kelvin/repos/libc/src/lib.rs
1570 |
1571266 | / cfg_if! {
1572267 | | if #[cfg(windows)] {
1573268 | | mod windows;
1574269 | | pub use windows::*;
1575... |
1576278 | | }
1577279 | | }
1578 | |_- in this macro invocation
1579
1580error[E0412]: cannot find type `sockaddr` in this scope
1581 --> /home/kelvin/repos/libc/src/unix/mod.rs:287:55
1582 |
1583287 | pub fn getpeername(socket: ::c_int, address: *mut sockaddr,
1584 | ^^^^^^^^ not found in this scope
1585 |
1586 ::: /home/kelvin/repos/libc/src/lib.rs
1587 |
1588266 | / cfg_if! {
1589267 | | if #[cfg(windows)] {
1590268 | | mod windows;
1591269 | | pub use windows::*;
1592... |
1593278 | | }
1594279 | | }
1595 | |_- in this macro invocation
1596
1597error[E0412]: cannot find type `socklen_t` in this scope
1598 --> /home/kelvin/repos/libc/src/unix/mod.rs:288:42
1599 |
1600288 | address_len: *mut socklen_t) -> ::c_int;
1601 | ^^^^^^^^^ did you mean `locale_t`?
1602 |
1603 ::: /home/kelvin/repos/libc/src/lib.rs
1604 |
1605266 | / cfg_if! {
1606267 | | if #[cfg(windows)] {
1607268 | | mod windows;
1608269 | | pub use windows::*;
1609... |
1610278 | | }
1611279 | | }
1612 | |_- in this macro invocation
1613
1614error[E0412]: cannot find type `sockaddr` in this scope
1615 --> /home/kelvin/repos/libc/src/unix/mod.rs:291:55
1616 |
1617291 | pub fn getsockname(socket: ::c_int, address: *mut sockaddr,
1618 | ^^^^^^^^ not found in this scope
1619 |
1620 ::: /home/kelvin/repos/libc/src/lib.rs
1621 |
1622266 | / cfg_if! {
1623267 | | if #[cfg(windows)] {
1624268 | | mod windows;
1625269 | | pub use windows::*;
1626... |
1627278 | | }
1628279 | | }
1629 | |_- in this macro invocation
1630
1631error[E0412]: cannot find type `socklen_t` in this scope
1632 --> /home/kelvin/repos/libc/src/unix/mod.rs:292:42
1633 |
1634292 | address_len: *mut socklen_t) -> ::c_int;
1635 | ^^^^^^^^^ did you mean `locale_t`?
1636 |
1637 ::: /home/kelvin/repos/libc/src/lib.rs
1638 |
1639266 | / cfg_if! {
1640267 | | if #[cfg(windows)] {
1641268 | | mod windows;
1642269 | | pub use windows::*;
1643... |
1644278 | | }
1645279 | | }
1646 | |_- in this macro invocation
1647
1648error[E0412]: cannot find type `socklen_t` in this scope
1649 --> /home/kelvin/repos/libc/src/unix/mod.rs:295:35
1650 |
1651295 | option_len: socklen_t) -> ::c_int;
1652 | ^^^^^^^^^ did you mean `locale_t`?
1653 |
1654 ::: /home/kelvin/repos/libc/src/lib.rs
1655 |
1656266 | / cfg_if! {
1657267 | | if #[cfg(windows)] {
1658268 | | mod windows;
1659269 | | pub use windows::*;
1660... |
1661278 | | }
1662279 | | }
1663 | |_- in this macro invocation
1664
1665error[E0412]: cannot find type `sockaddr` in this scope
1666 --> /home/kelvin/repos/libc/src/unix/mod.rs:303:48
1667 |
1668303 | flags: ::c_int, addr: *const sockaddr,
1669 | ^^^^^^^^ not found in this scope
1670 |
1671 ::: /home/kelvin/repos/libc/src/lib.rs
1672 |
1673266 | / cfg_if! {
1674267 | | if #[cfg(windows)] {
1675268 | | mod windows;
1676269 | | pub use windows::*;
1677... |
1678278 | | }
1679279 | | }
1680 | |_- in this macro invocation
1681
1682error[E0412]: cannot find type `socklen_t` in this scope
1683 --> /home/kelvin/repos/libc/src/unix/mod.rs:304:28
1684 |
1685304 | addrlen: socklen_t) -> ::ssize_t;
1686 | ^^^^^^^^^ did you mean `locale_t`?
1687 |
1688 ::: /home/kelvin/repos/libc/src/lib.rs
1689 |
1690266 | / cfg_if! {
1691267 | | if #[cfg(windows)] {
1692268 | | mod windows;
1693269 | | pub use windows::*;
1694... |
1695278 | | }
1696279 | | }
1697 | |_- in this macro invocation
1698
1699error[E0412]: cannot find type `c_char` in this scope
1700 --> /home/kelvin/repos/libc/src/unix/mod.rs:309:31
1701 |
1702309 | pub fn chmod(path: *const c_char, mode: mode_t) -> ::c_int;
1703 | ^^^^^^ did you mean `char`?
1704 |
1705 ::: /home/kelvin/repos/libc/src/lib.rs
1706 |
1707266 | / cfg_if! {
1708267 | | if #[cfg(windows)] {
1709268 | | mod windows;
1710269 | | pub use windows::*;
1711... |
1712278 | | }
1713279 | | }
1714 | |_- in this macro invocation
1715 |
1716 = help: possible candidate is found in another module, you can import it into scope:
1717 `use core::os::raw::c_char;`
1718
1719error[E0412]: cannot find type `mode_t` in this scope
1720 --> /home/kelvin/repos/libc/src/unix/mod.rs:309:45
1721 |
1722309 | pub fn chmod(path: *const c_char, mode: mode_t) -> ::c_int;
1723 | ^^^^^^ not found in this scope
1724 |
1725 ::: /home/kelvin/repos/libc/src/lib.rs
1726 |
1727266 | / cfg_if! {
1728267 | | if #[cfg(windows)] {
1729268 | | mod windows;
1730269 | | pub use windows::*;
1731... |
1732278 | | }
1733279 | | }
1734 | |_- in this macro invocation
1735 |
1736 = help: possible candidates are found in other modules, you can import them into scope:
1737 `use core::os::linux::raw::mode_t;`
1738 `use core::os::unix::raw::mode_t;`
1739
1740error[E0412]: cannot find type `mode_t` in this scope
1741 --> /home/kelvin/repos/libc/src/unix/mod.rs:312:38
1742 |
1743312 | pub fn fchmod(fd: ::c_int, mode: mode_t) -> ::c_int;
1744 | ^^^^^^ not found in this scope
1745 |
1746 ::: /home/kelvin/repos/libc/src/lib.rs
1747 |
1748266 | / cfg_if! {
1749267 | | if #[cfg(windows)] {
1750268 | | mod windows;
1751269 | | pub use windows::*;
1752... |
1753278 | | }
1754279 | | }
1755 | |_- in this macro invocation
1756 |
1757 = help: possible candidates are found in other modules, you can import them into scope:
1758 `use core::os::linux::raw::mode_t;`
1759 `use core::os::unix::raw::mode_t;`
1760
1761error[E0573]: expected type, found function `stat`
1762 --> /home/kelvin/repos/libc/src/unix/mod.rs:316:45
1763 |
1764316 | pub fn fstat(fildes: ::c_int, buf: *mut stat) -> ::c_int;
1765 | ^^^^ not a type
1766 |
1767 ::: /home/kelvin/repos/libc/src/lib.rs
1768 |
1769266 | / cfg_if! {
1770267 | | if #[cfg(windows)] {
1771268 | | mod windows;
1772269 | | pub use windows::*;
1773... |
1774278 | | }
1775279 | | }
1776 | |_- in this macro invocation
1777 |
1778 = help: possible better candidate is found in another module, you can import it into scope:
1779 `use core::os::linux::raw::stat;`
1780
1781error[E0412]: cannot find type `c_char` in this scope
1782 --> /home/kelvin/repos/libc/src/unix/mod.rs:318:31
1783 |
1784318 | pub fn mkdir(path: *const c_char, mode: mode_t) -> ::c_int;
1785 | ^^^^^^ did you mean `char`?
1786 |
1787 ::: /home/kelvin/repos/libc/src/lib.rs
1788 |
1789266 | / cfg_if! {
1790267 | | if #[cfg(windows)] {
1791268 | | mod windows;
1792269 | | pub use windows::*;
1793... |
1794278 | | }
1795279 | | }
1796 | |_- in this macro invocation
1797 |
1798 = help: possible candidate is found in another module, you can import it into scope:
1799 `use core::os::raw::c_char;`
1800
1801error[E0412]: cannot find type `mode_t` in this scope
1802 --> /home/kelvin/repos/libc/src/unix/mod.rs:318:45
1803 |
1804318 | pub fn mkdir(path: *const c_char, mode: mode_t) -> ::c_int;
1805 | ^^^^^^ not found in this scope
1806 |
1807 ::: /home/kelvin/repos/libc/src/lib.rs
1808 |
1809266 | / cfg_if! {
1810267 | | if #[cfg(windows)] {
1811268 | | mod windows;
1812269 | | pub use windows::*;
1813... |
1814278 | | }
1815279 | | }
1816 | |_- in this macro invocation
1817 |
1818 = help: possible candidates are found in other modules, you can import them into scope:
1819 `use core::os::linux::raw::mode_t;`
1820 `use core::os::unix::raw::mode_t;`
1821
1822error[E0412]: cannot find type `c_char` in this scope
1823 --> /home/kelvin/repos/libc/src/unix/mod.rs:322:30
1824 |
1825322 | pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int;
1826 | ^^^^^^ did you mean `char`?
1827 |
1828 ::: /home/kelvin/repos/libc/src/lib.rs
1829 |
1830266 | / cfg_if! {
1831267 | | if #[cfg(windows)] {
1832268 | | mod windows;
1833269 | | pub use windows::*;
1834... |
1835278 | | }
1836279 | | }
1837 | |_- in this macro invocation
1838 |
1839 = help: possible candidate is found in another module, you can import it into scope:
1840 `use core::os::raw::c_char;`
1841
1842error[E0573]: expected type, found function `stat`
1843 --> /home/kelvin/repos/libc/src/unix/mod.rs:322:48
1844 |
1845322 | pub fn stat(path: *const c_char, buf: *mut stat) -> ::c_int;
1846 | ^^^^ not a type
1847 |
1848 ::: /home/kelvin/repos/libc/src/lib.rs
1849 |
1850266 | / cfg_if! {
1851267 | | if #[cfg(windows)] {
1852268 | | mod windows;
1853269 | | pub use windows::*;
1854... |
1855278 | | }
1856279 | | }
1857 | |_- in this macro invocation
1858 |
1859 = help: possible better candidate is found in another module, you can import it into scope:
1860 `use core::os::linux::raw::stat;`
1861
1862error[E0412]: cannot find type `c_char` in this scope
1863 --> /home/kelvin/repos/libc/src/unix/mod.rs:326:34
1864 |
1865326 | pub fn popen(command: *const c_char,
1866 | ^^^^^^ did you mean `char`?
1867 |
1868 ::: /home/kelvin/repos/libc/src/lib.rs
1869 |
1870266 | / cfg_if! {
1871267 | | if #[cfg(windows)] {
1872268 | | mod windows;
1873269 | | pub use windows::*;
1874... |
1875278 | | }
1876279 | | }
1877 | |_- in this macro invocation
1878 |
1879 = help: possible candidate is found in another module, you can import it into scope:
1880 `use core::os::raw::c_char;`
1881
1882error[E0412]: cannot find type `c_char` in this scope
1883 --> /home/kelvin/repos/libc/src/unix/mod.rs:327:31
1884 |
1885327 | mode: *const c_char) -> *mut ::FILE;
1886 | ^^^^^^ did you mean `char`?
1887 |
1888 ::: /home/kelvin/repos/libc/src/lib.rs
1889 |
1890266 | / cfg_if! {
1891267 | | if #[cfg(windows)] {
1892268 | | mod windows;
1893269 | | pub use windows::*;
1894... |
1895278 | | }
1896279 | | }
1897 | |_- in this macro invocation
1898 |
1899 = help: possible candidate is found in another module, you can import it into scope:
1900 `use core::os::raw::c_char;`
1901
1902error[E0412]: cannot find type `c_char` in this scope
1903 --> /home/kelvin/repos/libc/src/unix/mod.rs:331:45
1904 |
1905331 | pub fn fdopen(fd: ::c_int, mode: *const c_char) -> *mut ::FILE;
1906 | ^^^^^^ did you mean `char`?
1907 |
1908 ::: /home/kelvin/repos/libc/src/lib.rs
1909 |
1910266 | / cfg_if! {
1911267 | | if #[cfg(windows)] {
1912268 | | mod windows;
1913269 | | pub use windows::*;
1914... |
1915278 | | }
1916279 | | }
1917 | |_- in this macro invocation
1918 |
1919 = help: possible candidate is found in another module, you can import it into scope:
1920 `use core::os::raw::c_char;`
1921
1922error[E0412]: cannot find type `c_char` in this scope
1923 --> /home/kelvin/repos/libc/src/unix/mod.rs:336:30
1924 |
1925336 | pub fn open(path: *const c_char, oflag: ::c_int, ...) -> ::c_int;
1926 | ^^^^^^ did you mean `char`?
1927 |
1928 ::: /home/kelvin/repos/libc/src/lib.rs
1929 |
1930266 | / cfg_if! {
1931267 | | if #[cfg(windows)] {
1932268 | | mod windows;
1933269 | | pub use windows::*;
1934... |
1935278 | | }
1936279 | | }
1937 | |_- in this macro invocation
1938 |
1939 = help: possible candidate is found in another module, you can import it into scope:
1940 `use core::os::raw::c_char;`
1941
1942error[E0412]: cannot find type `c_char` in this scope
1943 --> /home/kelvin/repos/libc/src/unix/mod.rs:339:31
1944 |
1945339 | pub fn creat(path: *const c_char, mode: mode_t) -> ::c_int;
1946 | ^^^^^^ did you mean `char`?
1947 |
1948 ::: /home/kelvin/repos/libc/src/lib.rs
1949 |
1950266 | / cfg_if! {
1951267 | | if #[cfg(windows)] {
1952268 | | mod windows;
1953269 | | pub use windows::*;
1954... |
1955278 | | }
1956279 | | }
1957 | |_- in this macro invocation
1958 |
1959 = help: possible candidate is found in another module, you can import it into scope:
1960 `use core::os::raw::c_char;`
1961
1962error[E0412]: cannot find type `mode_t` in this scope
1963 --> /home/kelvin/repos/libc/src/unix/mod.rs:339:45
1964 |
1965339 | pub fn creat(path: *const c_char, mode: mode_t) -> ::c_int;
1966 | ^^^^^^ not found in this scope
1967 |
1968 ::: /home/kelvin/repos/libc/src/lib.rs
1969 |
1970266 | / cfg_if! {
1971267 | | if #[cfg(windows)] {
1972268 | | mod windows;
1973269 | | pub use windows::*;
1974... |
1975278 | | }
1976279 | | }
1977 | |_- in this macro invocation
1978 |
1979 = help: possible candidates are found in other modules, you can import them into scope:
1980 `use core::os::linux::raw::mode_t;`
1981 `use core::os::unix::raw::mode_t;`
1982
1983error[E0412]: cannot find type `c_char` in this scope
1984 --> /home/kelvin/repos/libc/src/unix/mod.rs:349:36
1985 |
1986349 | pub fn opendir(dirname: *const c_char) -> *mut ::DIR;
1987 | ^^^^^^ did you mean `char`?
1988 |
1989 ::: /home/kelvin/repos/libc/src/lib.rs
1990 |
1991266 | / cfg_if! {
1992267 | | if #[cfg(windows)] {
1993268 | | mod windows;
1994269 | | pub use windows::*;
1995... |
1996278 | | }
1997279 | | }
1998 | |_- in this macro invocation
1999 |
2000 = help: possible candidate is found in another module, you can import it into scope:
2001 `use core::os::raw::c_char;`
2002
2003error[E0412]: cannot find type `dirent` in the crate root
2004 --> /home/kelvin/repos/libc/src/unix/mod.rs:352:48
2005 |
2006352 | pub fn readdir(dirp: *mut ::DIR) -> *mut ::dirent;
2007 | ^^^^^^ not found in the crate root
2008 |
2009 ::: /home/kelvin/repos/libc/src/lib.rs
2010 |
2011266 | / cfg_if! {
2012267 | | if #[cfg(windows)] {
2013268 | | mod windows;
2014269 | | pub use windows::*;
2015... |
2016278 | | }
2017279 | | }
2018 | |_- in this macro invocation
2019
2020error[E0412]: cannot find type `dirent` in the crate root
2021 --> /home/kelvin/repos/libc/src/unix/mod.rs:356:54
2022 |
2023356 | pub fn readdir_r(dirp: *mut ::DIR, entry: *mut ::dirent,
2024 | ^^^^^^ not found in the crate root
2025 |
2026 ::: /home/kelvin/repos/libc/src/lib.rs
2027 |
2028266 | / cfg_if! {
2029267 | | if #[cfg(windows)] {
2030268 | | mod windows;
2031269 | | pub use windows::*;
2032... |
2033278 | | }
2034279 | | }
2035 | |_- in this macro invocation
2036
2037error[E0412]: cannot find type `dirent` in the crate root
2038 --> /home/kelvin/repos/libc/src/unix/mod.rs:357:42
2039 |
2040357 | result: *mut *mut ::dirent) -> ::c_int;
2041 | ^^^^^^ not found in the crate root
2042 |
2043 ::: /home/kelvin/repos/libc/src/lib.rs
2044 |
2045266 | / cfg_if! {
2046267 | | if #[cfg(windows)] {
2047268 | | mod windows;
2048269 | | pub use windows::*;
2049... |
2050278 | | }
2051279 | | }
2052 | |_- in this macro invocation
2053
2054error[E0412]: cannot find type `c_char` in the crate root
2055 --> /home/kelvin/repos/libc/src/unix/mod.rs:367:54
2056 |
2057367 | pub fn openat(dirfd: ::c_int, pathname: *const ::c_char,
2058 | ^^^^^^ did you mean `c_schar`?
2059 |
2060 ::: /home/kelvin/repos/libc/src/lib.rs
2061 |
2062266 | / cfg_if! {
2063267 | | if #[cfg(windows)] {
2064268 | | mod windows;
2065269 | | pub use windows::*;
2066... |
2067278 | | }
2068279 | | }
2069 | |_- in this macro invocation
2070 |
2071 = help: possible candidate is found in another module, you can import it into scope:
2072 `use core::os::raw::c_char;`
2073
2074error[E0412]: cannot find type `c_char` in the crate root
2075 --> /home/kelvin/repos/libc/src/unix/mod.rs:369:57
2076 |
2077369 | pub fn faccessat(dirfd: ::c_int, pathname: *const ::c_char,
2078 | ^^^^^^ did you mean `c_schar`?
2079 |
2080 ::: /home/kelvin/repos/libc/src/lib.rs
2081 |
2082266 | / cfg_if! {
2083267 | | if #[cfg(windows)] {
2084268 | | mod windows;
2085269 | | pub use windows::*;
2086... |
2087278 | | }
2088279 | | }
2089 | |_- in this macro invocation
2090 |
2091 = help: possible candidate is found in another module, you can import it into scope:
2092 `use core::os::raw::c_char;`
2093
2094error[E0412]: cannot find type `c_char` in the crate root
2095 --> /home/kelvin/repos/libc/src/unix/mod.rs:371:56
2096 |
2097371 | pub fn fchmodat(dirfd: ::c_int, pathname: *const ::c_char,
2098 | ^^^^^^ did you mean `c_schar`?
2099 |
2100 ::: /home/kelvin/repos/libc/src/lib.rs
2101 |
2102266 | / cfg_if! {
2103267 | | if #[cfg(windows)] {
2104268 | | mod windows;
2105269 | | pub use windows::*;
2106... |
2107278 | | }
2108279 | | }
2109 | |_- in this macro invocation
2110 |
2111 = help: possible candidate is found in another module, you can import it into scope:
2112 `use core::os::raw::c_char;`
2113
2114error[E0412]: cannot find type `mode_t` in the crate root
2115 --> /home/kelvin/repos/libc/src/unix/mod.rs:372:29
2116 |
2117372 | mode: ::mode_t, flags: ::c_int) -> ::c_int;
2118 | ^^^^^^ not found in the crate root
2119 |
2120 ::: /home/kelvin/repos/libc/src/lib.rs
2121 |
2122266 | / cfg_if! {
2123267 | | if #[cfg(windows)] {
2124268 | | mod windows;
2125269 | | pub use windows::*;
2126... |
2127278 | | }
2128279 | | }
2129 | |_- in this macro invocation
2130 |
2131 = help: possible candidates are found in other modules, you can import them into scope:
2132 `use core::os::linux::raw::mode_t;`
2133 `use core::os::unix::raw::mode_t;`
2134
2135error[E0412]: cannot find type `c_char` in the crate root
2136 --> /home/kelvin/repos/libc/src/unix/mod.rs:376:56
2137 |
2138376 | pub fn fchownat(dirfd: ::c_int, pathname: *const ::c_char,
2139 | ^^^^^^ did you mean `c_schar`?
2140 |
2141 ::: /home/kelvin/repos/libc/src/lib.rs
2142 |
2143266 | / cfg_if! {
2144267 | | if #[cfg(windows)] {
2145268 | | mod windows;
2146269 | | pub use windows::*;
2147... |
2148278 | | }
2149279 | | }
2150 | |_- in this macro invocation
2151 |
2152 = help: possible candidate is found in another module, you can import it into scope:
2153 `use core::os::raw::c_char;`
2154
2155error[E0412]: cannot find type `c_char` in the crate root
2156 --> /home/kelvin/repos/libc/src/unix/mod.rs:380:55
2157 |
2158380 | pub fn fstatat(dirfd: ::c_int, pathname: *const ::c_char,
2159 | ^^^^^^ did you mean `c_schar`?
2160 |
2161 ::: /home/kelvin/repos/libc/src/lib.rs
2162 |
2163266 | / cfg_if! {
2164267 | | if #[cfg(windows)] {
2165268 | | mod windows;
2166269 | | pub use windows::*;
2167... |
2168278 | | }
2169279 | | }
2170 | |_- in this macro invocation
2171 |
2172 = help: possible candidate is found in another module, you can import it into scope:
2173 `use core::os::raw::c_char;`
2174
2175error[E0573]: expected type, found function `stat`
2176 --> /home/kelvin/repos/libc/src/unix/mod.rs:381:30
2177 |
2178381 | buf: *mut stat, flags: ::c_int) -> ::c_int;
2179 | ^^^^ not a type
2180 |
2181 ::: /home/kelvin/repos/libc/src/lib.rs
2182 |
2183266 | / cfg_if! {
2184267 | | if #[cfg(windows)] {
2185268 | | mod windows;
2186269 | | pub use windows::*;
2187... |
2188278 | | }
2189279 | | }
2190 | |_- in this macro invocation
2191 |
2192 = help: possible better candidate is found in another module, you can import it into scope:
2193 `use core::os::linux::raw::stat;`
2194
2195error[E0412]: cannot find type `c_char` in the crate root
2196 --> /home/kelvin/repos/libc/src/unix/mod.rs:382:56
2197 |
2198382 | pub fn linkat(olddirfd: ::c_int, oldpath: *const ::c_char,
2199 | ^^^^^^ did you mean `c_schar`?
2200 |
2201 ::: /home/kelvin/repos/libc/src/lib.rs
2202 |
2203266 | / cfg_if! {
2204267 | | if #[cfg(windows)] {
2205268 | | mod windows;
2206269 | | pub use windows::*;
2207... |
2208278 | | }
2209279 | | }
2210 | |_- in this macro invocation
2211 |
2212 = help: possible candidate is found in another module, you can import it into scope:
2213 `use core::os::raw::c_char;`
2214
2215error[E0412]: cannot find type `c_char` in the crate root
2216 --> /home/kelvin/repos/libc/src/unix/mod.rs:383:56
2217 |
2218383 | newdirfd: ::c_int, newpath: *const ::c_char,
2219 | ^^^^^^ did you mean `c_schar`?
2220 |
2221 ::: /home/kelvin/repos/libc/src/lib.rs
2222 |
2223266 | / cfg_if! {
2224267 | | if #[cfg(windows)] {
2225268 | | mod windows;
2226269 | | pub use windows::*;
2227... |
2228278 | | }
2229279 | | }
2230 | |_- in this macro invocation
2231 |
2232 = help: possible candidate is found in another module, you can import it into scope:
2233 `use core::os::raw::c_char;`
2234
2235error[E0412]: cannot find type `c_char` in the crate root
2236 --> /home/kelvin/repos/libc/src/unix/mod.rs:385:55
2237 |
2238385 | pub fn mkdirat(dirfd: ::c_int, pathname: *const ::c_char,
2239 | ^^^^^^ did you mean `c_schar`?
2240 |
2241 ::: /home/kelvin/repos/libc/src/lib.rs
2242 |
2243266 | / cfg_if! {
2244267 | | if #[cfg(windows)] {
2245268 | | mod windows;
2246269 | | pub use windows::*;
2247... |
2248278 | | }
2249279 | | }
2250 | |_- in this macro invocation
2251 |
2252 = help: possible candidate is found in another module, you can import it into scope:
2253 `use core::os::raw::c_char;`
2254
2255error[E0412]: cannot find type `mode_t` in the crate root
2256 --> /home/kelvin/repos/libc/src/unix/mod.rs:386:28
2257 |
2258386 | mode: ::mode_t) -> ::c_int;
2259 | ^^^^^^ not found in the crate root
2260 |
2261 ::: /home/kelvin/repos/libc/src/lib.rs
2262 |
2263266 | / cfg_if! {
2264267 | | if #[cfg(windows)] {
2265268 | | mod windows;
2266269 | | pub use windows::*;
2267... |
2268278 | | }
2269279 | | }
2270 | |_- in this macro invocation
2271 |
2272 = help: possible candidates are found in other modules, you can import them into scope:
2273 `use core::os::linux::raw::mode_t;`
2274 `use core::os::unix::raw::mode_t;`
2275
2276error[E0412]: cannot find type `c_char` in the crate root
2277 --> /home/kelvin/repos/libc/src/unix/mod.rs:387:58
2278 |
2279387 | pub fn readlinkat(dirfd: ::c_int, pathname: *const ::c_char,
2280 | ^^^^^^ did you mean `c_schar`?
2281 |
2282 ::: /home/kelvin/repos/libc/src/lib.rs
2283 |
2284266 | / cfg_if! {
2285267 | | if #[cfg(windows)] {
2286268 | | mod windows;
2287269 | | pub use windows::*;
2288... |
2289278 | | }
2290279 | | }
2291 | |_- in this macro invocation
2292 |
2293 = help: possible candidate is found in another module, you can import it into scope:
2294 `use core::os::raw::c_char;`
2295
2296error[E0412]: cannot find type `c_char` in the crate root
2297 --> /home/kelvin/repos/libc/src/unix/mod.rs:388:35
2298 |
2299388 | buf: *mut ::c_char, bufsiz: ::size_t) -> ::ssize_t;
2300 | ^^^^^^ did you mean `c_schar`?
2301 |
2302 ::: /home/kelvin/repos/libc/src/lib.rs
2303 |
2304266 | / cfg_if! {
2305267 | | if #[cfg(windows)] {
2306268 | | mod windows;
2307269 | | pub use windows::*;
2308... |
2309278 | | }
2310279 | | }
2311 | |_- in this macro invocation
2312 |
2313 = help: possible candidate is found in another module, you can import it into scope:
2314 `use core::os::raw::c_char;`
2315
2316error[E0412]: cannot find type `c_char` in the crate root
2317 --> /home/kelvin/repos/libc/src/unix/mod.rs:389:58
2318 |
2319389 | pub fn renameat(olddirfd: ::c_int, oldpath: *const ::c_char,
2320 | ^^^^^^ did you mean `c_schar`?
2321 |
2322 ::: /home/kelvin/repos/libc/src/lib.rs
2323 |
2324266 | / cfg_if! {
2325267 | | if #[cfg(windows)] {
2326268 | | mod windows;
2327269 | | pub use windows::*;
2328... |
2329278 | | }
2330279 | | }
2331 | |_- in this macro invocation
2332 |
2333 = help: possible candidate is found in another module, you can import it into scope:
2334 `use core::os::raw::c_char;`
2335
2336error[E0412]: cannot find type `c_char` in the crate root
2337 --> /home/kelvin/repos/libc/src/unix/mod.rs:390:58
2338 |
2339390 | newdirfd: ::c_int, newpath: *const ::c_char)
2340 | ^^^^^^ did you mean `c_schar`?
2341 |
2342 ::: /home/kelvin/repos/libc/src/lib.rs
2343 |
2344266 | / cfg_if! {
2345267 | | if #[cfg(windows)] {
2346268 | | mod windows;
2347269 | | pub use windows::*;
2348... |
2349278 | | }
2350279 | | }
2351 | |_- in this macro invocation
2352 |
2353 = help: possible candidate is found in another module, you can import it into scope:
2354 `use core::os::raw::c_char;`
2355
2356error[E0412]: cannot find type `c_char` in the crate root
2357 --> /home/kelvin/repos/libc/src/unix/mod.rs:392:39
2358 |
2359392 | pub fn symlinkat(target: *const ::c_char, newdirfd: ::c_int,
2360 | ^^^^^^ did you mean `c_schar`?
2361 |
2362 ::: /home/kelvin/repos/libc/src/lib.rs
2363 |
2364266 | / cfg_if! {
2365267 | | if #[cfg(windows)] {
2366268 | | mod windows;
2367269 | | pub use windows::*;
2368... |
2369278 | | }
2370279 | | }
2371 | |_- in this macro invocation
2372 |
2373 = help: possible candidate is found in another module, you can import it into scope:
2374 `use core::os::raw::c_char;`
2375
2376error[E0412]: cannot find type `c_char` in the crate root
2377 --> /home/kelvin/repos/libc/src/unix/mod.rs:393:41
2378 |
2379393 | linkpath: *const ::c_char) -> ::c_int;
2380 | ^^^^^^ did you mean `c_schar`?
2381 |
2382 ::: /home/kelvin/repos/libc/src/lib.rs
2383 |
2384266 | / cfg_if! {
2385267 | | if #[cfg(windows)] {
2386268 | | mod windows;
2387269 | | pub use windows::*;
2388... |
2389278 | | }
2390279 | | }
2391 | |_- in this macro invocation
2392 |
2393 = help: possible candidate is found in another module, you can import it into scope:
2394 `use core::os::raw::c_char;`
2395
2396error[E0412]: cannot find type `c_char` in the crate root
2397 --> /home/kelvin/repos/libc/src/unix/mod.rs:394:56
2398 |
2399394 | pub fn unlinkat(dirfd: ::c_int, pathname: *const ::c_char,
2400 | ^^^^^^ did you mean `c_schar`?
2401 |
2402 ::: /home/kelvin/repos/libc/src/lib.rs
2403 |
2404266 | / cfg_if! {
2405267 | | if #[cfg(windows)] {
2406268 | | mod windows;
2407269 | | pub use windows::*;
2408... |
2409278 | | }
2410279 | | }
2411 | |_- in this macro invocation
2412 |
2413 = help: possible candidate is found in another module, you can import it into scope:
2414 `use core::os::raw::c_char;`
2415
2416error[E0412]: cannot find type `c_char` in this scope
2417 --> /home/kelvin/repos/libc/src/unix/mod.rs:397:32
2418 |
2419397 | pub fn access(path: *const c_char, amode: ::c_int) -> ::c_int;
2420 | ^^^^^^ did you mean `char`?
2421 |
2422 ::: /home/kelvin/repos/libc/src/lib.rs
2423 |
2424266 | / cfg_if! {
2425267 | | if #[cfg(windows)] {
2426268 | | mod windows;
2427269 | | pub use windows::*;
2428... |
2429278 | | }
2430279 | | }
2431 | |_- in this macro invocation
2432 |
2433 = help: possible candidate is found in another module, you can import it into scope:
2434 `use core::os::raw::c_char;`
2435
2436error[E0412]: cannot find type `c_char` in this scope
2437 --> /home/kelvin/repos/libc/src/unix/mod.rs:399:30
2438 |
2439399 | pub fn chdir(dir: *const c_char) -> ::c_int;
2440 | ^^^^^^ did you mean `char`?
2441 |
2442 ::: /home/kelvin/repos/libc/src/lib.rs
2443 |
2444266 | / cfg_if! {
2445267 | | if #[cfg(windows)] {
2446268 | | mod windows;
2447269 | | pub use windows::*;
2448... |
2449278 | | }
2450279 | | }
2451 | |_- in this macro invocation
2452 |
2453 = help: possible candidate is found in another module, you can import it into scope:
2454 `use core::os::raw::c_char;`
2455
2456error[E0412]: cannot find type `c_char` in this scope
2457 --> /home/kelvin/repos/libc/src/unix/mod.rs:401:31
2458 |
2459401 | pub fn chown(path: *const c_char, uid: uid_t,
2460 | ^^^^^^ did you mean `char`?
2461 |
2462 ::: /home/kelvin/repos/libc/src/lib.rs
2463 |
2464266 | / cfg_if! {
2465267 | | if #[cfg(windows)] {
2466268 | | mod windows;
2467269 | | pub use windows::*;
2468... |
2469278 | | }
2470279 | | }
2471 | |_- in this macro invocation
2472 |
2473 = help: possible candidate is found in another module, you can import it into scope:
2474 `use core::os::raw::c_char;`
2475
2476error[E0412]: cannot find type `c_char` in this scope
2477 --> /home/kelvin/repos/libc/src/unix/mod.rs:405:32
2478 |
2479405 | pub fn lchown(path: *const c_char, uid: uid_t,
2480 | ^^^^^^ did you mean `char`?
2481 |
2482 ::: /home/kelvin/repos/libc/src/lib.rs
2483 |
2484266 | / cfg_if! {
2485267 | | if #[cfg(windows)] {
2486268 | | mod windows;
2487269 | | pub use windows::*;
2488... |
2489278 | | }
2490279 | | }
2491 | |_- in this macro invocation
2492 |
2493 = help: possible candidate is found in another module, you can import it into scope:
2494 `use core::os::raw::c_char;`
2495
2496error[E0412]: cannot find type `c_char` in this scope
2497 --> /home/kelvin/repos/libc/src/unix/mod.rs:412:31
2498 |
2499412 | pub fn execl(path: *const c_char,
2500 | ^^^^^^ did you mean `char`?
2501 |
2502 ::: /home/kelvin/repos/libc/src/lib.rs
2503 |
2504266 | / cfg_if! {
2505267 | | if #[cfg(windows)] {
2506268 | | mod windows;
2507269 | | pub use windows::*;
2508... |
2509278 | | }
2510279 | | }
2511 | |_- in this macro invocation
2512 |
2513 = help: possible candidate is found in another module, you can import it into scope:
2514 `use core::os::raw::c_char;`
2515
2516error[E0412]: cannot find type `c_char` in this scope
2517 --> /home/kelvin/repos/libc/src/unix/mod.rs:413:31
2518 |
2519413 | arg0: *const c_char, ...) -> ::c_int;
2520 | ^^^^^^ did you mean `char`?
2521 |
2522 ::: /home/kelvin/repos/libc/src/lib.rs
2523 |
2524266 | / cfg_if! {
2525267 | | if #[cfg(windows)] {
2526268 | | mod windows;
2527269 | | pub use windows::*;
2528... |
2529278 | | }
2530279 | | }
2531 | |_- in this macro invocation
2532 |
2533 = help: possible candidate is found in another module, you can import it into scope:
2534 `use core::os::raw::c_char;`
2535
2536error[E0412]: cannot find type `c_char` in the crate root
2537 --> /home/kelvin/repos/libc/src/unix/mod.rs:414:34
2538 |
2539414 | pub fn execle(path: *const ::c_char,
2540 | ^^^^^^ did you mean `c_schar`?
2541 |
2542 ::: /home/kelvin/repos/libc/src/lib.rs
2543 |
2544266 | / cfg_if! {
2545267 | | if #[cfg(windows)] {
2546268 | | mod windows;
2547269 | | pub use windows::*;
2548... |
2549278 | | }
2550279 | | }
2551 | |_- in this macro invocation
2552 |
2553 = help: possible candidate is found in another module, you can import it into scope:
2554 `use core::os::raw::c_char;`
2555
2556error[E0412]: cannot find type `c_char` in the crate root
2557 --> /home/kelvin/repos/libc/src/unix/mod.rs:415:34
2558 |
2559415 | arg0: *const ::c_char, ...) -> ::c_int;
2560 | ^^^^^^ did you mean `c_schar`?
2561 |
2562 ::: /home/kelvin/repos/libc/src/lib.rs
2563 |
2564266 | / cfg_if! {
2565267 | | if #[cfg(windows)] {
2566268 | | mod windows;
2567269 | | pub use windows::*;
2568... |
2569278 | | }
2570279 | | }
2571 | |_- in this macro invocation
2572 |
2573 = help: possible candidate is found in another module, you can import it into scope:
2574 `use core::os::raw::c_char;`
2575
2576error[E0412]: cannot find type `c_char` in the crate root
2577 --> /home/kelvin/repos/libc/src/unix/mod.rs:416:34
2578 |
2579416 | pub fn execlp(file: *const ::c_char,
2580 | ^^^^^^ did you mean `c_schar`?
2581 |
2582 ::: /home/kelvin/repos/libc/src/lib.rs
2583 |
2584266 | / cfg_if! {
2585267 | | if #[cfg(windows)] {
2586268 | | mod windows;
2587269 | | pub use windows::*;
2588... |
2589278 | | }
2590279 | | }
2591 | |_- in this macro invocation
2592 |
2593 = help: possible candidate is found in another module, you can import it into scope:
2594 `use core::os::raw::c_char;`
2595
2596error[E0412]: cannot find type `c_char` in the crate root
2597 --> /home/kelvin/repos/libc/src/unix/mod.rs:417:34
2598 |
2599417 | arg0: *const ::c_char, ...) -> ::c_int;
2600 | ^^^^^^ did you mean `c_schar`?
2601 |
2602 ::: /home/kelvin/repos/libc/src/lib.rs
2603 |
2604266 | / cfg_if! {
2605267 | | if #[cfg(windows)] {
2606268 | | mod windows;
2607269 | | pub use windows::*;
2608... |
2609278 | | }
2610279 | | }
2611 | |_- in this macro invocation
2612 |
2613 = help: possible candidate is found in another module, you can import it into scope:
2614 `use core::os::raw::c_char;`
2615
2616error[E0412]: cannot find type `c_char` in this scope
2617 --> /home/kelvin/repos/libc/src/unix/mod.rs:418:31
2618 |
2619418 | pub fn execv(prog: *const c_char,
2620 | ^^^^^^ did you mean `char`?
2621 |
2622 ::: /home/kelvin/repos/libc/src/lib.rs
2623 |
2624266 | / cfg_if! {
2625267 | | if #[cfg(windows)] {
2626268 | | mod windows;
2627269 | | pub use windows::*;
2628... |
2629278 | | }
2630279 | | }
2631 | |_- in this macro invocation
2632 |
2633 = help: possible candidate is found in another module, you can import it into scope:
2634 `use core::os::raw::c_char;`
2635
2636error[E0412]: cannot find type `c_char` in this scope
2637 --> /home/kelvin/repos/libc/src/unix/mod.rs:419:38
2638 |
2639419 | argv: *const *const c_char) -> ::c_int;
2640 | ^^^^^^ did you mean `char`?
2641 |
2642 ::: /home/kelvin/repos/libc/src/lib.rs
2643 |
2644266 | / cfg_if! {
2645267 | | if #[cfg(windows)] {
2646268 | | mod windows;
2647269 | | pub use windows::*;
2648... |
2649278 | | }
2650279 | | }
2651 | |_- in this macro invocation
2652 |
2653 = help: possible candidate is found in another module, you can import it into scope:
2654 `use core::os::raw::c_char;`
2655
2656error[E0412]: cannot find type `c_char` in this scope
2657 --> /home/kelvin/repos/libc/src/unix/mod.rs:420:32
2658 |
2659420 | pub fn execve(prog: *const c_char, argv: *const *const c_char,
2660 | ^^^^^^ did you mean `char`?
2661 |
2662 ::: /home/kelvin/repos/libc/src/lib.rs
2663 |
2664266 | / cfg_if! {
2665267 | | if #[cfg(windows)] {
2666268 | | mod windows;
2667269 | | pub use windows::*;
2668... |
2669278 | | }
2670279 | | }
2671 | |_- in this macro invocation
2672 |
2673 = help: possible candidate is found in another module, you can import it into scope:
2674 `use core::os::raw::c_char;`
2675
2676error[E0412]: cannot find type `c_char` in this scope
2677 --> /home/kelvin/repos/libc/src/unix/mod.rs:420:60
2678 |
2679420 | pub fn execve(prog: *const c_char, argv: *const *const c_char,
2680 | ^^^^^^ did you mean `char`?
2681 |
2682 ::: /home/kelvin/repos/libc/src/lib.rs
2683 |
2684266 | / cfg_if! {
2685267 | | if #[cfg(windows)] {
2686268 | | mod windows;
2687269 | | pub use windows::*;
2688... |
2689278 | | }
2690279 | | }
2691 | |_- in this macro invocation
2692 |
2693 = help: possible candidate is found in another module, you can import it into scope:
2694 `use core::os::raw::c_char;`
2695
2696error[E0412]: cannot find type `c_char` in this scope
2697 --> /home/kelvin/repos/libc/src/unix/mod.rs:421:39
2698 |
2699421 | envp: *const *const c_char)
2700 | ^^^^^^ did you mean `char`?
2701 |
2702 ::: /home/kelvin/repos/libc/src/lib.rs
2703 |
2704266 | / cfg_if! {
2705267 | | if #[cfg(windows)] {
2706268 | | mod windows;
2707269 | | pub use windows::*;
2708... |
2709278 | | }
2710279 | | }
2711 | |_- in this macro invocation
2712 |
2713 = help: possible candidate is found in another module, you can import it into scope:
2714 `use core::os::raw::c_char;`
2715
2716error[E0412]: cannot find type `c_char` in this scope
2717 --> /home/kelvin/repos/libc/src/unix/mod.rs:423:29
2718 |
2719423 | pub fn execvp(c: *const c_char,
2720 | ^^^^^^ did you mean `char`?
2721 |
2722 ::: /home/kelvin/repos/libc/src/lib.rs
2723 |
2724266 | / cfg_if! {
2725267 | | if #[cfg(windows)] {
2726268 | | mod windows;
2727269 | | pub use windows::*;
2728... |
2729278 | | }
2730279 | | }
2731 | |_- in this macro invocation
2732 |
2733 = help: possible candidate is found in another module, you can import it into scope:
2734 `use core::os::raw::c_char;`
2735
2736error[E0412]: cannot find type `c_char` in this scope
2737 --> /home/kelvin/repos/libc/src/unix/mod.rs:424:39
2738 |
2739424 | argv: *const *const c_char) -> ::c_int;
2740 | ^^^^^^ did you mean `char`?
2741 |
2742 ::: /home/kelvin/repos/libc/src/lib.rs
2743 |
2744266 | / cfg_if! {
2745267 | | if #[cfg(windows)] {
2746268 | | mod windows;
2747269 | | pub use windows::*;
2748... |
2749278 | | }
2750279 | | }
2751 | |_- in this macro invocation
2752 |
2753 = help: possible candidate is found in another module, you can import it into scope:
2754 `use core::os::raw::c_char;`
2755
2756error[E0412]: cannot find type `c_long` in this scope
2757 --> /home/kelvin/repos/libc/src/unix/mod.rs:426:58
2758 |
2759426 | pub fn fpathconf(filedes: ::c_int, name: ::c_int) -> c_long;
2760 | ^^^^^^ not found in this scope
2761 |
2762 ::: /home/kelvin/repos/libc/src/lib.rs
2763 |
2764266 | / cfg_if! {
2765267 | | if #[cfg(windows)] {
2766268 | | mod windows;
2767269 | | pub use windows::*;
2768... |
2769278 | | }
2770279 | | }
2771 | |_- in this macro invocation
2772 |
2773 = help: possible candidate is found in another module, you can import it into scope:
2774 `use core::os::raw::c_long;`
2775
2776error[E0412]: cannot find type `c_char` in this scope
2777 --> /home/kelvin/repos/libc/src/unix/mod.rs:427:29
2778 |
2779427 | pub fn getcwd(buf: *mut c_char, size: ::size_t) -> *mut c_char;
2780 | ^^^^^^ did you mean `char`?
2781 |
2782 ::: /home/kelvin/repos/libc/src/lib.rs
2783 |
2784266 | / cfg_if! {
2785267 | | if #[cfg(windows)] {
2786268 | | mod windows;
2787269 | | pub use windows::*;
2788... |
2789278 | | }
2790279 | | }
2791 | |_- in this macro invocation
2792 |
2793 = help: possible candidate is found in another module, you can import it into scope:
2794 `use core::os::raw::c_char;`
2795
2796error[E0412]: cannot find type `c_char` in this scope
2797 --> /home/kelvin/repos/libc/src/unix/mod.rs:427:61
2798 |
2799427 | pub fn getcwd(buf: *mut c_char, size: ::size_t) -> *mut c_char;
2800 | ^^^^^^ did you mean `char`?
2801 |
2802 ::: /home/kelvin/repos/libc/src/lib.rs
2803 |
2804266 | / cfg_if! {
2805267 | | if #[cfg(windows)] {
2806268 | | mod windows;
2807269 | | pub use windows::*;
2808... |
2809278 | | }
2810279 | | }
2811 | |_- in this macro invocation
2812 |
2813 = help: possible candidate is found in another module, you can import it into scope:
2814 `use core::os::raw::c_char;`
2815
2816error[E0412]: cannot find type `c_char` in this scope
2817 --> /home/kelvin/repos/libc/src/unix/mod.rs:433:31
2818 |
2819433 | pub fn getlogin() -> *mut c_char;
2820 | ^^^^^^ did you mean `char`?
2821 |
2822 ::: /home/kelvin/repos/libc/src/lib.rs
2823 |
2824266 | / cfg_if! {
2825267 | | if #[cfg(windows)] {
2826268 | | mod windows;
2827269 | | pub use windows::*;
2828... |
2829278 | | }
2830279 | | }
2831 | |_- in this macro invocation
2832 |
2833 = help: possible candidate is found in another module, you can import it into scope:
2834 `use core::os::raw::c_char;`
2835
2836error[E0412]: cannot find type `c_char` in this scope
2837 --> /home/kelvin/repos/libc/src/unix/mod.rs:436:52
2838 |
2839436 | pub fn getopt(argc: ::c_int, argv: *const *mut c_char,
2840 | ^^^^^^ did you mean `char`?
2841 |
2842 ::: /home/kelvin/repos/libc/src/lib.rs
2843 |
2844266 | / cfg_if! {
2845267 | | if #[cfg(windows)] {
2846268 | | mod windows;
2847269 | | pub use windows::*;
2848... |
2849278 | | }
2850279 | | }
2851 | |_- in this macro invocation
2852 |
2853 = help: possible candidate is found in another module, you can import it into scope:
2854 `use core::os::raw::c_char;`
2855
2856error[E0412]: cannot find type `c_char` in this scope
2857 --> /home/kelvin/repos/libc/src/unix/mod.rs:437:34
2858 |
2859437 | optstr: *const c_char) -> ::c_int;
2860 | ^^^^^^ did you mean `char`?
2861 |
2862 ::: /home/kelvin/repos/libc/src/lib.rs
2863 |
2864266 | / cfg_if! {
2865267 | | if #[cfg(windows)] {
2866268 | | mod windows;
2867269 | | pub use windows::*;
2868... |
2869278 | | }
2870279 | | }
2871 | |_- in this macro invocation
2872 |
2873 = help: possible candidate is found in another module, you can import it into scope:
2874 `use core::os::raw::c_char;`
2875
2876error[E0412]: cannot find type `c_char` in this scope
2877 --> /home/kelvin/repos/libc/src/unix/mod.rs:444:29
2878 |
2879444 | pub fn link(src: *const c_char, dst: *const c_char) -> ::c_int;
2880 | ^^^^^^ did you mean `char`?
2881 |
2882 ::: /home/kelvin/repos/libc/src/lib.rs
2883 |
2884266 | / cfg_if! {
2885267 | | if #[cfg(windows)] {
2886268 | | mod windows;
2887269 | | pub use windows::*;
2888... |
2889278 | | }
2890279 | | }
2891 | |_- in this macro invocation
2892 |
2893 = help: possible candidate is found in another module, you can import it into scope:
2894 `use core::os::raw::c_char;`
2895
2896error[E0412]: cannot find type `c_char` in this scope
2897 --> /home/kelvin/repos/libc/src/unix/mod.rs:444:49
2898 |
2899444 | pub fn link(src: *const c_char, dst: *const c_char) -> ::c_int;
2900 | ^^^^^^ did you mean `char`?
2901 |
2902 ::: /home/kelvin/repos/libc/src/lib.rs
2903 |
2904266 | / cfg_if! {
2905267 | | if #[cfg(windows)] {
2906268 | | mod windows;
2907269 | | pub use windows::*;
2908... |
2909278 | | }
2910279 | | }
2911 | |_- in this macro invocation
2912 |
2913 = help: possible candidate is found in another module, you can import it into scope:
2914 `use core::os::raw::c_char;`
2915
2916error[E0412]: cannot find type `off_t` in this scope
2917 --> /home/kelvin/repos/libc/src/unix/mod.rs:445:39
2918 |
2919445 | pub fn lseek(fd: ::c_int, offset: off_t, whence: ::c_int) -> off_t;
2920 | ^^^^^ not found in this scope
2921 |
2922 ::: /home/kelvin/repos/libc/src/lib.rs
2923 |
2924266 | / cfg_if! {
2925267 | | if #[cfg(windows)] {
2926268 | | mod windows;
2927269 | | pub use windows::*;
2928... |
2929278 | | }
2930279 | | }
2931 | |_- in this macro invocation
2932 |
2933 = help: possible candidates are found in other modules, you can import them into scope:
2934 `use core::os::linux::raw::off_t;`
2935 `use core::os::unix::raw::off_t;`
2936
2937error[E0412]: cannot find type `off_t` in this scope
2938 --> /home/kelvin/repos/libc/src/unix/mod.rs:445:66
2939 |
2940445 | pub fn lseek(fd: ::c_int, offset: off_t, whence: ::c_int) -> off_t;
2941 | ^^^^^ not found in this scope
2942 |
2943 ::: /home/kelvin/repos/libc/src/lib.rs
2944 |
2945266 | / cfg_if! {
2946267 | | if #[cfg(windows)] {
2947268 | | mod windows;
2948269 | | pub use windows::*;
2949... |
2950278 | | }
2951279 | | }
2952 | |_- in this macro invocation
2953 |
2954 = help: possible candidates are found in other modules, you can import them into scope:
2955 `use core::os::linux::raw::off_t;`
2956 `use core::os::unix::raw::off_t;`
2957
2958error[E0412]: cannot find type `c_char` in this scope
2959 --> /home/kelvin/repos/libc/src/unix/mod.rs:446:34
2960 |
2961446 | pub fn pathconf(path: *const c_char, name: ::c_int) -> c_long;
2962 | ^^^^^^ did you mean `char`?
2963 |
2964 ::: /home/kelvin/repos/libc/src/lib.rs
2965 |
2966266 | / cfg_if! {
2967267 | | if #[cfg(windows)] {
2968268 | | mod windows;
2969269 | | pub use windows::*;
2970... |
2971278 | | }
2972279 | | }
2973 | |_- in this macro invocation
2974 |
2975 = help: possible candidate is found in another module, you can import it into scope:
2976 `use core::os::raw::c_char;`
2977
2978error[E0412]: cannot find type `c_long` in this scope
2979 --> /home/kelvin/repos/libc/src/unix/mod.rs:446:60
2980 |
2981446 | pub fn pathconf(path: *const c_char, name: ::c_int) -> c_long;
2982 | ^^^^^^ not found in this scope
2983 |
2984 ::: /home/kelvin/repos/libc/src/lib.rs
2985 |
2986266 | / cfg_if! {
2987267 | | if #[cfg(windows)] {
2988268 | | mod windows;
2989269 | | pub use windows::*;
2990... |
2991278 | | }
2992279 | | }
2993 | |_- in this macro invocation
2994 |
2995 = help: possible candidate is found in another module, you can import it into scope:
2996 `use core::os::raw::c_long;`
2997
2998error[E0412]: cannot find type `c_char` in this scope
2999 --> /home/kelvin/repos/libc/src/unix/mod.rs:458:31
3000 |
3001458 | pub fn rmdir(path: *const c_char) -> ::c_int;
3002 | ^^^^^^ did you mean `char`?
3003 |
3004 ::: /home/kelvin/repos/libc/src/lib.rs
3005 |
3006266 | / cfg_if! {
3007267 | | if #[cfg(windows)] {
3008268 | | mod windows;
3009269 | | pub use windows::*;
3010... |
3011278 | | }
3012279 | | }
3013 | |_- in this macro invocation
3014 |
3015 = help: possible candidate is found in another module, you can import it into scope:
3016 `use core::os::raw::c_char;`
3017
3018error[E0412]: cannot find type `c_char` in this scope
3019 --> /home/kelvin/repos/libc/src/unix/mod.rs:473:41
3020 |
3021473 | pub fn ttyname(fd: ::c_int) -> *mut c_char;
3022 | ^^^^^^ did you mean `char`?
3023 |
3024 ::: /home/kelvin/repos/libc/src/lib.rs
3025 |
3026266 | / cfg_if! {
3027267 | | if #[cfg(windows)] {
3028268 | | mod windows;
3029269 | | pub use windows::*;
3030... |
3031278 | | }
3032279 | | }
3033 | |_- in this macro invocation
3034 |
3035 = help: possible candidate is found in another module, you can import it into scope:
3036 `use core::os::raw::c_char;`
3037
3038error[E0412]: cannot find type `c_char` in this scope
3039 --> /home/kelvin/repos/libc/src/unix/mod.rs:474:29
3040 |
3041474 | pub fn unlink(c: *const c_char) -> ::c_int;
3042 | ^^^^^^ did you mean `char`?
3043 |
3044 ::: /home/kelvin/repos/libc/src/lib.rs
3045 |
3046266 | / cfg_if! {
3047267 | | if #[cfg(windows)] {
3048268 | | mod windows;
3049269 | | pub use windows::*;
3050... |
3051278 | | }
3052279 | | }
3053 | |_- in this macro invocation
3054 |
3055 = help: possible candidate is found in another module, you can import it into scope:
3056 `use core::os::raw::c_char;`
3057
3058error[E0412]: cannot find type `off_t` in this scope
3059 --> /home/kelvin/repos/libc/src/unix/mod.rs:489:26
3060 |
3061489 | offset: off_t) -> ::ssize_t;
3062 | ^^^^^ not found in this scope
3063 |
3064 ::: /home/kelvin/repos/libc/src/lib.rs
3065 |
3066266 | / cfg_if! {
3067267 | | if #[cfg(windows)] {
3068268 | | mod windows;
3069269 | | pub use windows::*;
3070... |
3071278 | | }
3072279 | | }
3073 | |_- in this macro invocation
3074 |
3075 = help: possible candidates are found in other modules, you can import them into scope:
3076 `use core::os::linux::raw::off_t;`
3077 `use core::os::unix::raw::off_t;`
3078
3079error[E0412]: cannot find type `off_t` in this scope
3080 --> /home/kelvin/repos/libc/src/unix/mod.rs:493:27
3081 |
3082493 | offset: off_t) -> ::ssize_t;
3083 | ^^^^^ not found in this scope
3084 |
3085 ::: /home/kelvin/repos/libc/src/lib.rs
3086 |
3087266 | / cfg_if! {
3088267 | | if #[cfg(windows)] {
3089268 | | mod windows;
3090269 | | pub use windows::*;
3091... |
3092278 | | }
3093279 | | }
3094 | |_- in this macro invocation
3095 |
3096 = help: possible candidates are found in other modules, you can import them into scope:
3097 `use core::os::linux::raw::off_t;`
3098 `use core::os::unix::raw::off_t;`
3099
3100error[E0412]: cannot find type `mode_t` in this scope
3101 --> /home/kelvin/repos/libc/src/unix/mod.rs:494:24
3102 |
3103494 | pub fn umask(mask: mode_t) -> mode_t;
3104 | ^^^^^^ not found in this scope
3105 |
3106 ::: /home/kelvin/repos/libc/src/lib.rs
3107 |
3108266 | / cfg_if! {
3109267 | | if #[cfg(windows)] {
3110268 | | mod windows;
3111269 | | pub use windows::*;
3112... |
3113278 | | }
3114279 | | }
3115 | |_- in this macro invocation
3116 |
3117 = help: possible candidates are found in other modules, you can import them into scope:
3118 `use core::os::linux::raw::mode_t;`
3119 `use core::os::unix::raw::mode_t;`
3120
3121error[E0412]: cannot find type `mode_t` in this scope
3122 --> /home/kelvin/repos/libc/src/unix/mod.rs:494:35
3123 |
3124494 | pub fn umask(mask: mode_t) -> mode_t;
3125 | ^^^^^^ not found in this scope
3126 |
3127 ::: /home/kelvin/repos/libc/src/lib.rs
3128 |
3129266 | / cfg_if! {
3130267 | | if #[cfg(windows)] {
3131268 | | mod windows;
3132269 | | pub use windows::*;
3133... |
3134278 | | }
3135279 | | }
3136 | |_- in this macro invocation
3137 |
3138 = help: possible candidates are found in other modules, you can import them into scope:
3139 `use core::os::linux::raw::mode_t;`
3140 `use core::os::unix::raw::mode_t;`
3141
3142error[E0412]: cannot find type `c_char` in this scope
3143 --> /home/kelvin/repos/libc/src/unix/mod.rs:497:31
3144 |
3145497 | pub fn utime(file: *const c_char, buf: *const utimbuf) -> ::c_int;
3146 | ^^^^^^ did you mean `char`?
3147 |
3148 ::: /home/kelvin/repos/libc/src/lib.rs
3149 |
3150266 | / cfg_if! {
3151267 | | if #[cfg(windows)] {
3152268 | | mod windows;
3153269 | | pub use windows::*;
3154... |
3155278 | | }
3156279 | | }
3157 | |_- in this macro invocation
3158 |
3159 = help: possible candidate is found in another module, you can import it into scope:
3160 `use core::os::raw::c_char;`
3161
3162error[E0412]: cannot find type `off_t` in this scope
3163 --> /home/kelvin/repos/libc/src/unix/mod.rs:515:25
3164 |
3165515 | offset: off_t)
3166 | ^^^^^ not found in this scope
3167 |
3168 ::: /home/kelvin/repos/libc/src/lib.rs
3169 |
3170266 | / cfg_if! {
3171267 | | if #[cfg(windows)] {
3172268 | | mod windows;
3173269 | | pub use windows::*;
3174... |
3175278 | | }
3176279 | | }
3177 | |_- in this macro invocation
3178 |
3179 = help: possible candidates are found in other modules, you can import them into scope:
3180 `use core::os::linux::raw::off_t;`
3181 `use core::os::unix::raw::off_t;`
3182
3183error[E0412]: cannot find type `c_char` in this scope
3184 --> /home/kelvin/repos/libc/src/unix/mod.rs:521:42
3185 |
3186521 | pub fn if_nametoindex(ifname: *const c_char) -> ::c_uint;
3187 | ^^^^^^ did you mean `char`?
3188 |
3189 ::: /home/kelvin/repos/libc/src/lib.rs
3190 |
3191266 | / cfg_if! {
3192267 | | if #[cfg(windows)] {
3193268 | | mod windows;
3194269 | | pub use windows::*;
3195... |
3196278 | | }
3197279 | | }
3198 | |_- in this macro invocation
3199 |
3200 = help: possible candidate is found in another module, you can import it into scope:
3201 `use core::os::raw::c_char;`
3202
3203error[E0412]: cannot find type `c_char` in the crate root
3204 --> /home/kelvin/repos/libc/src/unix/mod.rs:523:42
3205 |
3206523 | ifname: *mut ::c_char) -> *mut ::c_char;
3207 | ^^^^^^ did you mean `c_schar`?
3208 |
3209 ::: /home/kelvin/repos/libc/src/lib.rs
3210 |
3211266 | / cfg_if! {
3212267 | | if #[cfg(windows)] {
3213268 | | mod windows;
3214269 | | pub use windows::*;
3215... |
3216278 | | }
3217279 | | }
3218 | |_- in this macro invocation
3219 |
3220 = help: possible candidate is found in another module, you can import it into scope:
3221 `use core::os::raw::c_char;`
3222
3223error[E0412]: cannot find type `c_char` in the crate root
3224 --> /home/kelvin/repos/libc/src/unix/mod.rs:523:60
3225 |
3226523 | ifname: *mut ::c_char) -> *mut ::c_char;
3227 | ^^^^^^ did you mean `c_schar`?
3228 |
3229 ::: /home/kelvin/repos/libc/src/lib.rs
3230 |
3231266 | / cfg_if! {
3232267 | | if #[cfg(windows)] {
3233268 | | mod windows;
3234269 | | pub use windows::*;
3235... |
3236278 | | }
3237279 | | }
3238 | |_- in this macro invocation
3239 |
3240 = help: possible candidate is found in another module, you can import it into scope:
3241 `use core::os::raw::c_char;`
3242
3243error[E0412]: cannot find type `c_char` in this scope
3244 --> /home/kelvin/repos/libc/src/unix/mod.rs:527:31
3245 |
3246527 | pub fn lstat(path: *const c_char, buf: *mut stat) -> ::c_int;
3247 | ^^^^^^ did you mean `char`?
3248 |
3249 ::: /home/kelvin/repos/libc/src/lib.rs
3250 |
3251266 | / cfg_if! {
3252267 | | if #[cfg(windows)] {
3253268 | | mod windows;
3254269 | | pub use windows::*;
3255... |
3256278 | | }
3257279 | | }
3258 | |_- in this macro invocation
3259 |
3260 = help: possible candidate is found in another module, you can import it into scope:
3261 `use core::os::raw::c_char;`
3262
3263error[E0573]: expected type, found function `stat`
3264 --> /home/kelvin/repos/libc/src/unix/mod.rs:527:49
3265 |
3266527 | pub fn lstat(path: *const c_char, buf: *mut stat) -> ::c_int;
3267 | ^^^^ not a type
3268 |
3269 ::: /home/kelvin/repos/libc/src/lib.rs
3270 |
3271266 | / cfg_if! {
3272267 | | if #[cfg(windows)] {
3273268 | | mod windows;
3274269 | | pub use windows::*;
3275... |
3276278 | | }
3277279 | | }
3278 | |_- in this macro invocation
3279 |
3280 = help: possible better candidate is found in another module, you can import it into scope:
3281 `use core::os::linux::raw::stat;`
3282
3283error[E0412]: cannot find type `c_char` in this scope
3284 --> /home/kelvin/repos/libc/src/unix/mod.rs:535:32
3285 |
3286535 | pub fn setenv(name: *const c_char, val: *const c_char,
3287 | ^^^^^^ did you mean `char`?
3288 |
3289 ::: /home/kelvin/repos/libc/src/lib.rs
3290 |
3291266 | / cfg_if! {
3292267 | | if #[cfg(windows)] {
3293268 | | mod windows;
3294269 | | pub use windows::*;
3295... |
3296278 | | }
3297279 | | }
3298 | |_- in this macro invocation
3299 |
3300 = help: possible candidate is found in another module, you can import it into scope:
3301 `use core::os::raw::c_char;`
3302
3303error[E0412]: cannot find type `c_char` in this scope
3304 --> /home/kelvin/repos/libc/src/unix/mod.rs:535:52
3305 |
3306535 | pub fn setenv(name: *const c_char, val: *const c_char,
3307 | ^^^^^^ did you mean `char`?
3308 |
3309 ::: /home/kelvin/repos/libc/src/lib.rs
3310 |
3311266 | / cfg_if! {
3312267 | | if #[cfg(windows)] {
3313268 | | mod windows;
3314269 | | pub use windows::*;
3315... |
3316278 | | }
3317279 | | }
3318 | |_- in this macro invocation
3319 |
3320 = help: possible candidate is found in another module, you can import it into scope:
3321 `use core::os::raw::c_char;`
3322
3323error[E0412]: cannot find type `c_char` in this scope
3324 --> /home/kelvin/repos/libc/src/unix/mod.rs:540:34
3325 |
3326540 | pub fn unsetenv(name: *const c_char) -> ::c_int;
3327 | ^^^^^^ did you mean `char`?
3328 |
3329 ::: /home/kelvin/repos/libc/src/lib.rs
3330 |
3331266 | / cfg_if! {
3332267 | | if #[cfg(windows)] {
3333268 | | mod windows;
3334269 | | pub use windows::*;
3335... |
3336278 | | }
3337279 | | }
3338 | |_- in this macro invocation
3339 |
3340 = help: possible candidate is found in another module, you can import it into scope:
3341 `use core::os::raw::c_char;`
3342
3343error[E0412]: cannot find type `c_char` in this scope
3344 --> /home/kelvin/repos/libc/src/unix/mod.rs:542:34
3345 |
3346542 | pub fn symlink(path1: *const c_char,
3347 | ^^^^^^ did you mean `char`?
3348 |
3349 ::: /home/kelvin/repos/libc/src/lib.rs
3350 |
3351266 | / cfg_if! {
3352267 | | if #[cfg(windows)] {
3353268 | | mod windows;
3354269 | | pub use windows::*;
3355... |
3356278 | | }
3357279 | | }
3358 | |_- in this macro invocation
3359 |
3360 = help: possible candidate is found in another module, you can import it into scope:
3361 `use core::os::raw::c_char;`
3362
3363error[E0412]: cannot find type `c_char` in this scope
3364 --> /home/kelvin/repos/libc/src/unix/mod.rs:543:34
3365 |
3366543 | path2: *const c_char) -> ::c_int;
3367 | ^^^^^^ did you mean `char`?
3368 |
3369 ::: /home/kelvin/repos/libc/src/lib.rs
3370 |
3371266 | / cfg_if! {
3372267 | | if #[cfg(windows)] {
3373268 | | mod windows;
3374269 | | pub use windows::*;
3375... |
3376278 | | }
3377279 | | }
3378 | |_- in this macro invocation
3379 |
3380 = help: possible candidate is found in another module, you can import it into scope:
3381 `use core::os::raw::c_char;`
3382
3383error[E0412]: cannot find type `off_t` in this scope
3384 --> /home/kelvin/repos/libc/src/unix/mod.rs:545:43
3385 |
3386545 | pub fn ftruncate(fd: ::c_int, length: off_t) -> ::c_int;
3387 | ^^^^^ not found in this scope
3388 |
3389 ::: /home/kelvin/repos/libc/src/lib.rs
3390 |
3391266 | / cfg_if! {
3392267 | | if #[cfg(windows)] {
3393268 | | mod windows;
3394269 | | pub use windows::*;
3395... |
3396278 | | }
3397279 | | }
3398 | |_- in this macro invocation
3399 |
3400 = help: possible candidates are found in other modules, you can import them into scope:
3401 `use core::os::linux::raw::off_t;`
3402 `use core::os::unix::raw::off_t;`
3403
3404error[E0412]: cannot find type `c_char` in the crate root
3405 --> /home/kelvin/repos/libc/src/unix/mod.rs:561:40
3406 |
3407561 | pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char)
3408 | ^^^^^^ did you mean `c_schar`?
3409 |
3410 ::: /home/kelvin/repos/libc/src/lib.rs
3411 |
3412266 | / cfg_if! {
3413267 | | if #[cfg(windows)] {
3414268 | | mod windows;
3415269 | | pub use windows::*;
3416... |
3417278 | | }
3418279 | | }
3419 | |_- in this macro invocation
3420 |
3421 = help: possible candidate is found in another module, you can import it into scope:
3422 `use core::os::raw::c_char;`
3423
3424error[E0412]: cannot find type `c_char` in the crate root
3425 --> /home/kelvin/repos/libc/src/unix/mod.rs:561:65
3426 |
3427561 | pub fn realpath(pathname: *const ::c_char, resolved: *mut ::c_char)
3428 | ^^^^^^ did you mean `c_schar`?
3429 |
3430 ::: /home/kelvin/repos/libc/src/lib.rs
3431 |
3432266 | / cfg_if! {
3433267 | | if #[cfg(windows)] {
3434268 | | mod windows;
3435269 | | pub use windows::*;
3436... |
3437278 | | }
3438279 | | }
3439 | |_- in this macro invocation
3440 |
3441 = help: possible candidate is found in another module, you can import it into scope:
3442 `use core::os::raw::c_char;`
3443
3444error[E0412]: cannot find type `c_char` in the crate root
3445 --> /home/kelvin/repos/libc/src/unix/mod.rs:562:31
3446 |
3447562 | -> *mut ::c_char;
3448 | ^^^^^^ did you mean `c_schar`?
3449 |
3450 ::: /home/kelvin/repos/libc/src/lib.rs
3451 |
3452266 | / cfg_if! {
3453267 | | if #[cfg(windows)] {
3454268 | | mod windows;
3455269 | | pub use windows::*;
3456... |
3457278 | | }
3458279 | | }
3459 | |_- in this macro invocation
3460 |
3461 = help: possible candidate is found in another module, you can import it into scope:
3462 `use core::os::raw::c_char;`
3463
3464error[E0412]: cannot find type `pthread_t` in the crate root
3465 --> /home/kelvin/repos/libc/src/unix/mod.rs:570:32
3466 |
3467570 | pub fn pthread_self() -> ::pthread_t;
3468 | ^^^^^^^^^ not found in the crate root
3469 |
3470 ::: /home/kelvin/repos/libc/src/lib.rs
3471 |
3472266 | / cfg_if! {
3473267 | | if #[cfg(windows)] {
3474268 | | mod windows;
3475269 | | pub use windows::*;
3476... |
3477278 | | }
3478279 | | }
3479 | |_- in this macro invocation
3480 |
3481 = help: possible candidates are found in other modules, you can import them into scope:
3482 `use core::os::linux::raw::pthread_t;`
3483 `use core::os::unix::raw::pthread_t;`
3484
3485error[E0412]: cannot find type `pthread_t` in the crate root
3486 --> /home/kelvin/repos/libc/src/unix/mod.rs:571:42
3487 |
3488571 | pub fn pthread_create(native: *mut ::pthread_t,
3489 | ^^^^^^^^^ not found in the crate root
3490 |
3491 ::: /home/kelvin/repos/libc/src/lib.rs
3492 |
3493266 | / cfg_if! {
3494267 | | if #[cfg(windows)] {
3495268 | | mod windows;
3496269 | | pub use windows::*;
3497... |
3498278 | | }
3499279 | | }
3500 | |_- in this macro invocation
3501 |
3502 = help: possible candidates are found in other modules, you can import them into scope:
3503 `use core::os::linux::raw::pthread_t;`
3504 `use core::os::unix::raw::pthread_t;`
3505
3506error[E0412]: cannot find type `pthread_attr_t` in the crate root
3507 --> /home/kelvin/repos/libc/src/unix/mod.rs:572:42
3508 |
3509572 | attr: *const ::pthread_attr_t,
3510 | ^^^^^^^^^^^^^^ not found in the crate root
3511 |
3512 ::: /home/kelvin/repos/libc/src/lib.rs
3513 |
3514266 | / cfg_if! {
3515267 | | if #[cfg(windows)] {
3516268 | | mod windows;
3517269 | | pub use windows::*;
3518... |
3519278 | | }
3520279 | | }
3521 | |_- in this macro invocation
3522
3523error[E0412]: cannot find type `pthread_t` in the crate root
3524 --> /home/kelvin/repos/libc/src/unix/mod.rs:577:35
3525 |
3526577 | pub fn pthread_join(native: ::pthread_t,
3527 | ^^^^^^^^^ not found in the crate root
3528 |
3529 ::: /home/kelvin/repos/libc/src/lib.rs
3530 |
3531266 | / cfg_if! {
3532267 | | if #[cfg(windows)] {
3533268 | | mod windows;
3534269 | | pub use windows::*;
3535... |
3536278 | | }
3537279 | | }
3538 | |_- in this macro invocation
3539 |
3540 = help: possible candidates are found in other modules, you can import them into scope:
3541 `use core::os::linux::raw::pthread_t;`
3542 `use core::os::unix::raw::pthread_t;`
3543
3544error[E0412]: cannot find type `pthread_attr_t` in the crate root
3545 --> /home/kelvin/repos/libc/src/unix/mod.rs:580:43
3546 |
3547580 | pub fn pthread_attr_init(attr: *mut ::pthread_attr_t) -> ::c_int;
3548 | ^^^^^^^^^^^^^^ not found in the crate root
3549 |
3550 ::: /home/kelvin/repos/libc/src/lib.rs
3551 |
3552266 | / cfg_if! {
3553267 | | if #[cfg(windows)] {
3554268 | | mod windows;
3555269 | | pub use windows::*;
3556... |
3557278 | | }
3558279 | | }
3559 | |_- in this macro invocation
3560
3561error[E0412]: cannot find type `pthread_attr_t` in the crate root
3562 --> /home/kelvin/repos/libc/src/unix/mod.rs:581:46
3563 |
3564581 | pub fn pthread_attr_destroy(attr: *mut ::pthread_attr_t) -> ::c_int;
3565 | ^^^^^^^^^^^^^^ not found in the crate root
3566 |
3567 ::: /home/kelvin/repos/libc/src/lib.rs
3568 |
3569266 | / cfg_if! {
3570267 | | if #[cfg(windows)] {
3571268 | | mod windows;
3572269 | | pub use windows::*;
3573... |
3574278 | | }
3575279 | | }
3576 | |_- in this macro invocation
3577
3578error[E0412]: cannot find type `pthread_attr_t` in the crate root
3579 --> /home/kelvin/repos/libc/src/unix/mod.rs:582:51
3580 |
3581582 | pub fn pthread_attr_setstacksize(attr: *mut ::pthread_attr_t,
3582 | ^^^^^^^^^^^^^^ not found in the crate root
3583 |
3584 ::: /home/kelvin/repos/libc/src/lib.rs
3585 |
3586266 | / cfg_if! {
3587267 | | if #[cfg(windows)] {
3588268 | | mod windows;
3589269 | | pub use windows::*;
3590... |
3591278 | | }
3592279 | | }
3593 | |_- in this macro invocation
3594
3595error[E0412]: cannot find type `pthread_attr_t` in the crate root
3596 --> /home/kelvin/repos/libc/src/unix/mod.rs:584:53
3597 |
3598584 | pub fn pthread_attr_setdetachstate(attr: *mut ::pthread_attr_t,
3599 | ^^^^^^^^^^^^^^ not found in the crate root
3600 |
3601 ::: /home/kelvin/repos/libc/src/lib.rs
3602 |
3603266 | / cfg_if! {
3604267 | | if #[cfg(windows)] {
3605268 | | mod windows;
3606269 | | pub use windows::*;
3607... |
3608278 | | }
3609279 | | }
3610 | |_- in this macro invocation
3611
3612error[E0412]: cannot find type `pthread_t` in the crate root
3613 --> /home/kelvin/repos/libc/src/unix/mod.rs:586:37
3614 |
3615586 | pub fn pthread_detach(thread: ::pthread_t) -> ::c_int;
3616 | ^^^^^^^^^ not found in the crate root
3617 |
3618 ::: /home/kelvin/repos/libc/src/lib.rs
3619 |
3620266 | / cfg_if! {
3621267 | | if #[cfg(windows)] {
3622268 | | mod windows;
3623269 | | pub use windows::*;
3624... |
3625278 | | }
3626279 | | }
3627 | |_- in this macro invocation
3628 |
3629 = help: possible candidates are found in other modules, you can import them into scope:
3630 `use core::os::linux::raw::pthread_t;`
3631 `use core::os::unix::raw::pthread_t;`
3632
3633error[E0412]: cannot find type `pthread_key_t` in this scope
3634 --> /home/kelvin/repos/libc/src/unix/mod.rs:589:41
3635 |
3636589 | pub fn pthread_key_create(key: *mut pthread_key_t,
3637 | ^^^^^^^^^^^^^ not found in this scope
3638 |
3639 ::: /home/kelvin/repos/libc/src/lib.rs
3640 |
3641266 | / cfg_if! {
3642267 | | if #[cfg(windows)] {
3643268 | | mod windows;
3644269 | | pub use windows::*;
3645... |
3646278 | | }
3647279 | | }
3648 | |_- in this macro invocation
3649
3650error[E0412]: cannot find type `pthread_key_t` in this scope
3651 --> /home/kelvin/repos/libc/src/unix/mod.rs:592:36
3652 |
3653592 | pub fn pthread_key_delete(key: pthread_key_t) -> ::c_int;
3654 | ^^^^^^^^^^^^^ not found in this scope
3655 |
3656 ::: /home/kelvin/repos/libc/src/lib.rs
3657 |
3658266 | / cfg_if! {
3659267 | | if #[cfg(windows)] {
3660268 | | mod windows;
3661269 | | pub use windows::*;
3662... |
3663278 | | }
3664279 | | }
3665 | |_- in this macro invocation
3666
3667error[E0412]: cannot find type `pthread_key_t` in this scope
3668 --> /home/kelvin/repos/libc/src/unix/mod.rs:593:37
3669 |
3670593 | pub fn pthread_getspecific(key: pthread_key_t) -> *mut ::c_void;
3671 | ^^^^^^^^^^^^^ not found in this scope
3672 |
3673 ::: /home/kelvin/repos/libc/src/lib.rs
3674 |
3675266 | / cfg_if! {
3676267 | | if #[cfg(windows)] {
3677268 | | mod windows;
3678269 | | pub use windows::*;
3679... |
3680278 | | }
3681279 | | }
3682 | |_- in this macro invocation
3683
3684error[E0412]: cannot find type `pthread_key_t` in this scope
3685 --> /home/kelvin/repos/libc/src/unix/mod.rs:594:37
3686 |
3687594 | pub fn pthread_setspecific(key: pthread_key_t, value: *const ::c_void)
3688 | ^^^^^^^^^^^^^ not found in this scope
3689 |
3690 ::: /home/kelvin/repos/libc/src/lib.rs
3691 |
3692266 | / cfg_if! {
3693267 | | if #[cfg(windows)] {
3694268 | | mod windows;
3695269 | | pub use windows::*;
3696... |
3697278 | | }
3698279 | | }
3699 | |_- in this macro invocation
3700
3701error[E0412]: cannot find type `pthread_mutex_t` in this scope
3702 --> /home/kelvin/repos/libc/src/unix/mod.rs:596:42
3703 |
3704596 | pub fn pthread_mutex_init(lock: *mut pthread_mutex_t,
3705 | ^^^^^^^^^^^^^^^ not found in this scope
3706 |
3707 ::: /home/kelvin/repos/libc/src/lib.rs
3708 |
3709266 | / cfg_if! {
3710267 | | if #[cfg(windows)] {
3711268 | | mod windows;
3712269 | | pub use windows::*;
3713... |
3714278 | | }
3715279 | | }
3716 | |_- in this macro invocation
3717
3718error[E0412]: cannot find type `pthread_mutexattr_t` in this scope
3719 --> /home/kelvin/repos/libc/src/unix/mod.rs:597:44
3720 |
3721597 | attr: *const pthread_mutexattr_t) -> ::c_int;
3722 | ^^^^^^^^^^^^^^^^^^^ not found in this scope
3723 |
3724 ::: /home/kelvin/repos/libc/src/lib.rs
3725 |
3726266 | / cfg_if! {
3727267 | | if #[cfg(windows)] {
3728268 | | mod windows;
3729269 | | pub use windows::*;
3730... |
3731278 | | }
3732279 | | }
3733 | |_- in this macro invocation
3734
3735error[E0412]: cannot find type `pthread_mutex_t` in this scope
3736 --> /home/kelvin/repos/libc/src/unix/mod.rs:598:45
3737 |
3738598 | pub fn pthread_mutex_destroy(lock: *mut pthread_mutex_t) -> ::c_int;
3739 | ^^^^^^^^^^^^^^^ not found in this scope
3740 |
3741 ::: /home/kelvin/repos/libc/src/lib.rs
3742 |
3743266 | / cfg_if! {
3744267 | | if #[cfg(windows)] {
3745268 | | mod windows;
3746269 | | pub use windows::*;
3747... |
3748278 | | }
3749279 | | }
3750 | |_- in this macro invocation
3751
3752error[E0412]: cannot find type `pthread_mutex_t` in this scope
3753 --> /home/kelvin/repos/libc/src/unix/mod.rs:599:42
3754 |
3755599 | pub fn pthread_mutex_lock(lock: *mut pthread_mutex_t) -> ::c_int;
3756 | ^^^^^^^^^^^^^^^ not found in this scope
3757 |
3758 ::: /home/kelvin/repos/libc/src/lib.rs
3759 |
3760266 | / cfg_if! {
3761267 | | if #[cfg(windows)] {
3762268 | | mod windows;
3763269 | | pub use windows::*;
3764... |
3765278 | | }
3766279 | | }
3767 | |_- in this macro invocation
3768
3769error[E0412]: cannot find type `pthread_mutex_t` in this scope
3770 --> /home/kelvin/repos/libc/src/unix/mod.rs:600:45
3771 |
3772600 | pub fn pthread_mutex_trylock(lock: *mut pthread_mutex_t) -> ::c_int;
3773 | ^^^^^^^^^^^^^^^ not found in this scope
3774 |
3775 ::: /home/kelvin/repos/libc/src/lib.rs
3776 |
3777266 | / cfg_if! {
3778267 | | if #[cfg(windows)] {
3779268 | | mod windows;
3780269 | | pub use windows::*;
3781... |
3782278 | | }
3783279 | | }
3784 | |_- in this macro invocation
3785
3786error[E0412]: cannot find type `pthread_mutex_t` in this scope
3787 --> /home/kelvin/repos/libc/src/unix/mod.rs:601:44
3788 |
3789601 | pub fn pthread_mutex_unlock(lock: *mut pthread_mutex_t) -> ::c_int;
3790 | ^^^^^^^^^^^^^^^ not found in this scope
3791 |
3792 ::: /home/kelvin/repos/libc/src/lib.rs
3793 |
3794266 | / cfg_if! {
3795267 | | if #[cfg(windows)] {
3796268 | | mod windows;
3797269 | | pub use windows::*;
3798... |
3799278 | | }
3800279 | | }
3801 | |_- in this macro invocation
3802
3803error[E0412]: cannot find type `pthread_mutexattr_t` in this scope
3804 --> /home/kelvin/repos/libc/src/unix/mod.rs:603:46
3805 |
3806603 | pub fn pthread_mutexattr_init(attr: *mut pthread_mutexattr_t) -> ::c_int;
3807 | ^^^^^^^^^^^^^^^^^^^ not found in this scope
3808 |
3809 ::: /home/kelvin/repos/libc/src/lib.rs
3810 |
3811266 | / cfg_if! {
3812267 | | if #[cfg(windows)] {
3813268 | | mod windows;
3814269 | | pub use windows::*;
3815... |
3816278 | | }
3817279 | | }
3818 | |_- in this macro invocation
3819
3820error[E0412]: cannot find type `pthread_mutexattr_t` in this scope
3821 --> /home/kelvin/repos/libc/src/unix/mod.rs:606:49
3822 |
3823606 | pub fn pthread_mutexattr_destroy(attr: *mut pthread_mutexattr_t) -> ::c_int;
3824 | ^^^^^^^^^^^^^^^^^^^ not found in this scope
3825 |
3826 ::: /home/kelvin/repos/libc/src/lib.rs
3827 |
3828266 | / cfg_if! {
3829267 | | if #[cfg(windows)] {
3830268 | | mod windows;
3831269 | | pub use windows::*;
3832... |
3833278 | | }
3834279 | | }
3835 | |_- in this macro invocation
3836
3837error[E0412]: cannot find type `pthread_mutexattr_t` in this scope
3838 --> /home/kelvin/repos/libc/src/unix/mod.rs:607:49
3839 |
3840607 | pub fn pthread_mutexattr_settype(attr: *mut pthread_mutexattr_t,
3841 | ^^^^^^^^^^^^^^^^^^^ not found in this scope
3842 |
3843 ::: /home/kelvin/repos/libc/src/lib.rs
3844 |
3845266 | / cfg_if! {
3846267 | | if #[cfg(windows)] {
3847268 | | mod windows;
3848269 | | pub use windows::*;
3849... |
3850278 | | }
3851279 | | }
3852 | |_- in this macro invocation
3853
3854error[E0412]: cannot find type `pthread_cond_t` in this scope
3855 --> /home/kelvin/repos/libc/src/unix/mod.rs:612:41
3856 |
3857612 | pub fn pthread_cond_init(cond: *mut pthread_cond_t,
3858 | ^^^^^^^^^^^^^^ not found in this scope
3859 |
3860 ::: /home/kelvin/repos/libc/src/lib.rs
3861 |
3862266 | / cfg_if! {
3863267 | | if #[cfg(windows)] {
3864268 | | mod windows;
3865269 | | pub use windows::*;
3866... |
3867278 | | }
3868279 | | }
3869 | |_- in this macro invocation
3870
3871error[E0412]: cannot find type `pthread_condattr_t` in this scope
3872 --> /home/kelvin/repos/libc/src/unix/mod.rs:613:43
3873 |
3874613 | attr: *const pthread_condattr_t) -> ::c_int;
3875 | ^^^^^^^^^^^^^^^^^^ not found in this scope
3876 |
3877 ::: /home/kelvin/repos/libc/src/lib.rs
3878 |
3879266 | / cfg_if! {
3880267 | | if #[cfg(windows)] {
3881268 | | mod windows;
3882269 | | pub use windows::*;
3883... |
3884278 | | }
3885279 | | }
3886 | |_- in this macro invocation
3887
3888error[E0412]: cannot find type `pthread_cond_t` in this scope
3889 --> /home/kelvin/repos/libc/src/unix/mod.rs:616:41
3890 |
3891616 | pub fn pthread_cond_wait(cond: *mut pthread_cond_t,
3892 | ^^^^^^^^^^^^^^ not found in this scope
3893 |
3894 ::: /home/kelvin/repos/libc/src/lib.rs
3895 |
3896266 | / cfg_if! {
3897267 | | if #[cfg(windows)] {
3898268 | | mod windows;
3899269 | | pub use windows::*;
3900... |
3901278 | | }
3902279 | | }
3903 | |_- in this macro invocation
3904
3905error[E0412]: cannot find type `pthread_mutex_t` in this scope
3906 --> /home/kelvin/repos/libc/src/unix/mod.rs:617:41
3907 |
3908617 | lock: *mut pthread_mutex_t) -> ::c_int;
3909 | ^^^^^^^^^^^^^^^ not found in this scope
3910 |
3911 ::: /home/kelvin/repos/libc/src/lib.rs
3912 |
3913266 | / cfg_if! {
3914267 | | if #[cfg(windows)] {
3915268 | | mod windows;
3916269 | | pub use windows::*;
3917... |
3918278 | | }
3919279 | | }
3920 | |_- in this macro invocation
3921
3922error[E0412]: cannot find type `pthread_cond_t` in this scope
3923 --> /home/kelvin/repos/libc/src/unix/mod.rs:620:46
3924 |
3925620 | pub fn pthread_cond_timedwait(cond: *mut pthread_cond_t,
3926 | ^^^^^^^^^^^^^^ not found in this scope
3927 |
3928 ::: /home/kelvin/repos/libc/src/lib.rs
3929 |
3930266 | / cfg_if! {
3931267 | | if #[cfg(windows)] {
3932268 | | mod windows;
3933269 | | pub use windows::*;
3934... |
3935278 | | }
3936279 | | }
3937 | |_- in this macro invocation
3938
3939error[E0412]: cannot find type `pthread_mutex_t` in this scope
3940 --> /home/kelvin/repos/libc/src/unix/mod.rs:621:42
3941 |
3942621 | lock: *mut pthread_mutex_t,
3943 | ^^^^^^^^^^^^^^^ not found in this scope
3944 |
3945 ::: /home/kelvin/repos/libc/src/lib.rs
3946 |
3947266 | / cfg_if! {
3948267 | | if #[cfg(windows)] {
3949268 | | mod windows;
3950269 | | pub use windows::*;
3951... |
3952278 | | }
3953279 | | }
3954 | |_- in this macro invocation
3955
3956error[E0412]: cannot find type `pthread_cond_t` in this scope
3957 --> /home/kelvin/repos/libc/src/unix/mod.rs:623:43
3958 |
3959623 | pub fn pthread_cond_signal(cond: *mut pthread_cond_t) -> ::c_int;
3960 | ^^^^^^^^^^^^^^ not found in this scope
3961 |
3962 ::: /home/kelvin/repos/libc/src/lib.rs
3963 |
3964266 | / cfg_if! {
3965267 | | if #[cfg(windows)] {
3966268 | | mod windows;
3967269 | | pub use windows::*;
3968... |
3969278 | | }
3970279 | | }
3971 | |_- in this macro invocation
3972
3973error[E0412]: cannot find type `pthread_cond_t` in this scope
3974 --> /home/kelvin/repos/libc/src/unix/mod.rs:624:46
3975 |
3976624 | pub fn pthread_cond_broadcast(cond: *mut pthread_cond_t) -> ::c_int;
3977 | ^^^^^^^^^^^^^^ not found in this scope
3978 |
3979 ::: /home/kelvin/repos/libc/src/lib.rs
3980 |
3981266 | / cfg_if! {
3982267 | | if #[cfg(windows)] {
3983268 | | mod windows;
3984269 | | pub use windows::*;
3985... |
3986278 | | }
3987279 | | }
3988 | |_- in this macro invocation
3989
3990error[E0412]: cannot find type `pthread_cond_t` in this scope
3991 --> /home/kelvin/repos/libc/src/unix/mod.rs:625:44
3992 |
3993625 | pub fn pthread_cond_destroy(cond: *mut pthread_cond_t) -> ::c_int;
3994 | ^^^^^^^^^^^^^^ not found in this scope
3995 |
3996 ::: /home/kelvin/repos/libc/src/lib.rs
3997 |
3998266 | / cfg_if! {
3999267 | | if #[cfg(windows)] {
4000268 | | mod windows;
4001269 | | pub use windows::*;
4002... |
4003278 | | }
4004279 | | }
4005 | |_- in this macro invocation
4006
4007error[E0412]: cannot find type `pthread_condattr_t` in this scope
4008 --> /home/kelvin/repos/libc/src/unix/mod.rs:626:45
4009 |
4010626 | pub fn pthread_condattr_init(attr: *mut pthread_condattr_t) -> ::c_int;
4011 | ^^^^^^^^^^^^^^^^^^ not found in this scope
4012 |
4013 ::: /home/kelvin/repos/libc/src/lib.rs
4014 |
4015266 | / cfg_if! {
4016267 | | if #[cfg(windows)] {
4017268 | | mod windows;
4018269 | | pub use windows::*;
4019... |
4020278 | | }
4021279 | | }
4022 | |_- in this macro invocation
4023
4024error[E0412]: cannot find type `pthread_condattr_t` in this scope
4025 --> /home/kelvin/repos/libc/src/unix/mod.rs:627:48
4026 |
4027627 | pub fn pthread_condattr_destroy(attr: *mut pthread_condattr_t) -> ::c_int;
4028 | ^^^^^^^^^^^^^^^^^^ not found in this scope
4029 |
4030 ::: /home/kelvin/repos/libc/src/lib.rs
4031 |
4032266 | / cfg_if! {
4033267 | | if #[cfg(windows)] {
4034268 | | mod windows;
4035269 | | pub use windows::*;
4036... |
4037278 | | }
4038279 | | }
4039 | |_- in this macro invocation
4040
4041error[E0412]: cannot find type `pthread_rwlock_t` in this scope
4042 --> /home/kelvin/repos/libc/src/unix/mod.rs:630:46
4043 |
4044630 | pub fn pthread_rwlock_destroy(lock: *mut pthread_rwlock_t) -> ::c_int;
4045 | ^^^^^^^^^^^^^^^^ not found in this scope
4046 |
4047 ::: /home/kelvin/repos/libc/src/lib.rs
4048 |
4049266 | / cfg_if! {
4050267 | | if #[cfg(windows)] {
4051268 | | mod windows;
4052269 | | pub use windows::*;
4053... |
4054278 | | }
4055279 | | }
4056 | |_- in this macro invocation
4057
4058error[E0412]: cannot find type `pthread_rwlock_t` in this scope
4059 --> /home/kelvin/repos/libc/src/unix/mod.rs:633:45
4060 |
4061633 | pub fn pthread_rwlock_rdlock(lock: *mut pthread_rwlock_t) -> ::c_int;
4062 | ^^^^^^^^^^^^^^^^ not found in this scope
4063 |
4064 ::: /home/kelvin/repos/libc/src/lib.rs
4065 |
4066266 | / cfg_if! {
4067267 | | if #[cfg(windows)] {
4068268 | | mod windows;
4069269 | | pub use windows::*;
4070... |
4071278 | | }
4072279 | | }
4073 | |_- in this macro invocation
4074
4075error[E0412]: cannot find type `pthread_rwlock_t` in this scope
4076 --> /home/kelvin/repos/libc/src/unix/mod.rs:636:48
4077 |
4078636 | pub fn pthread_rwlock_tryrdlock(lock: *mut pthread_rwlock_t) -> ::c_int;
4079 | ^^^^^^^^^^^^^^^^ not found in this scope
4080 |
4081 ::: /home/kelvin/repos/libc/src/lib.rs
4082 |
4083266 | / cfg_if! {
4084267 | | if #[cfg(windows)] {
4085268 | | mod windows;
4086269 | | pub use windows::*;
4087... |
4088278 | | }
4089279 | | }
4090 | |_- in this macro invocation
4091
4092error[E0412]: cannot find type `pthread_rwlock_t` in this scope
4093 --> /home/kelvin/repos/libc/src/unix/mod.rs:639:45
4094 |
4095639 | pub fn pthread_rwlock_wrlock(lock: *mut pthread_rwlock_t) -> ::c_int;
4096 | ^^^^^^^^^^^^^^^^ not found in this scope
4097 |
4098 ::: /home/kelvin/repos/libc/src/lib.rs
4099 |
4100266 | / cfg_if! {
4101267 | | if #[cfg(windows)] {
4102268 | | mod windows;
4103269 | | pub use windows::*;
4104... |
4105278 | | }
4106279 | | }
4107 | |_- in this macro invocation
4108
4109error[E0412]: cannot find type `pthread_rwlock_t` in this scope
4110 --> /home/kelvin/repos/libc/src/unix/mod.rs:642:48
4111 |
4112642 | pub fn pthread_rwlock_trywrlock(lock: *mut pthread_rwlock_t) -> ::c_int;
4113 | ^^^^^^^^^^^^^^^^ not found in this scope
4114 |
4115 ::: /home/kelvin/repos/libc/src/lib.rs
4116 |
4117266 | / cfg_if! {
4118267 | | if #[cfg(windows)] {
4119268 | | mod windows;
4120269 | | pub use windows::*;
4121... |
4122278 | | }
4123279 | | }
4124 | |_- in this macro invocation
4125
4126error[E0412]: cannot find type `pthread_rwlock_t` in this scope
4127 --> /home/kelvin/repos/libc/src/unix/mod.rs:645:45
4128 |
4129645 | pub fn pthread_rwlock_unlock(lock: *mut pthread_rwlock_t) -> ::c_int;
4130 | ^^^^^^^^^^^^^^^^ not found in this scope
4131 |
4132 ::: /home/kelvin/repos/libc/src/lib.rs
4133 |
4134266 | / cfg_if! {
4135267 | | if #[cfg(windows)] {
4136268 | | mod windows;
4137269 | | pub use windows::*;
4138... |
4139278 | | }
4140279 | | }
4141 | |_- in this macro invocation
4142
4143error[E0412]: cannot find type `sigset_t` in this scope
4144 --> /home/kelvin/repos/libc/src/unix/mod.rs:648:54
4145 |
4146648 | pub fn pthread_sigmask(how: ::c_int, set: *const sigset_t,
4147 | ^^^^^^^^ not found in this scope
4148 |
4149 ::: /home/kelvin/repos/libc/src/lib.rs
4150 |
4151266 | / cfg_if! {
4152267 | | if #[cfg(windows)] {
4153268 | | mod windows;
4154269 | | pub use windows::*;
4155... |
4156278 | | }
4157279 | | }
4158 | |_- in this macro invocation
4159
4160error[E0412]: cannot find type `sigset_t` in this scope
4161 --> /home/kelvin/repos/libc/src/unix/mod.rs:649:41
4162 |
4163649 | oldset: *mut sigset_t) -> ::c_int;
4164 | ^^^^^^^^ not found in this scope
4165 |
4166 ::: /home/kelvin/repos/libc/src/lib.rs
4167 |
4168266 | / cfg_if! {
4169267 | | if #[cfg(windows)] {
4170268 | | mod windows;
4171269 | | pub use windows::*;
4172... |
4173278 | | }
4174279 | | }
4175 | |_- in this macro invocation
4176
4177error[E0412]: cannot find type `pthread_t` in the crate root
4178 --> /home/kelvin/repos/libc/src/unix/mod.rs:650:35
4179 |
4180650 | pub fn pthread_kill(thread: ::pthread_t, sig: ::c_int) -> ::c_int;
4181 | ^^^^^^^^^ not found in the crate root
4182 |
4183 ::: /home/kelvin/repos/libc/src/lib.rs
4184 |
4185266 | / cfg_if! {
4186267 | | if #[cfg(windows)] {
4187268 | | mod windows;
4188269 | | pub use windows::*;
4189... |
4190278 | | }
4191279 | | }
4192 | |_- in this macro invocation
4193 |
4194 = help: possible candidates are found in other modules, you can import them into scope:
4195 `use core::os::linux::raw::pthread_t;`
4196 `use core::os::unix::raw::pthread_t;`
4197
4198error[E0412]: cannot find type `c_char` in this scope
4199 --> /home/kelvin/repos/libc/src/unix/mod.rs:653:50
4200 |
4201653 | pub fn strerror_r(errnum: ::c_int, buf: *mut c_char,
4202 | ^^^^^^ did you mean `char`?
4203 |
4204 ::: /home/kelvin/repos/libc/src/lib.rs
4205 |
4206266 | / cfg_if! {
4207267 | | if #[cfg(windows)] {
4208268 | | mod windows;
4209269 | | pub use windows::*;
4210... |
4211278 | | }
4212279 | | }
4213 | |_- in this macro invocation
4214 |
4215 = help: possible candidate is found in another module, you can import it into scope:
4216 `use core::os::raw::c_char;`
4217
4218error[E0412]: cannot find type `socklen_t` in the crate root
4219 --> /home/kelvin/repos/libc/src/unix/mod.rs:660:38
4220 |
4221660 | optlen: *mut ::socklen_t) -> ::c_int;
4222 | ^^^^^^^^^ did you mean `locale_t`?
4223 |
4224 ::: /home/kelvin/repos/libc/src/lib.rs
4225 |
4226266 | / cfg_if! {
4227267 | | if #[cfg(windows)] {
4228268 | | mod windows;
4229269 | | pub use windows::*;
4230... |
4231278 | | }
4232279 | | }
4233 | |_- in this macro invocation
4234
4235error[E0573]: expected type, found function `sigaction`
4236 --> /home/kelvin/repos/libc/src/unix/mod.rs:664:34
4237 |
4238664 | act: *const sigaction,
4239 | ^^^^^^^^^ not a type
4240 |
4241 ::: /home/kelvin/repos/libc/src/lib.rs
4242 |
4243266 | / cfg_if! {
4244267 | | if #[cfg(windows)] {
4245268 | | mod windows;
4246269 | | pub use windows::*;
4247... |
4248278 | | }
4249279 | | }
4250 | |_- in this macro invocation
4251
4252error[E0573]: expected type, found function `sigaction`
4253 --> /home/kelvin/repos/libc/src/unix/mod.rs:665:35
4254 |
4255665 | oldact: *mut sigaction) -> ::c_int;
4256 | ^^^^^^^^^ not a type
4257 |
4258 ::: /home/kelvin/repos/libc/src/lib.rs
4259 |
4260266 | / cfg_if! {
4261267 | | if #[cfg(windows)] {
4262268 | | mod windows;
4263269 | | pub use windows::*;
4264... |
4265278 | | }
4266279 | | }
4267 | |_- in this macro invocation
4268
4269error[E0412]: cannot find type `stack_t` in this scope
4270 --> /home/kelvin/repos/libc/src/unix/mod.rs:669:35
4271 |
4272669 | pub fn sigaltstack(ss: *const stack_t,
4273 | ^^^^^^^ not found in this scope
4274 |
4275 ::: /home/kelvin/repos/libc/src/lib.rs
4276 |
4277266 | / cfg_if! {
4278267 | | if #[cfg(windows)] {
4279268 | | mod windows;
4280269 | | pub use windows::*;
4281... |
4282278 | | }
4283279 | | }
4284 | |_- in this macro invocation
4285
4286error[E0412]: cannot find type `stack_t` in this scope
4287 --> /home/kelvin/repos/libc/src/unix/mod.rs:670:34
4288 |
4289670 | oss: *mut stack_t) -> ::c_int;
4290 | ^^^^^^^ not found in this scope
4291 |
4292 ::: /home/kelvin/repos/libc/src/lib.rs
4293 |
4294266 | / cfg_if! {
4295267 | | if #[cfg(windows)] {
4296268 | | mod windows;
4297269 | | pub use windows::*;
4298... |
4299278 | | }
4300279 | | }
4301 | |_- in this macro invocation
4302
4303error[E0412]: cannot find type `sigset_t` in this scope
4304 --> /home/kelvin/repos/libc/src/unix/mod.rs:674:32
4305 |
4306674 | pub fn sigwait(set: *const sigset_t,
4307 | ^^^^^^^^ not found in this scope
4308 |
4309 ::: /home/kelvin/repos/libc/src/lib.rs
4310 |
4311266 | / cfg_if! {
4312267 | | if #[cfg(windows)] {
4313268 | | mod windows;
4314269 | | pub use windows::*;
4315... |
4316278 | | }
4317279 | | }
4318 | |_- in this macro invocation
4319
4320error[E0412]: cannot find type `c_char` in the crate root
4321 --> /home/kelvin/repos/libc/src/unix/mod.rs:678:38
4322 |
4323678 | pub fn utimes(filename: *const ::c_char,
4324 | ^^^^^^ did you mean `c_schar`?
4325 |
4326 ::: /home/kelvin/repos/libc/src/lib.rs
4327 |
4328266 | / cfg_if! {
4329267 | | if #[cfg(windows)] {
4330268 | | mod windows;
4331269 | | pub use windows::*;
4332... |
4333278 | | }
4334279 | | }
4335 | |_- in this macro invocation
4336 |
4337 = help: possible candidate is found in another module, you can import it into scope:
4338 `use core::os::raw::c_char;`
4339
4340error[E0412]: cannot find type `c_char` in the crate root
4341 --> /home/kelvin/repos/libc/src/unix/mod.rs:680:38
4342 |
4343680 | pub fn dlopen(filename: *const ::c_char,
4344 | ^^^^^^ did you mean `c_schar`?
4345 |
4346 ::: /home/kelvin/repos/libc/src/lib.rs
4347 |
4348266 | / cfg_if! {
4349267 | | if #[cfg(windows)] {
4350268 | | mod windows;
4351269 | | pub use windows::*;
4352... |
4353278 | | }
4354279 | | }
4355 | |_- in this macro invocation
4356 |
4357 = help: possible candidate is found in another module, you can import it into scope:
4358 `use core::os::raw::c_char;`
4359
4360error[E0412]: cannot find type `c_char` in the crate root
4361 --> /home/kelvin/repos/libc/src/unix/mod.rs:682:32
4362 |
4363682 | pub fn dlerror() -> *mut ::c_char;
4364 | ^^^^^^ did you mean `c_schar`?
4365 |
4366 ::: /home/kelvin/repos/libc/src/lib.rs
4367 |
4368266 | / cfg_if! {
4369267 | | if #[cfg(windows)] {
4370268 | | mod windows;
4371269 | | pub use windows::*;
4372... |
4373278 | | }
4374279 | | }
4375 | |_- in this macro invocation
4376 |
4377 = help: possible candidate is found in another module, you can import it into scope:
4378 `use core::os::raw::c_char;`
4379
4380error[E0412]: cannot find type `c_char` in the crate root
4381 --> /home/kelvin/repos/libc/src/unix/mod.rs:684:35
4382 |
4383684 | symbol: *const ::c_char) -> *mut ::c_void;
4384 | ^^^^^^ did you mean `c_schar`?
4385 |
4386 ::: /home/kelvin/repos/libc/src/lib.rs
4387 |
4388266 | / cfg_if! {
4389267 | | if #[cfg(windows)] {
4390268 | | mod windows;
4391269 | | pub use windows::*;
4392... |
4393278 | | }
4394279 | | }
4395 | |_- in this macro invocation
4396 |
4397 = help: possible candidate is found in another module, you can import it into scope:
4398 `use core::os::raw::c_char;`
4399
4400error[E0412]: cannot find type `Dl_info` in this scope
4401 --> /home/kelvin/repos/libc/src/unix/mod.rs:686:53
4402 |
4403686 | pub fn dladdr(addr: *const ::c_void, info: *mut Dl_info) -> ::c_int;
4404 | ^^^^^^^ not found in this scope
4405 |
4406 ::: /home/kelvin/repos/libc/src/lib.rs
4407 |
4408266 | / cfg_if! {
4409267 | | if #[cfg(windows)] {
4410268 | | mod windows;
4411269 | | pub use windows::*;
4412... |
4413278 | | }
4414279 | | }
4415 | |_- in this macro invocation
4416
4417error[E0412]: cannot find type `c_char` in this scope
4418 --> /home/kelvin/repos/libc/src/unix/mod.rs:688:37
4419 |
4420688 | pub fn getaddrinfo(node: *const c_char,
4421 | ^^^^^^ did you mean `char`?
4422 |
4423 ::: /home/kelvin/repos/libc/src/lib.rs
4424 |
4425266 | / cfg_if! {
4426267 | | if #[cfg(windows)] {
4427268 | | mod windows;
4428269 | | pub use windows::*;
4429... |
4430278 | | }
4431279 | | }
4432 | |_- in this macro invocation
4433 |
4434 = help: possible candidate is found in another module, you can import it into scope:
4435 `use core::os::raw::c_char;`
4436
4437error[E0412]: cannot find type `c_char` in this scope
4438 --> /home/kelvin/repos/libc/src/unix/mod.rs:689:40
4439 |
4440689 | service: *const c_char,
4441 | ^^^^^^ did you mean `char`?
4442 |
4443 ::: /home/kelvin/repos/libc/src/lib.rs
4444 |
4445266 | / cfg_if! {
4446267 | | if #[cfg(windows)] {
4447268 | | mod windows;
4448269 | | pub use windows::*;
4449... |
4450278 | | }
4451279 | | }
4452 | |_- in this macro invocation
4453 |
4454 = help: possible candidate is found in another module, you can import it into scope:
4455 `use core::os::raw::c_char;`
4456
4457error[E0412]: cannot find type `addrinfo` in this scope
4458 --> /home/kelvin/repos/libc/src/unix/mod.rs:690:38
4459 |
4460690 | hints: *const addrinfo,
4461 | ^^^^^^^^ not found in this scope
4462 |
4463 ::: /home/kelvin/repos/libc/src/lib.rs
4464 |
4465266 | / cfg_if! {
4466267 | | if #[cfg(windows)] {
4467268 | | mod windows;
4468269 | | pub use windows::*;
4469... |
4470278 | | }
4471279 | | }
4472 | |_- in this macro invocation
4473
4474error[E0412]: cannot find type `addrinfo` in this scope
4475 --> /home/kelvin/repos/libc/src/unix/mod.rs:691:39
4476 |
4477691 | res: *mut *mut addrinfo) -> ::c_int;
4478 | ^^^^^^^^ not found in this scope
4479 |
4480 ::: /home/kelvin/repos/libc/src/lib.rs
4481 |
4482266 | / cfg_if! {
4483267 | | if #[cfg(windows)] {
4484268 | | mod windows;
4485269 | | pub use windows::*;
4486... |
4487278 | | }
4488279 | | }
4489 | |_- in this macro invocation
4490
4491error[E0412]: cannot find type `addrinfo` in this scope
4492 --> /home/kelvin/repos/libc/src/unix/mod.rs:692:35
4493 |
4494692 | pub fn freeaddrinfo(res: *mut addrinfo);
4495 | ^^^^^^^^ not found in this scope
4496 |
4497 ::: /home/kelvin/repos/libc/src/lib.rs
4498 |
4499266 | / cfg_if! {
4500267 | | if #[cfg(windows)] {
4501268 | | mod windows;
4502269 | | pub use windows::*;
4503... |
4504278 | | }
4505279 | | }
4506 | |_- in this macro invocation
4507
4508error[E0412]: cannot find type `c_char` in the crate root
4509 --> /home/kelvin/repos/libc/src/unix/mod.rs:693:55
4510 |
4511693 | pub fn gai_strerror(errcode: ::c_int) -> *const ::c_char;
4512 | ^^^^^^ did you mean `c_schar`?
4513 |
4514 ::: /home/kelvin/repos/libc/src/lib.rs
4515 |
4516266 | / cfg_if! {
4517267 | | if #[cfg(windows)] {
4518268 | | mod windows;
4519269 | | pub use windows::*;
4520... |
4521278 | | }
4522279 | | }
4523 | |_- in this macro invocation
4524 |
4525 = help: possible candidate is found in another module, you can import it into scope:
4526 `use core::os::raw::c_char;`
4527
4528error[E0412]: cannot find type `time_t` in this scope
4529 --> /home/kelvin/repos/libc/src/unix/mod.rs:696:36
4530 |
4531696 | pub fn gmtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm;
4532 | ^^^^^^ not found in this scope
4533 |
4534 ::: /home/kelvin/repos/libc/src/lib.rs
4535 |
4536266 | / cfg_if! {
4537267 | | if #[cfg(windows)] {
4538268 | | mod windows;
4539269 | | pub use windows::*;
4540... |
4541278 | | }
4542279 | | }
4543 | |_- in this macro invocation
4544 |
4545 = help: possible candidates are found in other modules, you can import them into scope:
4546 `use core::os::linux::raw::time_t;`
4547 `use core::os::unix::raw::time_t;`
4548
4549error[E0412]: cannot find type `tm` in this scope
4550 --> /home/kelvin/repos/libc/src/unix/mod.rs:696:57
4551 |
4552696 | pub fn gmtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm;
4553 | ^^ not found in this scope
4554 |
4555 ::: /home/kelvin/repos/libc/src/lib.rs
4556 |
4557266 | / cfg_if! {
4558267 | | if #[cfg(windows)] {
4559268 | | mod windows;
4560269 | | pub use windows::*;
4561... |
4562278 | | }
4563279 | | }
4564 | |_- in this macro invocation
4565
4566error[E0412]: cannot find type `tm` in this scope
4567 --> /home/kelvin/repos/libc/src/unix/mod.rs:696:69
4568 |
4569696 | pub fn gmtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm;
4570 | ^^ not found in this scope
4571 |
4572 ::: /home/kelvin/repos/libc/src/lib.rs
4573 |
4574266 | / cfg_if! {
4575267 | | if #[cfg(windows)] {
4576268 | | mod windows;
4577269 | | pub use windows::*;
4578... |
4579278 | | }
4580279 | | }
4581 | |_- in this macro invocation
4582
4583error[E0412]: cannot find type `time_t` in this scope
4584 --> /home/kelvin/repos/libc/src/unix/mod.rs:698:39
4585 |
4586698 | pub fn localtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm;
4587 | ^^^^^^ not found in this scope
4588 |
4589 ::: /home/kelvin/repos/libc/src/lib.rs
4590 |
4591266 | / cfg_if! {
4592267 | | if #[cfg(windows)] {
4593268 | | mod windows;
4594269 | | pub use windows::*;
4595... |
4596278 | | }
4597279 | | }
4598 | |_- in this macro invocation
4599 |
4600 = help: possible candidates are found in other modules, you can import them into scope:
4601 `use core::os::linux::raw::time_t;`
4602 `use core::os::unix::raw::time_t;`
4603
4604error[E0412]: cannot find type `tm` in this scope
4605 --> /home/kelvin/repos/libc/src/unix/mod.rs:698:60
4606 |
4607698 | pub fn localtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm;
4608 | ^^ not found in this scope
4609 |
4610 ::: /home/kelvin/repos/libc/src/lib.rs
4611 |
4612266 | / cfg_if! {
4613267 | | if #[cfg(windows)] {
4614268 | | mod windows;
4615269 | | pub use windows::*;
4616... |
4617278 | | }
4618279 | | }
4619 | |_- in this macro invocation
4620
4621error[E0412]: cannot find type `tm` in this scope
4622 --> /home/kelvin/repos/libc/src/unix/mod.rs:698:72
4623 |
4624698 | pub fn localtime_r(time_p: *const time_t, result: *mut tm) -> *mut tm;
4625 | ^^ not found in this scope
4626 |
4627 ::: /home/kelvin/repos/libc/src/lib.rs
4628 |
4629266 | / cfg_if! {
4630267 | | if #[cfg(windows)] {
4631268 | | mod windows;
4632269 | | pub use windows::*;
4633... |
4634278 | | }
4635279 | | }
4636 | |_- in this macro invocation
4637
4638error[E0412]: cannot find type `tm` in this scope
4639 --> /home/kelvin/repos/libc/src/unix/mod.rs:702:28
4640 |
4641702 | pub fn mktime(tm: *mut tm) -> time_t;
4642 | ^^ not found in this scope
4643 |
4644 ::: /home/kelvin/repos/libc/src/lib.rs
4645 |
4646266 | / cfg_if! {
4647267 | | if #[cfg(windows)] {
4648268 | | mod windows;
4649269 | | pub use windows::*;
4650... |
4651278 | | }
4652279 | | }
4653 | |_- in this macro invocation
4654
4655error[E0412]: cannot find type `time_t` in this scope
4656 --> /home/kelvin/repos/libc/src/unix/mod.rs:702:35
4657 |
4658702 | pub fn mktime(tm: *mut tm) -> time_t;
4659 | ^^^^^^ not found in this scope
4660 |
4661 ::: /home/kelvin/repos/libc/src/lib.rs
4662 |
4663266 | / cfg_if! {
4664267 | | if #[cfg(windows)] {
4665268 | | mod windows;
4666269 | | pub use windows::*;
4667... |
4668278 | | }
4669279 | | }
4670 | |_- in this macro invocation
4671 |
4672 = help: possible candidates are found in other modules, you can import them into scope:
4673 `use core::os::linux::raw::time_t;`
4674 `use core::os::unix::raw::time_t;`
4675
4676error[E0412]: cannot find type `time_t` in this scope
4677 --> /home/kelvin/repos/libc/src/unix/mod.rs:704:28
4678 |
4679704 | pub fn time(time: *mut time_t) -> time_t;
4680 | ^^^^^^ not found in this scope
4681 |
4682 ::: /home/kelvin/repos/libc/src/lib.rs
4683 |
4684266 | / cfg_if! {
4685267 | | if #[cfg(windows)] {
4686268 | | mod windows;
4687269 | | pub use windows::*;
4688... |
4689278 | | }
4690279 | | }
4691 | |_- in this macro invocation
4692 |
4693 = help: possible candidates are found in other modules, you can import them into scope:
4694 `use core::os::linux::raw::time_t;`
4695 `use core::os::unix::raw::time_t;`
4696
4697error[E0412]: cannot find type `time_t` in this scope
4698 --> /home/kelvin/repos/libc/src/unix/mod.rs:704:39
4699 |
4700704 | pub fn time(time: *mut time_t) -> time_t;
4701 | ^^^^^^ not found in this scope
4702 |
4703 ::: /home/kelvin/repos/libc/src/lib.rs
4704 |
4705266 | / cfg_if! {
4706267 | | if #[cfg(windows)] {
4707268 | | mod windows;
4708269 | | pub use windows::*;
4709... |
4710278 | | }
4711279 | | }
4712 | |_- in this macro invocation
4713 |
4714 = help: possible candidates are found in other modules, you can import them into scope:
4715 `use core::os::linux::raw::time_t;`
4716 `use core::os::unix::raw::time_t;`
4717
4718error[E0412]: cannot find type `time_t` in this scope
4719 --> /home/kelvin/repos/libc/src/unix/mod.rs:706:35
4720 |
4721706 | pub fn localtime(time: *const time_t) -> *mut tm;
4722 | ^^^^^^ not found in this scope
4723 |
4724 ::: /home/kelvin/repos/libc/src/lib.rs
4725 |
4726266 | / cfg_if! {
4727267 | | if #[cfg(windows)] {
4728268 | | mod windows;
4729269 | | pub use windows::*;
4730... |
4731278 | | }
4732279 | | }
4733 | |_- in this macro invocation
4734 |
4735 = help: possible candidates are found in other modules, you can import them into scope:
4736 `use core::os::linux::raw::time_t;`
4737 `use core::os::unix::raw::time_t;`
4738
4739error[E0412]: cannot find type `tm` in this scope
4740 --> /home/kelvin/repos/libc/src/unix/mod.rs:706:51
4741 |
4742706 | pub fn localtime(time: *const time_t) -> *mut tm;
4743 | ^^ not found in this scope
4744 |
4745 ::: /home/kelvin/repos/libc/src/lib.rs
4746 |
4747266 | / cfg_if! {
4748267 | | if #[cfg(windows)] {
4749268 | | mod windows;
4750269 | | pub use windows::*;
4751... |
4752278 | | }
4753279 | | }
4754 | |_- in this macro invocation
4755
4756error[E0412]: cannot find type `c_char` in the crate root
4757 --> /home/kelvin/repos/libc/src/unix/mod.rs:709:37
4758 |
4759709 | pub fn mknod(pathname: *const ::c_char, mode: ::mode_t,
4760 | ^^^^^^ did you mean `c_schar`?
4761 |
4762 ::: /home/kelvin/repos/libc/src/lib.rs
4763 |
4764266 | / cfg_if! {
4765267 | | if #[cfg(windows)] {
4766268 | | mod windows;
4767269 | | pub use windows::*;
4768... |
4769278 | | }
4770279 | | }
4771 | |_- in this macro invocation
4772 |
4773 = help: possible candidate is found in another module, you can import it into scope:
4774 `use core::os::raw::c_char;`
4775
4776error[E0412]: cannot find type `mode_t` in the crate root
4777 --> /home/kelvin/repos/libc/src/unix/mod.rs:709:53
4778 |
4779709 | pub fn mknod(pathname: *const ::c_char, mode: ::mode_t,
4780 | ^^^^^^ not found in the crate root
4781 |
4782 ::: /home/kelvin/repos/libc/src/lib.rs
4783 |
4784266 | / cfg_if! {
4785267 | | if #[cfg(windows)] {
4786268 | | mod windows;
4787269 | | pub use windows::*;
4788... |
4789278 | | }
4790279 | | }
4791 | |_- in this macro invocation
4792 |
4793 = help: possible candidates are found in other modules, you can import them into scope:
4794 `use core::os::linux::raw::mode_t;`
4795 `use core::os::unix::raw::mode_t;`
4796
4797error[E0412]: cannot find type `dev_t` in the crate root
4798 --> /home/kelvin/repos/libc/src/unix/mod.rs:710:25
4799 |
4800710 | dev: ::dev_t) -> ::c_int;
4801 | ^^^^^ not found in the crate root
4802 |
4803 ::: /home/kelvin/repos/libc/src/lib.rs
4804 |
4805266 | / cfg_if! {
4806267 | | if #[cfg(windows)] {
4807268 | | mod windows;
4808269 | | pub use windows::*;
4809... |
4810278 | | }
4811279 | | }
4812 | |_- in this macro invocation
4813 |
4814 = help: possible candidates are found in other modules, you can import them into scope:
4815 `use core::os::linux::raw::dev_t;`
4816 `use core::os::unix::raw::dev_t;`
4817
4818error[E0412]: cannot find type `utsname` in the crate root
4819 --> /home/kelvin/repos/libc/src/unix/mod.rs:711:30
4820 |
4821711 | pub fn uname(buf: *mut ::utsname) -> ::c_int;
4822 | ^^^^^^^ not found in the crate root
4823 |
4824 ::: /home/kelvin/repos/libc/src/lib.rs
4825 |
4826266 | / cfg_if! {
4827267 | | if #[cfg(windows)] {
4828268 | | mod windows;
4829269 | | pub use windows::*;
4830... |
4831278 | | }
4832279 | | }
4833 | |_- in this macro invocation
4834
4835error[E0412]: cannot find type `c_char` in the crate root
4836 --> /home/kelvin/repos/libc/src/unix/mod.rs:713:37
4837 |
4838713 | pub fn gethostname(name: *mut ::c_char, len: ::size_t) -> ::c_int;
4839 | ^^^^^^ did you mean `c_schar`?
4840 |
4841 ::: /home/kelvin/repos/libc/src/lib.rs
4842 |
4843266 | / cfg_if! {
4844267 | | if #[cfg(windows)] {
4845268 | | mod windows;
4846269 | | pub use windows::*;
4847... |
4848278 | | }
4849279 | | }
4850 | |_- in this macro invocation
4851 |
4852 = help: possible candidate is found in another module, you can import it into scope:
4853 `use core::os::raw::c_char;`
4854
4855error[E0412]: cannot find type `c_char` in the crate root
4856 --> /home/kelvin/repos/libc/src/unix/mod.rs:714:34
4857 |
4858714 | pub fn chroot(name: *const ::c_char) -> ::c_int;
4859 | ^^^^^^ did you mean `c_schar`?
4860 |
4861 ::: /home/kelvin/repos/libc/src/lib.rs
4862 |
4863266 | / cfg_if! {
4864267 | | if #[cfg(windows)] {
4865268 | | mod windows;
4866269 | | pub use windows::*;
4867... |
4868278 | | }
4869279 | | }
4870 | |_- in this macro invocation
4871 |
4872 = help: possible candidate is found in another module, you can import it into scope:
4873 `use core::os::raw::c_char;`
4874
4875error[E0412]: cannot find type `c_char` in this scope
4876 --> /home/kelvin/repos/libc/src/unix/mod.rs:729:32
4877 |
4878729 | pub fn putenv(string: *mut c_char) -> ::c_int;
4879 | ^^^^^^ did you mean `char`?
4880 |
4881 ::: /home/kelvin/repos/libc/src/lib.rs
4882 |
4883266 | / cfg_if! {
4884267 | | if #[cfg(windows)] {
4885268 | | mod windows;
4886269 | | pub use windows::*;
4887... |
4888278 | | }
4889279 | | }
4890 | |_- in this macro invocation
4891 |
4892 = help: possible candidate is found in another module, you can import it into scope:
4893 `use core::os::raw::c_char;`
4894
4895error[E0412]: cannot find type `nfds_t` in this scope
4896 --> /home/kelvin/repos/libc/src/unix/mod.rs:732:41
4897 |
4898732 | pub fn poll(fds: *mut pollfd, nfds: nfds_t, timeout: ::c_int) -> ::c_int;
4899 | ^^^^^^ not found in this scope
4900 |
4901 ::: /home/kelvin/repos/libc/src/lib.rs
4902 |
4903266 | / cfg_if! {
4904267 | | if #[cfg(windows)] {
4905268 | | mod windows;
4906269 | | pub use windows::*;
4907... |
4908278 | | }
4909279 | | }
4910 | |_- in this macro invocation
4911
4912error[E0412]: cannot find type `fd_set` in this scope
4913 --> /home/kelvin/repos/libc/src/unix/mod.rs:739:32
4914 |
4915739 | readfs: *mut fd_set,
4916 | ^^^^^^ not found in this scope
4917 |
4918 ::: /home/kelvin/repos/libc/src/lib.rs
4919 |
4920266 | / cfg_if! {
4921267 | | if #[cfg(windows)] {
4922268 | | mod windows;
4923269 | | pub use windows::*;
4924... |
4925278 | | }
4926279 | | }
4927 | |_- in this macro invocation
4928
4929error[E0412]: cannot find type `fd_set` in this scope
4930 --> /home/kelvin/repos/libc/src/unix/mod.rs:740:34
4931 |
4932740 | writefds: *mut fd_set,
4933 | ^^^^^^ not found in this scope
4934 |
4935 ::: /home/kelvin/repos/libc/src/lib.rs
4936 |
4937266 | / cfg_if! {
4938267 | | if #[cfg(windows)] {
4939268 | | mod windows;
4940269 | | pub use windows::*;
4941... |
4942278 | | }
4943279 | | }
4944 | |_- in this macro invocation
4945
4946error[E0412]: cannot find type `fd_set` in this scope
4947 --> /home/kelvin/repos/libc/src/unix/mod.rs:741:34
4948 |
4949741 | errorfds: *mut fd_set,
4950 | ^^^^^^ not found in this scope
4951 |
4952 ::: /home/kelvin/repos/libc/src/lib.rs
4953 |
4954266 | / cfg_if! {
4955267 | | if #[cfg(windows)] {
4956268 | | mod windows;
4957269 | | pub use windows::*;
4958... |
4959278 | | }
4960279 | | }
4961 | |_- in this macro invocation
4962
4963error[E0412]: cannot find type `c_char` in the crate root
4964 --> /home/kelvin/repos/libc/src/unix/mod.rs:745:39
4965 |
4966745 | locale: *const ::c_char) -> *mut ::c_char;
4967 | ^^^^^^ did you mean `c_schar`?
4968 |
4969 ::: /home/kelvin/repos/libc/src/lib.rs
4970 |
4971266 | / cfg_if! {
4972267 | | if #[cfg(windows)] {
4973268 | | mod windows;
4974269 | | pub use windows::*;
4975... |
4976278 | | }
4977279 | | }
4978 | |_- in this macro invocation
4979 |
4980 = help: possible candidate is found in another module, you can import it into scope:
4981 `use core::os::raw::c_char;`
4982
4983error[E0412]: cannot find type `c_char` in the crate root
4984 --> /home/kelvin/repos/libc/src/unix/mod.rs:745:57
4985 |
4986745 | locale: *const ::c_char) -> *mut ::c_char;
4987 | ^^^^^^ did you mean `c_schar`?
4988 |
4989 ::: /home/kelvin/repos/libc/src/lib.rs
4990 |
4991266 | / cfg_if! {
4992267 | | if #[cfg(windows)] {
4993268 | | mod windows;
4994269 | | pub use windows::*;
4995... |
4996278 | | }
4997279 | | }
4998 | |_- in this macro invocation
4999 |
5000 = help: possible candidate is found in another module, you can import it into scope:
5001 `use core::os::raw::c_char;`
5002
5003error[E0412]: cannot find type `lconv` in this scope
5004 --> /home/kelvin/repos/libc/src/unix/mod.rs:746:33
5005 |
5006746 | pub fn localeconv() -> *mut lconv;
5007 | ^^^^^ not found in this scope
5008 |
5009 ::: /home/kelvin/repos/libc/src/lib.rs
5010 |
5011266 | / cfg_if! {
5012267 | | if #[cfg(windows)] {
5013268 | | mod windows;
5014269 | | pub use windows::*;
5015... |
5016278 | | }
5017279 | | }
5018 | |_- in this macro invocation
5019
5020error[E0412]: cannot find type `sem_t` in this scope
5021 --> /home/kelvin/repos/libc/src/unix/mod.rs:748:34
5022 |
5023748 | pub fn sem_destroy(sem: *mut sem_t) -> ::c_int;
5024 | ^^^^^ not found in this scope
5025 |
5026 ::: /home/kelvin/repos/libc/src/lib.rs
5027 |
5028266 | / cfg_if! {
5029267 | | if #[cfg(windows)] {
5030268 | | mod windows;
5031269 | | pub use windows::*;
5032... |
5033278 | | }
5034279 | | }
5035 | |_- in this macro invocation
5036
5037error[E0412]: cannot find type `c_char` in the crate root
5038 --> /home/kelvin/repos/libc/src/unix/mod.rs:749:36
5039 |
5040749 | pub fn sem_open(name: *const ::c_char, oflag: ::c_int, ...) -> *mut sem_t;
5041 | ^^^^^^ did you mean `c_schar`?
5042 |
5043 ::: /home/kelvin/repos/libc/src/lib.rs
5044 |
5045266 | / cfg_if! {
5046267 | | if #[cfg(windows)] {
5047268 | | mod windows;
5048269 | | pub use windows::*;
5049... |
5050278 | | }
5051279 | | }
5052 | |_- in this macro invocation
5053 |
5054 = help: possible candidate is found in another module, you can import it into scope:
5055 `use core::os::raw::c_char;`
5056
5057error[E0412]: cannot find type `sem_t` in this scope
5058 --> /home/kelvin/repos/libc/src/unix/mod.rs:749:73
5059 |
5060749 | pub fn sem_open(name: *const ::c_char, oflag: ::c_int, ...) -> *mut sem_t;
5061 | ^^^^^ not found in this scope
5062 |
5063 ::: /home/kelvin/repos/libc/src/lib.rs
5064 |
5065266 | / cfg_if! {
5066267 | | if #[cfg(windows)] {
5067268 | | mod windows;
5068269 | | pub use windows::*;
5069... |
5070278 | | }
5071279 | | }
5072 | |_- in this macro invocation
5073
5074error[E0412]: cannot find type `sem_t` in this scope
5075 --> /home/kelvin/repos/libc/src/unix/mod.rs:750:32
5076 |
5077750 | pub fn sem_close(sem: *mut sem_t) -> ::c_int;
5078 | ^^^^^ not found in this scope
5079 |
5080 ::: /home/kelvin/repos/libc/src/lib.rs
5081 |
5082266 | / cfg_if! {
5083267 | | if #[cfg(windows)] {
5084268 | | mod windows;
5085269 | | pub use windows::*;
5086... |
5087278 | | }
5088279 | | }
5089 | |_- in this macro invocation
5090
5091error[E0412]: cannot find type `c_char` in the crate root
5092 --> /home/kelvin/repos/libc/src/unix/mod.rs:751:38
5093 |
5094751 | pub fn sem_unlink(name: *const ::c_char) -> ::c_int;
5095 | ^^^^^^ did you mean `c_schar`?
5096 |
5097 ::: /home/kelvin/repos/libc/src/lib.rs
5098 |
5099266 | / cfg_if! {
5100267 | | if #[cfg(windows)] {
5101268 | | mod windows;
5102269 | | pub use windows::*;
5103... |
5104278 | | }
5105279 | | }
5106 | |_- in this macro invocation
5107 |
5108 = help: possible candidate is found in another module, you can import it into scope:
5109 `use core::os::raw::c_char;`
5110
5111error[E0412]: cannot find type `sem_t` in this scope
5112 --> /home/kelvin/repos/libc/src/unix/mod.rs:754:31
5113 |
5114754 | pub fn sem_wait(sem: *mut sem_t) -> ::c_int;
5115 | ^^^^^ not found in this scope
5116 |
5117 ::: /home/kelvin/repos/libc/src/lib.rs
5118 |
5119266 | / cfg_if! {
5120267 | | if #[cfg(windows)] {
5121268 | | mod windows;
5122269 | | pub use windows::*;
5123... |
5124278 | | }
5125279 | | }
5126 | |_- in this macro invocation
5127
5128error[E0412]: cannot find type `sem_t` in this scope
5129 --> /home/kelvin/repos/libc/src/unix/mod.rs:755:34
5130 |
5131755 | pub fn sem_trywait(sem: *mut sem_t) -> ::c_int;
5132 | ^^^^^ not found in this scope
5133 |
5134 ::: /home/kelvin/repos/libc/src/lib.rs
5135 |
5136266 | / cfg_if! {
5137267 | | if #[cfg(windows)] {
5138268 | | mod windows;
5139269 | | pub use windows::*;
5140... |
5141278 | | }
5142279 | | }
5143 | |_- in this macro invocation
5144
5145error[E0412]: cannot find type `sem_t` in this scope
5146 --> /home/kelvin/repos/libc/src/unix/mod.rs:756:31
5147 |
5148756 | pub fn sem_post(sem: *mut sem_t) -> ::c_int;
5149 | ^^^^^ not found in this scope
5150 |
5151 ::: /home/kelvin/repos/libc/src/lib.rs
5152 |
5153266 | / cfg_if! {
5154267 | | if #[cfg(windows)] {
5155268 | | mod windows;
5156269 | | pub use windows::*;
5157... |
5158278 | | }
5159279 | | }
5160 | |_- in this macro invocation
5161
5162error[E0412]: cannot find type `sem_t` in this scope
5163 --> /home/kelvin/repos/libc/src/unix/mod.rs:757:31
5164 |
5165757 | pub fn sem_init(sem: *mut sem_t,
5166 | ^^^^^ not found in this scope
5167 |
5168 ::: /home/kelvin/repos/libc/src/lib.rs
5169 |
5170266 | / cfg_if! {
5171267 | | if #[cfg(windows)] {
5172268 | | mod windows;
5173269 | | pub use windows::*;
5174... |
5175278 | | }
5176279 | | }
5177 | |_- in this macro invocation
5178
5179error[E0412]: cannot find type `c_char` in this scope
5180 --> /home/kelvin/repos/libc/src/unix/mod.rs:761:33
5181 |
5182761 | pub fn statvfs(path: *const c_char, buf: *mut statvfs) -> ::c_int;
5183 | ^^^^^^ did you mean `char`?
5184 |
5185 ::: /home/kelvin/repos/libc/src/lib.rs
5186 |
5187266 | / cfg_if! {
5188267 | | if #[cfg(windows)] {
5189268 | | mod windows;
5190269 | | pub use windows::*;
5191... |
5192278 | | }
5193279 | | }
5194 | |_- in this macro invocation
5195 |
5196 = help: possible candidate is found in another module, you can import it into scope:
5197 `use core::os::raw::c_char;`
5198
5199error[E0573]: expected type, found function `statvfs`
5200 --> /home/kelvin/repos/libc/src/unix/mod.rs:761:51
5201 |
5202761 | pub fn statvfs(path: *const c_char, buf: *mut statvfs) -> ::c_int;
5203 | ^^^^^^^ not a type
5204 |
5205 ::: /home/kelvin/repos/libc/src/lib.rs
5206 |
5207266 | / cfg_if! {
5208267 | | if #[cfg(windows)] {
5209268 | | mod windows;
5210269 | | pub use windows::*;
5211... |
5212278 | | }
5213279 | | }
5214 | |_- in this macro invocation
5215
5216error[E0573]: expected type, found function `statvfs`
5217 --> /home/kelvin/repos/libc/src/unix/mod.rs:762:44
5218 |
5219762 | pub fn fstatvfs(fd: ::c_int, buf: *mut statvfs) -> ::c_int;
5220 | ^^^^^^^ not a type
5221 |
5222 ::: /home/kelvin/repos/libc/src/lib.rs
5223 |
5224266 | / cfg_if! {
5225267 | | if #[cfg(windows)] {
5226268 | | mod windows;
5227269 | | pub use windows::*;
5228... |
5229278 | | }
5230279 | | }
5231 | |_- in this macro invocation
5232
5233error[E0412]: cannot find type `c_char` in this scope
5234 --> /home/kelvin/repos/libc/src/unix/mod.rs:764:34
5235 |
5236764 | pub fn readlink(path: *const c_char,
5237 | ^^^^^^ did you mean `char`?
5238 |
5239 ::: /home/kelvin/repos/libc/src/lib.rs
5240 |
5241266 | / cfg_if! {
5242267 | | if #[cfg(windows)] {
5243268 | | mod windows;
5244269 | | pub use windows::*;
5245... |
5246278 | | }
5247279 | | }
5248 | |_- in this macro invocation
5249 |
5250 = help: possible candidate is found in another module, you can import it into scope:
5251 `use core::os::raw::c_char;`
5252
5253error[E0412]: cannot find type `c_char` in this scope
5254 --> /home/kelvin/repos/libc/src/unix/mod.rs:765:31
5255 |
5256765 | buf: *mut c_char,
5257 | ^^^^^^ did you mean `char`?
5258 |
5259 ::: /home/kelvin/repos/libc/src/lib.rs
5260 |
5261266 | / cfg_if! {
5262267 | | if #[cfg(windows)] {
5263268 | | mod windows;
5264269 | | pub use windows::*;
5265... |
5266278 | | }
5267279 | | }
5268 | |_- in this macro invocation
5269 |
5270 = help: possible candidate is found in another module, you can import it into scope:
5271 `use core::os::raw::c_char;`
5272
5273error[E0412]: cannot find type `sigset_t` in this scope
5274 --> /home/kelvin/repos/libc/src/unix/mod.rs:770:34
5275 |
5276770 | pub fn sigemptyset(set: *mut sigset_t) -> ::c_int;
5277 | ^^^^^^^^ not found in this scope
5278 |
5279 ::: /home/kelvin/repos/libc/src/lib.rs
5280 |
5281266 | / cfg_if! {
5282267 | | if #[cfg(windows)] {
5283268 | | mod windows;
5284269 | | pub use windows::*;
5285... |
5286278 | | }
5287279 | | }
5288 | |_- in this macro invocation
5289
5290error[E0412]: cannot find type `sigset_t` in this scope
5291 --> /home/kelvin/repos/libc/src/unix/mod.rs:772:32
5292 |
5293772 | pub fn sigaddset(set: *mut sigset_t, signum: ::c_int) -> ::c_int;
5294 | ^^^^^^^^ not found in this scope
5295 |
5296 ::: /home/kelvin/repos/libc/src/lib.rs
5297 |
5298266 | / cfg_if! {
5299267 | | if #[cfg(windows)] {
5300268 | | mod windows;
5301269 | | pub use windows::*;
5302... |
5303278 | | }
5304279 | | }
5305 | |_- in this macro invocation
5306
5307error[E0412]: cannot find type `sigset_t` in this scope
5308 --> /home/kelvin/repos/libc/src/unix/mod.rs:774:33
5309 |
5310774 | pub fn sigfillset(set: *mut sigset_t) -> ::c_int;
5311 | ^^^^^^^^ not found in this scope
5312 |
5313 ::: /home/kelvin/repos/libc/src/lib.rs
5314 |
5315266 | / cfg_if! {
5316267 | | if #[cfg(windows)] {
5317268 | | mod windows;
5318269 | | pub use windows::*;
5319... |
5320278 | | }
5321279 | | }
5322 | |_- in this macro invocation
5323
5324error[E0412]: cannot find type `sigset_t` in this scope
5325 --> /home/kelvin/repos/libc/src/unix/mod.rs:776:32
5326 |
5327776 | pub fn sigdelset(set: *mut sigset_t, signum: ::c_int) -> ::c_int;
5328 | ^^^^^^^^ not found in this scope
5329 |
5330 ::: /home/kelvin/repos/libc/src/lib.rs
5331 |
5332266 | / cfg_if! {
5333267 | | if #[cfg(windows)] {
5334268 | | mod windows;
5335269 | | pub use windows::*;
5336... |
5337278 | | }
5338279 | | }
5339 | |_- in this macro invocation
5340
5341error[E0412]: cannot find type `sigset_t` in this scope
5342 --> /home/kelvin/repos/libc/src/unix/mod.rs:778:36
5343 |
5344778 | pub fn sigismember(set: *const sigset_t, signum: ::c_int) -> ::c_int;
5345 | ^^^^^^^^ not found in this scope
5346 |
5347 ::: /home/kelvin/repos/libc/src/lib.rs
5348 |
5349266 | / cfg_if! {
5350267 | | if #[cfg(windows)] {
5351268 | | mod windows;
5352269 | | pub use windows::*;
5353... |
5354278 | | }
5355279 | | }
5356 | |_- in this macro invocation
5357
5358error[E0412]: cannot find type `tm` in the crate root
5359 --> /home/kelvin/repos/libc/src/unix/mod.rs:781:30
5360 |
5361781 | pub fn timegm(tm: *mut ::tm) -> time_t;
5362 | ^^ not found in the crate root
5363 |
5364 ::: /home/kelvin/repos/libc/src/lib.rs
5365 |
5366266 | / cfg_if! {
5367267 | | if #[cfg(windows)] {
5368268 | | mod windows;
5369269 | | pub use windows::*;
5370... |
5371278 | | }
5372279 | | }
5373 | |_- in this macro invocation
5374
5375error[E0412]: cannot find type `time_t` in this scope
5376 --> /home/kelvin/repos/libc/src/unix/mod.rs:781:37
5377 |
5378781 | pub fn timegm(tm: *mut ::tm) -> time_t;
5379 | ^^^^^^ not found in this scope
5380 |
5381 ::: /home/kelvin/repos/libc/src/lib.rs
5382 |
5383266 | / cfg_if! {
5384267 | | if #[cfg(windows)] {
5385268 | | mod windows;
5386269 | | pub use windows::*;
5387... |
5388278 | | }
5389279 | | }
5390 | |_- in this macro invocation
5391 |
5392 = help: possible candidates are found in other modules, you can import them into scope:
5393 `use core::os::linux::raw::time_t;`
5394 `use core::os::unix::raw::time_t;`
5395
5396error[E0412]: cannot find type `c_long` in the crate root
5397 --> /home/kelvin/repos/libc/src/unix/mod.rs:785:40
5398 |
5399785 | pub fn sysconf(name: ::c_int) -> ::c_long;
5400 | ^^^^^^ not found in the crate root
5401 |
5402 ::: /home/kelvin/repos/libc/src/lib.rs
5403 |
5404266 | / cfg_if! {
5405267 | | if #[cfg(windows)] {
5406268 | | mod windows;
5407269 | | pub use windows::*;
5408... |
5409278 | | }
5410279 | | }
5411 | |_- in this macro invocation
5412 |
5413 = help: possible candidate is found in another module, you can import it into scope:
5414 `use core::os::raw::c_long;`
5415
5416error[E0412]: cannot find type `c_char` in this scope
5417 --> /home/kelvin/repos/libc/src/unix/mod.rs:787:32
5418 |
5419787 | pub fn mkfifo(path: *const c_char, mode: mode_t) -> ::c_int;
5420 | ^^^^^^ did you mean `char`?
5421 |
5422 ::: /home/kelvin/repos/libc/src/lib.rs
5423 |
5424266 | / cfg_if! {
5425267 | | if #[cfg(windows)] {
5426268 | | mod windows;
5427269 | | pub use windows::*;
5428... |
5429278 | | }
5430279 | | }
5431 | |_- in this macro invocation
5432 |
5433 = help: possible candidate is found in another module, you can import it into scope:
5434 `use core::os::raw::c_char;`
5435
5436error[E0412]: cannot find type `mode_t` in this scope
5437 --> /home/kelvin/repos/libc/src/unix/mod.rs:787:46
5438 |
5439787 | pub fn mkfifo(path: *const c_char, mode: mode_t) -> ::c_int;
5440 | ^^^^^^ not found in this scope
5441 |
5442 ::: /home/kelvin/repos/libc/src/lib.rs
5443 |
5444266 | / cfg_if! {
5445267 | | if #[cfg(windows)] {
5446268 | | mod windows;
5447269 | | pub use windows::*;
5448... |
5449278 | | }
5450279 | | }
5451 | |_- in this macro invocation
5452 |
5453 = help: possible candidates are found in other modules, you can import them into scope:
5454 `use core::os::linux::raw::mode_t;`
5455 `use core::os::unix::raw::mode_t;`
5456
5457error[E0412]: cannot find type `fd_set` in this scope
5458 --> /home/kelvin/repos/libc/src/unix/mod.rs:795:33
5459 |
5460795 | readfs: *mut fd_set,
5461 | ^^^^^^ not found in this scope
5462 |
5463 ::: /home/kelvin/repos/libc/src/lib.rs
5464 |
5465266 | / cfg_if! {
5466267 | | if #[cfg(windows)] {
5467268 | | mod windows;
5468269 | | pub use windows::*;
5469... |
5470278 | | }
5471279 | | }
5472 | |_- in this macro invocation
5473
5474error[E0412]: cannot find type `fd_set` in this scope
5475 --> /home/kelvin/repos/libc/src/unix/mod.rs:796:35
5476 |
5477796 | writefds: *mut fd_set,
5478 | ^^^^^^ not found in this scope
5479 |
5480 ::: /home/kelvin/repos/libc/src/lib.rs
5481 |
5482266 | / cfg_if! {
5483267 | | if #[cfg(windows)] {
5484268 | | mod windows;
5485269 | | pub use windows::*;
5486... |
5487278 | | }
5488279 | | }
5489 | |_- in this macro invocation
5490
5491error[E0412]: cannot find type `fd_set` in this scope
5492 --> /home/kelvin/repos/libc/src/unix/mod.rs:797:35
5493 |
5494797 | errorfds: *mut fd_set,
5495 | ^^^^^^ not found in this scope
5496 |
5497 ::: /home/kelvin/repos/libc/src/lib.rs
5498 |
5499266 | / cfg_if! {
5500267 | | if #[cfg(windows)] {
5501268 | | mod windows;
5502269 | | pub use windows::*;
5503... |
5504278 | | }
5505279 | | }
5506 | |_- in this macro invocation
5507
5508error[E0412]: cannot find type `sigset_t` in this scope
5509 --> /home/kelvin/repos/libc/src/unix/mod.rs:799:36
5510 |
5511799 | sigmask: *const sigset_t) -> ::c_int;
5512 | ^^^^^^^^ not found in this scope
5513 |
5514 ::: /home/kelvin/repos/libc/src/lib.rs
5515 |
5516266 | / cfg_if! {
5517267 | | if #[cfg(windows)] {
5518268 | | mod windows;
5519269 | | pub use windows::*;
5520... |
5521278 | | }
5522279 | | }
5523 | |_- in this macro invocation
5524
5525error[E0412]: cannot find type `off_t` in the crate root
5526 --> /home/kelvin/repos/libc/src/unix/mod.rs:801:29
5527 |
5528801 | offset: ::off_t,
5529 | ^^^^^ not found in the crate root
5530 |
5531 ::: /home/kelvin/repos/libc/src/lib.rs
5532 |
5533266 | / cfg_if! {
5534267 | | if #[cfg(windows)] {
5535268 | | mod windows;
5536269 | | pub use windows::*;
5537... |
5538278 | | }
5539279 | | }
5540 | |_- in this macro invocation
5541 |
5542 = help: possible candidates are found in other modules, you can import them into scope:
5543 `use core::os::linux::raw::off_t;`
5544 `use core::os::unix::raw::off_t;`
5545
5546error[E0412]: cannot find type `off_t` in the crate root
5547 --> /home/kelvin/repos/libc/src/unix/mod.rs:803:45
5548 |
5549803 | pub fn ftello(stream: *mut ::FILE) -> ::off_t;
5550 | ^^^^^ not found in the crate root
5551 |
5552 ::: /home/kelvin/repos/libc/src/lib.rs
5553 |
5554266 | / cfg_if! {
5555267 | | if #[cfg(windows)] {
5556268 | | mod windows;
5557269 | | pub use windows::*;
5558... |
5559278 | | }
5560279 | | }
5561 | |_- in this macro invocation
5562 |
5563 = help: possible candidates are found in other modules, you can import them into scope:
5564 `use core::os::linux::raw::off_t;`
5565 `use core::os::unix::raw::off_t;`
5566
5567error[E0412]: cannot find type `termios` in the crate root
5568 --> /home/kelvin/repos/libc/src/unix/mod.rs:807:42
5569 |
5570807 | pub fn cfgetispeed(termios: *const ::termios) -> ::speed_t;
5571 | ^^^^^^^ not found in the crate root
5572 |
5573 ::: /home/kelvin/repos/libc/src/lib.rs
5574 |
5575266 | / cfg_if! {
5576267 | | if #[cfg(windows)] {
5577268 | | mod windows;
5578269 | | pub use windows::*;
5579... |
5580278 | | }
5581279 | | }
5582 | |_- in this macro invocation
5583
5584error[E0412]: cannot find type `speed_t` in the crate root
5585 --> /home/kelvin/repos/libc/src/unix/mod.rs:807:56
5586 |
5587807 | pub fn cfgetispeed(termios: *const ::termios) -> ::speed_t;
5588 | ^^^^^^^ not found in the crate root
5589 |
5590 ::: /home/kelvin/repos/libc/src/lib.rs
5591 |
5592266 | / cfg_if! {
5593267 | | if #[cfg(windows)] {
5594268 | | mod windows;
5595269 | | pub use windows::*;
5596... |
5597278 | | }
5598279 | | }
5599 | |_- in this macro invocation
5600
5601error[E0412]: cannot find type `termios` in the crate root
5602 --> /home/kelvin/repos/libc/src/unix/mod.rs:808:42
5603 |
5604808 | pub fn cfgetospeed(termios: *const ::termios) -> ::speed_t;
5605 | ^^^^^^^ not found in the crate root
5606 |
5607 ::: /home/kelvin/repos/libc/src/lib.rs
5608 |
5609266 | / cfg_if! {
5610267 | | if #[cfg(windows)] {
5611268 | | mod windows;
5612269 | | pub use windows::*;
5613... |
5614278 | | }
5615279 | | }
5616 | |_- in this macro invocation
5617
5618error[E0412]: cannot find type `speed_t` in the crate root
5619 --> /home/kelvin/repos/libc/src/unix/mod.rs:808:56
5620 |
5621808 | pub fn cfgetospeed(termios: *const ::termios) -> ::speed_t;
5622 | ^^^^^^^ not found in the crate root
5623 |
5624 ::: /home/kelvin/repos/libc/src/lib.rs
5625 |
5626266 | / cfg_if! {
5627267 | | if #[cfg(windows)] {
5628268 | | mod windows;
5629269 | | pub use windows::*;
5630... |
5631278 | | }
5632279 | | }
5633 | |_- in this macro invocation
5634
5635error[E0412]: cannot find type `termios` in the crate root
5636 --> /home/kelvin/repos/libc/src/unix/mod.rs:809:38
5637 |
5638809 | pub fn cfmakeraw(termios: *mut ::termios);
5639 | ^^^^^^^ not found in the crate root
5640 |
5641 ::: /home/kelvin/repos/libc/src/lib.rs
5642 |
5643266 | / cfg_if! {
5644267 | | if #[cfg(windows)] {
5645268 | | mod windows;
5646269 | | pub use windows::*;
5647... |
5648278 | | }
5649279 | | }
5650 | |_- in this macro invocation
5651
5652error[E0412]: cannot find type `termios` in the crate root
5653 --> /home/kelvin/repos/libc/src/unix/mod.rs:810:40
5654 |
5655810 | pub fn cfsetispeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int;
5656 | ^^^^^^^ not found in the crate root
5657 |
5658 ::: /home/kelvin/repos/libc/src/lib.rs
5659 |
5660266 | / cfg_if! {
5661267 | | if #[cfg(windows)] {
5662268 | | mod windows;
5663269 | | pub use windows::*;
5664... |
5665278 | | }
5666279 | | }
5667 | |_- in this macro invocation
5668
5669error[E0412]: cannot find type `speed_t` in the crate root
5670 --> /home/kelvin/repos/libc/src/unix/mod.rs:810:58
5671 |
5672810 | pub fn cfsetispeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int;
5673 | ^^^^^^^ not found in the crate root
5674 |
5675 ::: /home/kelvin/repos/libc/src/lib.rs
5676 |
5677266 | / cfg_if! {
5678267 | | if #[cfg(windows)] {
5679268 | | mod windows;
5680269 | | pub use windows::*;
5681... |
5682278 | | }
5683279 | | }
5684 | |_- in this macro invocation
5685
5686error[E0412]: cannot find type `termios` in the crate root
5687 --> /home/kelvin/repos/libc/src/unix/mod.rs:811:40
5688 |
5689811 | pub fn cfsetospeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int;
5690 | ^^^^^^^ not found in the crate root
5691 |
5692 ::: /home/kelvin/repos/libc/src/lib.rs
5693 |
5694266 | / cfg_if! {
5695267 | | if #[cfg(windows)] {
5696268 | | mod windows;
5697269 | | pub use windows::*;
5698... |
5699278 | | }
5700279 | | }
5701 | |_- in this macro invocation
5702
5703error[E0412]: cannot find type `speed_t` in the crate root
5704 --> /home/kelvin/repos/libc/src/unix/mod.rs:811:58
5705 |
5706811 | pub fn cfsetospeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int;
5707 | ^^^^^^^ not found in the crate root
5708 |
5709 ::: /home/kelvin/repos/libc/src/lib.rs
5710 |
5711266 | / cfg_if! {
5712267 | | if #[cfg(windows)] {
5713268 | | mod windows;
5714269 | | pub use windows::*;
5715... |
5716278 | | }
5717279 | | }
5718 | |_- in this macro invocation
5719
5720error[E0412]: cannot find type `termios` in the crate root
5721 --> /home/kelvin/repos/libc/src/unix/mod.rs:812:39
5722 |
5723812 | pub fn cfsetspeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int;
5724 | ^^^^^^^ not found in the crate root
5725 |
5726 ::: /home/kelvin/repos/libc/src/lib.rs
5727 |
5728266 | / cfg_if! {
5729267 | | if #[cfg(windows)] {
5730268 | | mod windows;
5731269 | | pub use windows::*;
5732... |
5733278 | | }
5734279 | | }
5735 | |_- in this macro invocation
5736
5737error[E0412]: cannot find type `speed_t` in the crate root
5738 --> /home/kelvin/repos/libc/src/unix/mod.rs:812:57
5739 |
5740812 | pub fn cfsetspeed(termios: *mut ::termios, speed: ::speed_t) -> ::c_int;
5741 | ^^^^^^^ not found in the crate root
5742 |
5743 ::: /home/kelvin/repos/libc/src/lib.rs
5744 |
5745266 | / cfg_if! {
5746267 | | if #[cfg(windows)] {
5747268 | | mod windows;
5748269 | | pub use windows::*;
5749... |
5750278 | | }
5751279 | | }
5752 | |_- in this macro invocation
5753
5754error[E0412]: cannot find type `termios` in the crate root
5755 --> /home/kelvin/repos/libc/src/unix/mod.rs:813:51
5756 |
5757813 | pub fn tcgetattr(fd: ::c_int, termios: *mut ::termios) -> ::c_int;
5758 | ^^^^^^^ not found in the crate root
5759 |
5760 ::: /home/kelvin/repos/libc/src/lib.rs
5761 |
5762266 | / cfg_if! {
5763267 | | if #[cfg(windows)] {
5764268 | | mod windows;
5765269 | | pub use windows::*;
5766... |
5767278 | | }
5768279 | | }
5769 | |_- in this macro invocation
5770
5771error[E0412]: cannot find type `termios` in the crate root
5772 --> /home/kelvin/repos/libc/src/unix/mod.rs:816:40
5773 |
5774816 | termios: *const ::termios) -> ::c_int;
5775 | ^^^^^^^ not found in the crate root
5776 |
5777 ::: /home/kelvin/repos/libc/src/lib.rs
5778 |
5779266 | / cfg_if! {
5780267 | | if #[cfg(windows)] {
5781268 | | mod windows;
5782269 | | pub use windows::*;
5783... |
5784278 | | }
5785279 | | }
5786 | |_- in this macro invocation
5787
5788error[E0412]: cannot find type `c_char` in the crate root
5789 --> /home/kelvin/repos/libc/src/unix/mod.rs:820:37
5790 |
5791820 | pub fn mkstemp(template: *mut ::c_char) -> ::c_int;
5792 | ^^^^^^ did you mean `c_schar`?
5793 |
5794 ::: /home/kelvin/repos/libc/src/lib.rs
5795 |
5796266 | / cfg_if! {
5797267 | | if #[cfg(windows)] {
5798268 | | mod windows;
5799269 | | pub use windows::*;
5800... |
5801278 | | }
5802279 | | }
5803 | |_- in this macro invocation
5804 |
5805 = help: possible candidate is found in another module, you can import it into scope:
5806 `use core::os::raw::c_char;`
5807
5808error[E0412]: cannot find type `c_char` in the crate root
5809 --> /home/kelvin/repos/libc/src/unix/mod.rs:821:37
5810 |
5811821 | pub fn mkdtemp(template: *mut ::c_char) -> *mut ::c_char;
5812 | ^^^^^^ did you mean `c_schar`?
5813 |
5814 ::: /home/kelvin/repos/libc/src/lib.rs
5815 |
5816266 | / cfg_if! {
5817267 | | if #[cfg(windows)] {
5818268 | | mod windows;
5819269 | | pub use windows::*;
5820... |
5821278 | | }
5822279 | | }
5823 | |_- in this macro invocation
5824 |
5825 = help: possible candidate is found in another module, you can import it into scope:
5826 `use core::os::raw::c_char;`
5827
5828error[E0412]: cannot find type `c_char` in the crate root
5829 --> /home/kelvin/repos/libc/src/unix/mod.rs:821:55
5830 |
5831821 | pub fn mkdtemp(template: *mut ::c_char) -> *mut ::c_char;
5832 | ^^^^^^ did you mean `c_schar`?
5833 |
5834 ::: /home/kelvin/repos/libc/src/lib.rs
5835 |
5836266 | / cfg_if! {
5837267 | | if #[cfg(windows)] {
5838268 | | mod windows;
5839269 | | pub use windows::*;
5840... |
5841278 | | }
5842279 | | }
5843 | |_- in this macro invocation
5844 |
5845 = help: possible candidate is found in another module, you can import it into scope:
5846 `use core::os::raw::c_char;`
5847
5848error[E0412]: cannot find type `c_char` in the crate root
5849 --> /home/kelvin/repos/libc/src/unix/mod.rs:823:31
5850 |
5851823 | pub fn tmpnam(ptr: *mut ::c_char) -> *mut ::c_char;
5852 | ^^^^^^ did you mean `c_schar`?
5853 |
5854 ::: /home/kelvin/repos/libc/src/lib.rs
5855 |
5856266 | / cfg_if! {
5857267 | | if #[cfg(windows)] {
5858268 | | mod windows;
5859269 | | pub use windows::*;
5860... |
5861278 | | }
5862279 | | }
5863 | |_- in this macro invocation
5864 |
5865 = help: possible candidate is found in another module, you can import it into scope:
5866 `use core::os::raw::c_char;`
5867
5868error[E0412]: cannot find type `c_char` in the crate root
5869 --> /home/kelvin/repos/libc/src/unix/mod.rs:823:49
5870 |
5871823 | pub fn tmpnam(ptr: *mut ::c_char) -> *mut ::c_char;
5872 | ^^^^^^ did you mean `c_schar`?
5873 |
5874 ::: /home/kelvin/repos/libc/src/lib.rs
5875 |
5876266 | / cfg_if! {
5877267 | | if #[cfg(windows)] {
5878268 | | mod windows;
5879269 | | pub use windows::*;
5880... |
5881278 | | }
5882279 | | }
5883 | |_- in this macro invocation
5884 |
5885 = help: possible candidate is found in another module, you can import it into scope:
5886 `use core::os::raw::c_char;`
5887
5888error[E0412]: cannot find type `c_char` in the crate root
5889 --> /home/kelvin/repos/libc/src/unix/mod.rs:825:36
5890 |
5891825 | pub fn openlog(ident: *const ::c_char, logopt: ::c_int, facility: ::c_int);
5892 | ^^^^^^ did you mean `c_schar`?
5893 |
5894 ::: /home/kelvin/repos/libc/src/lib.rs
5895 |
5896266 | / cfg_if! {
5897267 | | if #[cfg(windows)] {
5898268 | | mod windows;
5899269 | | pub use windows::*;
5900... |
5901278 | | }
5902279 | | }
5903 | |_- in this macro invocation
5904 |
5905 = help: possible candidate is found in another module, you can import it into scope:
5906 `use core::os::raw::c_char;`
5907
5908error[E0412]: cannot find type `c_char` in the crate root
5909 --> /home/kelvin/repos/libc/src/unix/mod.rs:828:56
5910 |
5911828 | pub fn syslog(priority: ::c_int, message: *const ::c_char, ...);
5912 | ^^^^^^ did you mean `c_schar`?
5913 |
5914 ::: /home/kelvin/repos/libc/src/lib.rs
5915 |
5916266 | / cfg_if! {
5917267 | | if #[cfg(windows)] {
5918268 | | mod windows;
5919269 | | pub use windows::*;
5920... |
5921278 | | }
5922279 | | }
5923 | |_- in this macro invocation
5924 |
5925 = help: possible candidate is found in another module, you can import it into scope:
5926 `use core::os::raw::c_char;`
5927
5928error[E0412]: cannot find type `c_char` in the crate root
5929 --> /home/kelvin/repos/libc/src/unix/mod.rs:835:43
5930 |
5931835 | pub fn ptsname(fd: ::c_int) -> *mut ::c_char;
5932 | ^^^^^^ did you mean `c_schar`?
5933 |
5934 ::: /home/kelvin/repos/libc/src/lib.rs
5935 |
5936266 | / cfg_if! {
5937267 | | if #[cfg(windows)] {
5938268 | | mod windows;
5939269 | | pub use windows::*;
5940... |
5941278 | | }
5942279 | | }
5943 | |_- in this macro invocation
5944 |
5945 = help: possible candidate is found in another module, you can import it into scope:
5946 `use core::os::raw::c_char;`
5947
5948error[E0204]: the trait `Copy` may not be implemented for this type
5949 --> /home/kelvin/repos/libc/src/macros.rs:44:14
5950 |
595144 | impl ::dox::Copy for $i {}
5952 | ^^^^^^^^^^^
5953 |
5954 ::: /home/kelvin/repos/libc/src/unix/mod.rs
5955 |
595628 | pub actime: time_t,
5957 | ------------------ this field does not implement `Copy`
5958 |
5959 ::: /home/kelvin/repos/libc/src/lib.rs
5960 |
5961266 | / cfg_if! {
5962267 | | if #[cfg(windows)] {
5963268 | | mod windows;
5964269 | | pub use windows::*;
5965... |
5966278 | | }
5967279 | | }
5968 | |_- in this macro invocation
5969
5970error[E0204]: the trait `Copy` may not be implemented for this type
5971 --> /home/kelvin/repos/libc/src/macros.rs:44:14
5972 |
597344 | impl ::dox::Copy for $i {}
5974 | ^^^^^^^^^^^
5975 |
5976 ::: /home/kelvin/repos/libc/src/unix/mod.rs
5977 |
597833 | pub tv_sec: time_t,
5979 | ------------------ this field does not implement `Copy`
5980 |
5981 ::: /home/kelvin/repos/libc/src/lib.rs
5982 |
5983266 | / cfg_if! {
5984267 | | if #[cfg(windows)] {
5985268 | | mod windows;
5986269 | | pub use windows::*;
5987... |
5988278 | | }
5989279 | | }
5990 | |_- in this macro invocation
5991
5992error[E0204]: the trait `Copy` may not be implemented for this type
5993 --> /home/kelvin/repos/libc/src/macros.rs:44:14
5994 |
599544 | impl ::dox::Copy for $i {}
5996 | ^^^^^^^^^^^
5997 |
5998 ::: /home/kelvin/repos/libc/src/unix/mod.rs
5999 |
600038 | pub tv_sec: time_t,
6001 | ------------------ this field does not implement `Copy`
6002 |
6003 ::: /home/kelvin/repos/libc/src/lib.rs
6004 |
6005266 | / cfg_if! {
6006267 | | if #[cfg(windows)] {
6007268 | | mod windows;
6008269 | | pub use windows::*;
6009... |
6010278 | | }
6011279 | | }
6012 | |_- in this macro invocation
6013
6014error[E0204]: the trait `Copy` may not be implemented for this type
6015 --> /home/kelvin/repos/libc/src/macros.rs:44:14
6016 |
601744 | impl ::dox::Copy for $i {}
6018 | ^^^^^^^^^^^
6019 |
6020 ::: /home/kelvin/repos/libc/src/unix/mod.rs
6021 |
602243 | pub rlim_cur: rlim_t,
6023 | -------------------- this field does not implement `Copy`
6024 |
6025 ::: /home/kelvin/repos/libc/src/lib.rs
6026 |
6027266 | / cfg_if! {
6028267 | | if #[cfg(windows)] {
6029268 | | mod windows;
6030269 | | pub use windows::*;
6031... |
6032278 | | }
6033279 | | }
6034 | |_- in this macro invocation
6035
6036error[E0204]: the trait `Copy` may not be implemented for this type
6037 --> /home/kelvin/repos/libc/src/macros.rs:44:14
6038 |
603944 | impl ::dox::Copy for $i {}
6040 | ^^^^^^^^^^^
6041 |
6042 ::: /home/kelvin/repos/libc/src/unix/mod.rs
6043 |
604450 | pub ru_maxrss: c_long,
6045 | --------------------- this field does not implement `Copy`
6046 |
6047 ::: /home/kelvin/repos/libc/src/lib.rs
6048 |
6049266 | / cfg_if! {
6050267 | | if #[cfg(windows)] {
6051268 | | mod windows;
6052269 | | pub use windows::*;
6053... |
6054278 | | }
6055279 | | }
6056 | |_- in this macro invocation
6057
6058error: aborting due to 5 previous errors
6059
6060error: Could not compile `libc`.
6061
6062To learn more, run the command again with --verbose.