Skip to content

Instantly share code, notes, and snippets.

@goyox86
Created August 5, 2017 20:44
Show Gist options
  • Save goyox86/3ac3395d50f894a22bde3e887b9db337 to your computer and use it in GitHub Desktop.
Save goyox86/3ac3395d50f894a22bde3e887b9db337 to your computer and use it in GitHub Desktop.
error[E0425]: cannot find value `S_IRUSR` in module `libc`
--> src/fs/file.rs:445:43
|
445 | pub const USER_READ: Mode = libc::S_IRUSR as Mode;
| ^^^^^^^ not found in `libc`
error[E0425]: cannot find value `S_IWUSR` in module `libc`
--> src/fs/file.rs:446:43
|
446 | pub const USER_WRITE: Mode = libc::S_IWUSR as Mode;
| ^^^^^^^ not found in `libc`
error[E0425]: cannot find value `S_IXUSR` in module `libc`
--> src/fs/file.rs:447:43
|
447 | pub const USER_EXECUTE: Mode = libc::S_IXUSR as Mode;
| ^^^^^^^ not found in `libc`
error[E0425]: cannot find value `S_IRGRP` in module `libc`
--> src/fs/file.rs:449:43
|
449 | pub const GROUP_READ: Mode = libc::S_IRGRP as Mode;
| ^^^^^^^ not found in `libc`
error[E0425]: cannot find value `S_IWGRP` in module `libc`
--> src/fs/file.rs:450:43
|
450 | pub const GROUP_WRITE: Mode = libc::S_IWGRP as Mode;
| ^^^^^^^ not found in `libc`
error[E0425]: cannot find value `S_IXGRP` in module `libc`
--> src/fs/file.rs:451:43
|
451 | pub const GROUP_EXECUTE: Mode = libc::S_IXGRP as Mode;
| ^^^^^^^ not found in `libc`
error[E0425]: cannot find value `S_IROTH` in module `libc`
--> src/fs/file.rs:453:43
|
453 | pub const OTHER_READ: Mode = libc::S_IROTH as Mode;
| ^^^^^^^ not found in `libc`
error[E0425]: cannot find value `S_IWOTH` in module `libc`
--> src/fs/file.rs:454:43
|
454 | pub const OTHER_WRITE: Mode = libc::S_IWOTH as Mode;
| ^^^^^^^ not found in `libc`
error[E0425]: cannot find value `S_IXOTH` in module `libc`
--> src/fs/file.rs:455:43
|
455 | pub const OTHER_EXECUTE: Mode = libc::S_IXOTH as Mode;
| ^^^^^^^ not found in `libc`
error[E0425]: cannot find value `S_ISVTX` in module `libc`
--> src/fs/file.rs:457:43
|
457 | pub const STICKY: Mode = libc::S_ISVTX as Mode;
| ^^^^^^^ not found in `libc`
error[E0425]: cannot find value `S_ISGID` in module `libc`
--> src/fs/file.rs:458:43
|
458 | pub const SETGID: Mode = libc::S_ISGID as Mode;
| ^^^^^^^ not found in `libc`
error[E0425]: cannot find value `S_ISUID` in module `libc`
--> src/fs/file.rs:459:43
|
459 | pub const SETUID: Mode = libc::S_ISUID as Mode;
| ^^^^^^^ not found in `libc`
error[E0425]: cannot find value `TIOCGWINSZ` in this scope
--> src/term.rs:43:39
|
43 | let result = ioctl(STDOUT_FILENO, TIOCGWINSZ, &mut window);
| ^^^^^^^^^^ not found in this scope
error[E0599]: no method named `rdev` found for type `std::fs::Metadata` in the current scope
--> src/fs/file.rs:265:37
|
265 | let dev = self.metadata.rdev();
| ^^^^
error[E0308]: mismatched types
--> src/output/render/groups.rs:14:50
|
14 | let group = match users.get_group_by_gid(self.0) {
| ^^^^^^ expected usize, found u32
error[E0308]: mismatched types
--> src/output/render/users.rs:10:53
|
10 | let user_name = match users.get_user_by_uid(self.0) {
| ^^^^^^ expected usize, found u32
error[E0308]: mismatched types
--> src/output/render/users.rs:15:51
|
15 | let style = if users.get_current_uid() == self.0 { colours.users.user_you }
| ^^^^^^ expected usize, found u32
error: aborting due to 17 previous errors
error: Could not compile `exa`.
To learn more, run the command again with --verbose.
./repo.sh failed.make: *** [mk/filesystem.mk:12: build/filesystem.bin] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment