Created
December 25, 2022 10:51
-
-
Save JohnTheCoolingFan/ca330da3b7e187e28124d98f0573abba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling nix v0.24.3 | |
error[E0432]: unresolved import `libc::PATH_MAX` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:11:34 | |
| | |
11 | uid_t, gid_t, mode_t, PATH_MAX}; | |
| ^^^^^^^^ no `PATH_MAX` in the root | |
error[E0432]: unresolved import `self::consts` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:7:15 | |
| | |
7 | pub use self::consts::*; | |
| ^^^^^^ could not find `consts` in `self` | |
error[E0432]: unresolved import `self::Errno` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:185:15 | |
| | |
185 | use self::Errno::*; | |
| ^^^^^ could not find `Errno` in `self` | |
error[E0432]: unresolved import `crate::errno::Errno` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:1:5 | |
| | |
1 | use crate::errno::Errno; | |
| ^^^^^^^^^^^^^^----- | |
| | | | |
| | help: a similar name exists in the module: `errno` | |
| no `Errno` in `errno` | |
error[E0432]: unresolved import `crate::errno::Errno` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:7:5 | |
| | |
7 | use crate::errno::Errno; | |
| ^^^^^^^^^^^^^^----- | |
| | | | |
| | help: a similar name exists in the module: `errno` | |
| no `Errno` in `errno` | |
error[E0432]: unresolved import `crate::errno::Errno` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:5:26 | |
| | |
5 | use crate::errno::{self, Errno}; | |
| ^^^^^ | |
| | | |
| no `Errno` in `errno` | |
| help: a similar name exists in the module: `errno` | |
error[E0432]: unresolved import `errno::Errno` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/lib.rs:166:5 | |
| | |
166 | use errno::Errno; | |
| ^^^^^^^----- | |
| | | | |
| | help: a similar name exists in the module: `errno` | |
| no `Errno` in `errno` | |
error[E0432]: unresolved import `crate::errno::Errno` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/poll.rs:5:5 | |
| | |
5 | use crate::errno::Errno; | |
| ^^^^^^^^^^^^^^^^^^^ no `Errno` in `errno` | |
| | |
help: a similar name exists in the module | |
| | |
5 | use crate::errno::errno; | |
| ~~~~~ | |
help: consider importing this unresolved item instead | |
| | |
5 | use crate::Errno; | |
| ~~~~~~~~~~~~~ | |
error[E0432]: unresolved import `crate::errno::Errno` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/pty.rs:15:5 | |
| | |
15 | use crate::errno::Errno; | |
| ^^^^^^^^^^^^^^^^^^^ no `Errno` in `errno` | |
| | |
help: a similar name exists in the module | |
| | |
15 | use crate::errno::errno; | |
| ~~~~~ | |
help: consider importing this unresolved item instead | |
| | |
15 | use crate::Errno; | |
| ~~~~~~~~~~~~~ | |
error[E0432]: unresolved import `crate::errno::Errno` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/select.rs:10:5 | |
| | |
10 | use crate::errno::Errno; | |
| ^^^^^^^^^^^^^^^^^^^ no `Errno` in `errno` | |
| | |
help: a similar name exists in the module | |
| | |
10 | use crate::errno::errno; | |
| ~~~~~ | |
help: consider importing this unresolved item instead | |
| | |
10 | use crate::Errno; | |
| ~~~~~~~~~~~~~ | |
error[E0432]: unresolved import `crate::errno::Errno` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/stat.rs:4:30 | |
| | |
4 | use crate::{Result, NixPath, errno::Errno}; | |
| ^^^^^^^^^^^^ no `Errno` in `errno` | |
| | |
help: a similar name exists in the module | |
| | |
4 | use crate::{Result, NixPath, errno::errno}; | |
| ~~~~~ | |
help: consider importing this unresolved item instead | |
| | |
4 | use crate::{Result, NixPath, crate::Errno; | |
| ~~~~~~~~~~~~~ | |
error[E0432]: unresolved import `crate::errno::Errno` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/statvfs.rs:10:30 | |
| | |
10 | use crate::{Result, NixPath, errno::Errno}; | |
| ^^^^^^^^^^^^ no `Errno` in `errno` | |
| | |
help: a similar name exists in the module | |
| | |
10 | use crate::{Result, NixPath, errno::errno}; | |
| ~~~~~ | |
help: consider importing this unresolved item instead | |
| | |
10 | use crate::{Result, NixPath, crate::Errno; | |
| ~~~~~~~~~~~~~ | |
error[E0432]: unresolved import `crate::errno::Errno` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:156:5 | |
| | |
156 | use crate::errno::Errno; | |
| ^^^^^^^^^^^^^^^^^^^ no `Errno` in `errno` | |
| | |
help: a similar name exists in the module | |
| | |
156 | use crate::errno::errno; | |
| ~~~~~ | |
help: consider importing this unresolved item instead | |
| | |
156 | use crate::Errno; | |
| ~~~~~~~~~~~~~ | |
error[E0432]: unresolved import `crate::errno::Errno` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/wait.rs:2:5 | |
| | |
2 | use crate::errno::Errno; | |
| ^^^^^^^^^^^^^^^^^^^ no `Errno` in `errno` | |
| | |
help: a similar name exists in the module | |
| | |
2 | use crate::errno::errno; | |
| ~~~~~ | |
help: consider importing this unresolved item instead | |
| | |
2 | use crate::Errno; | |
| ~~~~~~~~~~~~~ | |
error[E0433]: failed to resolve: use of undeclared type `Errno` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:84:9 | |
| | |
84 | Errno::EINVAL | |
| ^^^^^ use of undeclared type `Errno` | |
error[E0433]: failed to resolve: use of undeclared type `Errno` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:175:18 | |
| | |
175 | .map(Errno::from_i32) | |
| ^^^^^ use of undeclared type `Errno` | |
error[E0433]: failed to resolve: use of undeclared type `Errno` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:181:5 | |
| | |
181 | Errno::from_i32(errno()) | |
| ^^^^^ use of undeclared type `Errno` | |
error[E0412]: cannot find type `Errno` in this scope | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:49:6 | |
| | |
49 | impl Errno { | |
| ^^^^^ not found in this scope | |
error[E0412]: cannot find type `Errno` in this scope | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:74:30 | |
| | |
74 | pub fn from_errno(errno: Errno) -> Error { | |
| ^^^^^ not found in this scope | |
error[E0412]: cannot find type `Errno` in this scope | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:95:40 | |
| | |
95 | pub const fn from_i32(err: i32) -> Errno { | |
| ^^^^^ not found in this scope | |
error[E0412]: cannot find type `Errno` in this scope | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:125:29 | |
| | |
125 | pub const fn Sys(errno: Errno) -> Error { | |
| ^^^^^ not found in this scope | |
error[E0412]: cannot find type `Errno` in this scope | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:156:23 | |
| | |
156 | impl error::Error for Errno {} | |
| ^^^^^ not found in this scope | |
error[E0412]: cannot find type `Errno` in this scope | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:158:23 | |
| | |
158 | impl fmt::Display for Errno { | |
| ^^^^^ not found in this scope | |
error[E0412]: cannot find type `Errno` in this scope | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:164:11 | |
| | |
164 | impl From<Errno> for io::Error { | |
| - ^^^^^ not found in this scope | |
| | | |
| help: you might be missing a type parameter: `<Errno>` | |
error[E0412]: cannot find type `Errno` in this scope | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:165:18 | |
| | |
165 | fn from(err: Errno) -> Self { | |
| ^^^^^ not found in this scope | |
error[E0412]: cannot find type `Errno` in this scope | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:170:29 | |
| | |
170 | impl TryFrom<io::Error> for Errno { | |
| ^^^^^ not found in this scope | |
error[E0412]: cannot find type `Errno` in this scope | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:180:14 | |
| | |
180 | fn last() -> Errno { | |
| ^^^^^ not found in this scope | |
error[E0412]: cannot find type `Errno` in this scope | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:184:16 | |
| | |
184 | fn desc(errno: Errno) -> &'static str { | |
| ^^^^^ not found in this scope | |
error[E0425]: cannot find value `AT_REMOVEDIR` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:35:9 | |
| | |
35 | AT_REMOVEDIR; | |
| ^^^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `AT_SYMLINK_FOLLOW` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:36:9 | |
| | |
36 | AT_SYMLINK_FOLLOW; | |
| ^^^^^^^^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `AT_SYMLINK_NOFOLLOW` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:37:9 | |
| | |
37 | AT_SYMLINK_NOFOLLOW; | |
| ^^^^^^^^^^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `O_ASYNC` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:63:9 | |
| | |
63 | O_ASYNC; | |
| ^^^^^^^ help: a constant with a similar name exists: `O_SYNC` | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/newlib/mod.rs:393:1 | |
| | |
393 | pub const O_SYNC: ::c_int = 8192; | |
| ------------------------- similarly named constant `O_SYNC` defined here | |
error[E0425]: cannot find value `O_DIRECTORY` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:81:9 | |
| | |
81 | O_DIRECTORY; | |
| ^^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `O_NOCTTY` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:129:9 | |
| | |
129 | O_NOCTTY; | |
| ^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `O_NDELAY` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:133:9 | |
| | |
133 | O_NDELAY; | |
| ^^^^^^^^ help: a constant with a similar name exists: `LOG_NDELAY` | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:286:9 | |
| | |
286 | pub const LOG_NDELAY: ::c_int = 0x08; | |
| ----------------------------- similarly named constant `LOG_NDELAY` defined here | |
error[E0425]: cannot find value `O_NOFOLLOW` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:135:9 | |
| | |
135 | O_NOFOLLOW; | |
| ^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `PATH_MAX` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:317:42 | |
| | |
317 | let mut v = Vec::with_capacity(libc::PATH_MAX as usize); | |
| ^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `PATH_MAX` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:348:16 | |
| | |
348 | (libc::PATH_MAX as usize).max(128) << 1 | |
| ^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `AT_FDCWD` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:382:23 | |
| | |
382 | None => libc::AT_FDCWD, | |
| ^^^^^^^^ not found in `libc` | |
error[E0573]: expected type, found function `libc::flock` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:428:17 | |
| | |
428 | F_SETLK(&'a libc::flock), | |
| ^^^^^^^^^^^ not a type | |
error[E0573]: expected type, found function `libc::flock` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:429:18 | |
| | |
429 | F_SETLKW(&'a libc::flock), | |
| ^^^^^^^^^^^ not a type | |
error[E0573]: expected type, found function `libc::flock` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:430:21 | |
| | |
430 | F_GETLK(&'a mut libc::flock), | |
| ^^^^^^^^^^^ not a type | |
error[E0425]: cannot find value `LOCK_SH` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:519:49 | |
| | |
519 | LockShared => libc::flock(fd, libc::LOCK_SH), | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `LOCK_EX` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:520:52 | |
| | |
520 | LockExclusive => libc::flock(fd, libc::LOCK_EX), | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `LOCK_UN` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:521:45 | |
| | |
521 | Unlock => libc::flock(fd, libc::LOCK_UN), | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `LOCK_SH` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:522:57 | |
| | |
522 | LockSharedNonblock => libc::flock(fd, libc::LOCK_SH | libc::LOCK_NB), | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `LOCK_NB` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:522:73 | |
| | |
522 | LockSharedNonblock => libc::flock(fd, libc::LOCK_SH | libc::LOCK_NB), | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `LOCK_EX` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:523:60 | |
| | |
523 | LockExclusiveNonblock => libc::flock(fd, libc::LOCK_EX | libc::LOCK_NB), | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `LOCK_NB` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:523:76 | |
| | |
523 | LockExclusiveNonblock => libc::flock(fd, libc::LOCK_EX | libc::LOCK_NB), | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `LOCK_UN` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:524:53 | |
| | |
524 | UnlockNonblock => libc::flock(fd, libc::LOCK_UN | libc::LOCK_NB), | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `LOCK_NB` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:524:69 | |
| | |
524 | UnlockNonblock => libc::flock(fd, libc::LOCK_UN | libc::LOCK_NB), | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `POLLNVAL` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/poll.rs:111:9 | |
| | |
111 | POLLNVAL; | |
| ^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find function `openpty` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/pty.rs:261:27 | |
| | |
261 | libc::openpty( | |
| ^^^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:1441:13 | |
| | |
1441 | / pub fn openat(dirfd: ::c_int, pathname: *const ::c_char, | |
1442 | | flags: ::c_int, ...) -> ::c_int; | |
| |_________________________________________________________- similarly named function `openat` defined here | |
| | |
help: a function with a similar name exists | |
| | |
261 | libc::openat( | |
| ~~~~~~ | |
help: consider importing this function | |
| | |
3 | use crate::pty::openpty; | |
| | |
help: if you import `openpty`, refer to it directly | |
| | |
261 - libc::openpty( | |
261 + openpty( | |
| | |
error[E0425]: cannot find function `openpty` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/pty.rs:272:27 | |
| | |
272 | libc::openpty( | |
| ^^^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:1441:13 | |
| | |
1441 | / pub fn openat(dirfd: ::c_int, pathname: *const ::c_char, | |
1442 | | flags: ::c_int, ...) -> ::c_int; | |
| |_________________________________________________________- similarly named function `openat` defined here | |
| | |
help: a function with a similar name exists | |
| | |
272 | libc::openat( | |
| ~~~~~~ | |
help: consider importing this function | |
| | |
3 | use crate::pty::openpty; | |
| | |
help: if you import `openpty`, refer to it directly | |
| | |
272 - libc::openpty( | |
272 + openpty( | |
| | |
error[E0425]: cannot find function `openpty` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/pty.rs:284:27 | |
| | |
284 | libc::openpty( | |
| ^^^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:1441:13 | |
| | |
1441 | / pub fn openat(dirfd: ::c_int, pathname: *const ::c_char, | |
1442 | | flags: ::c_int, ...) -> ::c_int; | |
| |_________________________________________________________- similarly named function `openat` defined here | |
| | |
help: a function with a similar name exists | |
| | |
284 | libc::openat( | |
| ~~~~~~ | |
help: consider importing this function | |
| | |
3 | use crate::pty::openpty; | |
| | |
help: if you import `openpty`, refer to it directly | |
| | |
284 - libc::openpty( | |
284 + openpty( | |
| | |
error[E0425]: cannot find function `openpty` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/pty.rs:295:27 | |
| | |
295 | libc::openpty( | |
| ^^^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:1441:13 | |
| | |
1441 | / pub fn openat(dirfd: ::c_int, pathname: *const ::c_char, | |
1442 | | flags: ::c_int, ...) -> ::c_int; | |
| |_________________________________________________________- similarly named function `openat` defined here | |
| | |
help: a function with a similar name exists | |
| | |
295 | libc::openat( | |
| ~~~~~~ | |
help: consider importing this function | |
| | |
3 | use crate::pty::openpty; | |
| | |
help: if you import `openpty`, refer to it directly | |
| | |
295 - libc::openpty( | |
295 + openpty( | |
| | |
error[E0425]: cannot find function `forkpty` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/pty.rs:359:21 | |
| | |
359 | let res = libc::forkpty(master.as_mut_ptr(), ptr::null_mut(), term, win); | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this function | |
| | |
3 | use crate::pty::forkpty; | |
| | |
help: if you import `forkpty`, refer to it directly | |
| | |
359 - let res = libc::forkpty(master.as_mut_ptr(), ptr::null_mut(), term, win); | |
359 + let res = forkpty(master.as_mut_ptr(), ptr::null_mut(), term, win); | |
| | |
error[E0425]: cannot find value `SIGHUP` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:32:9 | |
| | |
32 | SIGHUP, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGHUP; | |
| | |
error[E0425]: cannot find value `SIGINT` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:34:9 | |
| | |
34 | SIGINT, | |
| ^^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:240:1 | |
| | |
240 | pub const SIGIOT: ::c_int = 6; | |
| ------------------------- similarly named constant `SIGIOT` defined here | |
| | |
help: a constant with a similar name exists | |
| | |
34 | SIGIOT, | |
| ~~~~~~ | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGINT; | |
| | |
error[E0425]: cannot find value `SIGQUIT` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:36:9 | |
| | |
36 | SIGQUIT, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGQUIT; | |
| | |
error[E0425]: cannot find value `SIGILL` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:38:9 | |
| | |
38 | SIGILL, | |
| ^^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:240:1 | |
| | |
240 | pub const SIGIOT: ::c_int = 6; | |
| ------------------------- similarly named constant `SIGIOT` defined here | |
| | |
help: a constant with a similar name exists | |
| | |
38 | SIGIOT, | |
| ~~~~~~ | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGILL; | |
| | |
error[E0425]: cannot find value `SIGTRAP` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:40:9 | |
| | |
40 | SIGTRAP, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGTRAP; | |
| | |
error[E0425]: cannot find value `SIGABRT` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:42:9 | |
| | |
42 | SIGABRT, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGABRT; | |
| | |
error[E0425]: cannot find value `SIGBUS` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:44:9 | |
| | |
44 | SIGBUS, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGBUS; | |
| | |
error[E0425]: cannot find value `SIGFPE` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:46:9 | |
| | |
46 | SIGFPE, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGFPE; | |
| | |
error[E0425]: cannot find value `SIGKILL` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:48:9 | |
| | |
48 | SIGKILL, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGKILL; | |
| | |
error[E0425]: cannot find value `SIGUSR1` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:50:9 | |
| | |
50 | SIGUSR1, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGUSR1; | |
| | |
error[E0425]: cannot find value `SIGSEGV` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:52:9 | |
| | |
52 | SIGSEGV, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGSEGV; | |
| | |
error[E0425]: cannot find value `SIGUSR2` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:54:9 | |
| | |
54 | SIGUSR2, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGUSR2; | |
| | |
error[E0425]: cannot find value `SIGPIPE` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:56:9 | |
| | |
56 | SIGPIPE, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGPIPE; | |
| | |
error[E0425]: cannot find value `SIGALRM` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:58:9 | |
| | |
58 | SIGALRM, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGALRM; | |
| | |
error[E0425]: cannot find value `SIGTERM` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:60:9 | |
| | |
60 | SIGTERM, | |
| ^^^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:214:1 | |
| | |
214 | pub const SIG_ERR: sighandler_t = !0 as sighandler_t; | |
| ------------------------------- similarly named constant `SIG_ERR` defined here | |
| | |
help: a constant with a similar name exists | |
| | |
60 | SIG_ERR, | |
| ~~~~~~~ | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGTERM; | |
| | |
error[E0425]: cannot find value `SIGCHLD` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:68:9 | |
| | |
68 | SIGCHLD, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGCHLD; | |
| | |
error[E0425]: cannot find value `SIGCONT` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:70:9 | |
| | |
70 | SIGCONT, | |
| ^^^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:240:1 | |
| | |
240 | pub const SIGIOT: ::c_int = 6; | |
| ------------------------- similarly named constant `SIGIOT` defined here | |
| | |
help: a constant with a similar name exists | |
| | |
70 | SIGIOT, | |
| ~~~~~~ | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGCONT; | |
| | |
error[E0425]: cannot find value `SIGSTOP` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:72:9 | |
| | |
72 | SIGSTOP, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGSTOP; | |
| | |
error[E0425]: cannot find value `SIGTSTP` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:74:9 | |
| | |
74 | SIGTSTP, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGTSTP; | |
| | |
error[E0425]: cannot find value `SIGTTIN` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:76:9 | |
| | |
76 | SIGTTIN, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGTTIN; | |
| | |
error[E0425]: cannot find value `SIGTTOU` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:78:9 | |
| | |
78 | SIGTTOU, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGTTOU; | |
| | |
error[E0425]: cannot find value `SIGURG` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:80:9 | |
| | |
80 | SIGURG, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGURG; | |
| | |
error[E0425]: cannot find value `SIGXCPU` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:82:9 | |
| | |
82 | SIGXCPU, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGXCPU; | |
| | |
error[E0425]: cannot find value `SIGXFSZ` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:84:9 | |
| | |
84 | SIGXFSZ, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGXFSZ; | |
| | |
error[E0425]: cannot find value `SIGVTALRM` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:86:9 | |
| | |
86 | SIGVTALRM, | |
| ^^^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGVTALRM; | |
| | |
error[E0425]: cannot find value `SIGPROF` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:88:9 | |
| | |
88 | SIGPROF, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGPROF; | |
| | |
error[E0425]: cannot find value `SIGWINCH` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:90:9 | |
| | |
90 | SIGWINCH, | |
| ^^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGWINCH; | |
| | |
error[E0425]: cannot find value `SIGIO` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:92:9 | |
| | |
92 | SIGIO, | |
| ^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:240:1 | |
| | |
240 | pub const SIGIOT: ::c_int = 6; | |
| ------------------------- similarly named constant `SIGIOT` defined here | |
| | |
help: a constant with a similar name exists | |
| | |
92 | SIGIOT, | |
| ~~~~~~ | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGIO; | |
| | |
error[E0425]: cannot find value `SIGSYS` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:99:9 | |
| | |
99 | SIGSYS, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGSYS; | |
| | |
error[E0425]: cannot find value `SIGEMT` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:105:9 | |
| | |
105 | SIGEMT, | |
| ^^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:240:1 | |
| | |
240 | pub const SIGIOT: ::c_int = 6; | |
| ------------------------- similarly named constant `SIGIOT` defined here | |
| | |
help: a constant with a similar name exists | |
| | |
105 | SIGIOT, | |
| ~~~~~~ | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGEMT; | |
| | |
error[E0425]: cannot find value `SIGINFO` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:111:9 | |
| | |
111 | SIGINFO, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGINFO; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGHUP` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:32:9 | |
| | |
32 | SIGHUP, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGHUP; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGINT` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:34:9 | |
| | |
34 | SIGINT, | |
| ^^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:240:1 | |
| | |
240 | pub const SIGIOT: ::c_int = 6; | |
| ------------------------- similarly named constant `SIGIOT` defined here | |
| | |
help: a constant with a similar name exists | |
| | |
34 | SIGIOT, | |
| ~~~~~~ | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGINT; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGQUIT` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:36:9 | |
| | |
36 | SIGQUIT, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGQUIT; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGILL` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:38:9 | |
| | |
38 | SIGILL, | |
| ^^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:240:1 | |
| | |
240 | pub const SIGIOT: ::c_int = 6; | |
| ------------------------- similarly named constant `SIGIOT` defined here | |
| | |
help: a constant with a similar name exists | |
| | |
38 | SIGIOT, | |
| ~~~~~~ | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGILL; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGTRAP` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:40:9 | |
| | |
40 | SIGTRAP, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGTRAP; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGABRT` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:42:9 | |
| | |
42 | SIGABRT, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGABRT; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGBUS` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:44:9 | |
| | |
44 | SIGBUS, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGBUS; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGFPE` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:46:9 | |
| | |
46 | SIGFPE, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGFPE; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGKILL` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:48:9 | |
| | |
48 | SIGKILL, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGKILL; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGUSR1` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:50:9 | |
| | |
50 | SIGUSR1, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGUSR1; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGSEGV` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:52:9 | |
| | |
52 | SIGSEGV, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGSEGV; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGUSR2` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:54:9 | |
| | |
54 | SIGUSR2, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGUSR2; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGPIPE` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:56:9 | |
| | |
56 | SIGPIPE, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGPIPE; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGALRM` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:58:9 | |
| | |
58 | SIGALRM, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGALRM; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGTERM` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:60:9 | |
| | |
60 | SIGTERM, | |
| ^^^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:214:1 | |
| | |
214 | pub const SIG_ERR: sighandler_t = !0 as sighandler_t; | |
| ------------------------------- similarly named constant `SIG_ERR` defined here | |
| | |
help: a constant with a similar name exists | |
| | |
60 | SIG_ERR, | |
| ~~~~~~~ | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGTERM; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGCHLD` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:68:9 | |
| | |
68 | SIGCHLD, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGCHLD; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGCONT` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:70:9 | |
| | |
70 | SIGCONT, | |
| ^^^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:240:1 | |
| | |
240 | pub const SIGIOT: ::c_int = 6; | |
| ------------------------- similarly named constant `SIGIOT` defined here | |
| | |
help: a constant with a similar name exists | |
| | |
70 | SIGIOT, | |
| ~~~~~~ | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGCONT; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGSTOP` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:72:9 | |
| | |
72 | SIGSTOP, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGSTOP; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGTSTP` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:74:9 | |
| | |
74 | SIGTSTP, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGTSTP; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGTTIN` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:76:9 | |
| | |
76 | SIGTTIN, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGTTIN; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGTTOU` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:78:9 | |
| | |
78 | SIGTTOU, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGTTOU; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGURG` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:80:9 | |
| | |
80 | SIGURG, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGURG; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGXCPU` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:82:9 | |
| | |
82 | SIGXCPU, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGXCPU; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGXFSZ` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:84:9 | |
| | |
84 | SIGXFSZ, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGXFSZ; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGVTALRM` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:86:9 | |
| | |
86 | SIGVTALRM, | |
| ^^^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGVTALRM; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGPROF` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:88:9 | |
| | |
88 | SIGPROF, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGPROF; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGWINCH` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:90:9 | |
| | |
90 | SIGWINCH, | |
| ^^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGWINCH; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGIO` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:92:9 | |
| | |
92 | SIGIO, | |
| ^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:240:1 | |
| | |
240 | pub const SIGIOT: ::c_int = 6; | |
| ------------------------- similarly named constant `SIGIOT` defined here | |
| | |
help: a constant with a similar name exists | |
| | |
92 | SIGIOT, | |
| ~~~~~~ | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGIO; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGSYS` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:99:9 | |
| | |
99 | SIGSYS, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGSYS; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGEMT` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:105:9 | |
| | |
105 | SIGEMT, | |
| ^^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:240:1 | |
| | |
240 | pub const SIGIOT: ::c_int = 6; | |
| ------------------------- similarly named constant `SIGIOT` defined here | |
| | |
help: a constant with a similar name exists | |
| | |
105 | SIGIOT, | |
| ~~~~~~ | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGEMT; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `SIGINFO` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:111:9 | |
| | |
111 | SIGINFO, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::Signal::SIGINFO; | |
| | |
error[E0425]: cannot find value `SA_NOCLDSTOP` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:443:9 | |
| | |
443 | SA_NOCLDSTOP; | |
| ^^^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `SA_NOCLDWAIT` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:446:9 | |
| | |
446 | SA_NOCLDWAIT; | |
| ^^^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `SA_NODEFER` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:449:9 | |
| | |
449 | SA_NODEFER; | |
| ^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `SA_ONSTACK` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:452:9 | |
| | |
452 | SA_ONSTACK; | |
| ^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `SA_RESETHAND` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:455:9 | |
| | |
455 | SA_RESETHAND; | |
| ^^^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `SA_RESTART` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:458:9 | |
| | |
458 | SA_RESTART; | |
| ^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `SA_SIGINFO` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:460:9 | |
| | |
460 | SA_SIGINFO; | |
| ^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `SIG_BLOCK` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:472:9 | |
| | |
472 | SIG_BLOCK, | |
| ^^^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::SigmaskHow::SIG_BLOCK; | |
| | |
error[E0425]: cannot find value `SIG_UNBLOCK` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:475:9 | |
| | |
475 | SIG_UNBLOCK, | |
| ^^^^^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::SigmaskHow::SIG_UNBLOCK; | |
| | |
error[E0425]: cannot find value `SIG_SETMASK` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:477:9 | |
| | |
477 | SIG_SETMASK, | |
| ^^^^^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
6 | use crate::sys::signal::SigmaskHow::SIG_SETMASK; | |
| | |
error[E0412]: cannot find type `siginfo_t` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:657:49 | |
| | |
657 | SigAction(extern fn(libc::c_int, *mut libc::siginfo_t, *mut libc::c_void)) | |
| ^^^^^^^^^ not found in `libc` | |
error[E0412]: cannot find type `siginfo_t` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:679:91 | |
| | |
679 | SigHandler::SigAction(f) => f as *const extern fn(libc::c_int, *mut libc::siginfo_t, *mut libc::c_void) as usize, | |
| ^^^^^^^^^ not found in `libc` | |
error[E0412]: cannot find type `sigevent` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:1039:25 | |
| | |
1039 | sigevent: libc::sigevent | |
| ^^^^^^^^ not found in `libc` | |
error[E0412]: cannot find type `sigevent` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:1060:61 | |
| | |
1060 | let mut sev = unsafe { mem::MaybeUninit::<libc::sigevent>::zeroed().assume_init() }; | |
| ^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `SIGEV_NONE` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:1062:49 | |
| | |
1062 | SigevNotify::SigevNone => libc::SIGEV_NONE, | |
| ^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `SIGEV_SIGNAL` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:1063:55 | |
| | |
1063 | SigevNotify::SigevSignal{..} => libc::SIGEV_SIGNAL, | |
| ^^^^^^^^^^^^ not found in `libc` | |
error[E0412]: cannot find type `sigevent` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:1104:37 | |
| | |
1104 | fn set_tid(_sev: &mut libc::sigevent, _sigev_notify: &SigevNotify) { | |
| ^^^^^^^^ not found in `libc` | |
error[E0412]: cannot find type `sigevent` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:1108:41 | |
| | |
1108 | pub fn sigevent(&self) -> libc::sigevent { | |
| ^^^^^^^^ not found in `libc` | |
error[E0412]: cannot find type `sigevent` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:1113:52 | |
| | |
1113 | pub fn as_mut_ptr(&mut self) -> *mut libc::sigevent { | |
| ^^^^^^^^ not found in `libc` | |
error[E0412]: cannot find type `sigevent` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:1118:29 | |
| | |
1118 | impl<'a> From<&'a libc::sigevent> for SigEvent { | |
| ^^^^^^^^ not found in `libc` | |
error[E0412]: cannot find type `sigevent` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:1119:34 | |
| | |
1119 | fn from(sigevent: &libc::sigevent) -> Self { | |
| ^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `S_IRWXU` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/stat.rs:28:9 | |
| | |
28 | S_IRWXU; | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `S_IRWXG` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/stat.rs:32:9 | |
| | |
32 | S_IRWXG; | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `S_IRWXO` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/stat.rs:36:9 | |
| | |
36 | S_IRWXO; | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find function `mknodat` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/stat.rs:66:15 | |
| | |
66 | libc::mknodat(dirfd, cstr.as_ptr(), kind.bits | perm.bits() as mode_t, dev) | |
| ^^^^^^^ help: a function with a similar name exists: `mknod` | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:1275:5 | |
| | |
1275 | pub fn mknod(pathname: *const ::c_char, mode: ::mode_t, dev: ::dev_t) -> ::c_int; | |
| -------------------------------------------------------------------------------- similarly named function `mknod` defined here | |
error[E0425]: cannot find function `futimens` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/stat.rs:260:30 | |
| | |
260 | let res = unsafe { libc::futimens(fd, ×[0]) }; | |
| ^^^^^^^^ help: a function with a similar name exists: `utimes` | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:1184:5 | |
| | |
1184 | pub fn utimes(filename: *const ::c_char, times: *const ::timeval) -> ::c_int; | |
| ---------------------------------------------------------------------------- similarly named function `utimes` defined here | |
error[E0425]: cannot find function `utimensat` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/stat.rs:305:15 | |
| | |
305 | libc::utimensat( | |
| ^^^^^^^^^ help: a function with a similar name exists: `utimes` | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:1184:5 | |
| | |
1184 | pub fn utimes(filename: *const ::c_char, times: *const ::timeval) -> ::c_int; | |
| ---------------------------------------------------------------------------- similarly named function `utimes` defined here | |
error[E0425]: cannot find value `ST_RDONLY` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/statvfs.rs:19:9 | |
| | |
19 | ST_RDONLY; | |
| ^^^^^^^^^ help: a constant with a similar name exists: `O_RDONLY` | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/newlib/mod.rs:386:1 | |
| | |
386 | pub const O_RDONLY: ::c_int = 0; | |
| --------------------------- similarly named constant `O_RDONLY` defined here | |
error[E0425]: cannot find value `ST_NOSUID` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/statvfs.rs:21:9 | |
| | |
21 | ST_NOSUID; | |
| ^^^^^^^^^ help: a constant with a similar name exists: `S_ISUID` | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:242:1 | |
| | |
242 | pub const S_ISUID: ::mode_t = 0x800; | |
| --------------------------- similarly named constant `S_ISUID` defined here | |
error[E0425]: cannot find value `B0` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:262:9 | |
| | |
262 | B0, | |
| ^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B0; | |
| | |
error[E0425]: cannot find value `B50` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:263:9 | |
| | |
263 | B50, | |
| ^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B50; | |
| | |
error[E0425]: cannot find value `B75` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:264:9 | |
| | |
264 | B75, | |
| ^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B75; | |
| | |
error[E0425]: cannot find value `B110` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:265:9 | |
| | |
265 | B110, | |
| ^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B110; | |
| | |
error[E0425]: cannot find value `B134` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:266:9 | |
| | |
266 | B134, | |
| ^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B134; | |
| | |
error[E0425]: cannot find value `B150` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:267:9 | |
| | |
267 | B150, | |
| ^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B150; | |
| | |
error[E0425]: cannot find value `B200` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:268:9 | |
| | |
268 | B200, | |
| ^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B200; | |
| | |
error[E0425]: cannot find value `B300` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:269:9 | |
| | |
269 | B300, | |
| ^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B300; | |
| | |
error[E0425]: cannot find value `B600` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:270:9 | |
| | |
270 | B600, | |
| ^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B600; | |
| | |
error[E0425]: cannot find value `B1200` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:271:9 | |
| | |
271 | B1200, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B1200; | |
| | |
error[E0425]: cannot find value `B1800` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:272:9 | |
| | |
272 | B1800, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B1800; | |
| | |
error[E0425]: cannot find value `B2400` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:273:9 | |
| | |
273 | B2400, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B2400; | |
| | |
error[E0425]: cannot find value `B4800` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:274:9 | |
| | |
274 | B4800, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B4800; | |
| | |
error[E0425]: cannot find value `B9600` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:282:9 | |
| | |
282 | B9600, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B9600; | |
| | |
error[E0425]: cannot find value `B19200` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:290:9 | |
| | |
290 | B19200, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B19200; | |
| | |
error[E0425]: cannot find value `B38400` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:298:9 | |
| | |
298 | B38400, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B38400; | |
| | |
error[E0425]: cannot find value `B57600` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:299:9 | |
| | |
299 | B57600, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B57600; | |
| | |
error[E0425]: cannot find value `B115200` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:307:9 | |
| | |
307 | B115200, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B115200; | |
| | |
error[E0425]: cannot find value `B230400` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:311:9 | |
| | |
311 | B230400, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B230400; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B0` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:262:9 | |
| | |
262 | B0, | |
| ^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B0; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B50` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:263:9 | |
| | |
263 | B50, | |
| ^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B50; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B75` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:264:9 | |
| | |
264 | B75, | |
| ^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B75; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B110` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:265:9 | |
| | |
265 | B110, | |
| ^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B110; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B134` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:266:9 | |
| | |
266 | B134, | |
| ^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B134; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B150` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:267:9 | |
| | |
267 | B150, | |
| ^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B150; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B200` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:268:9 | |
| | |
268 | B200, | |
| ^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B200; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B300` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:269:9 | |
| | |
269 | B300, | |
| ^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B300; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B600` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:270:9 | |
| | |
270 | B600, | |
| ^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B600; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B1200` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:271:9 | |
| | |
271 | B1200, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B1200; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B1800` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:272:9 | |
| | |
272 | B1800, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B1800; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B2400` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:273:9 | |
| | |
273 | B2400, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B2400; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B4800` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:274:9 | |
| | |
274 | B4800, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B4800; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B9600` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:282:9 | |
| | |
282 | B9600, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B9600; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B19200` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:290:9 | |
| | |
290 | B19200, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B19200; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B38400` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:298:9 | |
| | |
298 | B38400, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B38400; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B57600` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:299:9 | |
| | |
299 | B57600, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B57600; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B115200` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:307:9 | |
| | |
307 | B115200, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B115200; | |
| | |
error[E0531]: cannot find unit struct, unit variant or constant `B230400` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:311:9 | |
| | |
311 | B230400, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::BaudRate::B230400; | |
| | |
error[E0425]: cannot find value `TCSANOW` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:386:9 | |
| | |
386 | TCSANOW, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SetArg::TCSANOW; | |
| | |
error[E0425]: cannot find value `TCSADRAIN` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:388:9 | |
| | |
388 | TCSADRAIN, | |
| ^^^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SetArg::TCSADRAIN; | |
| | |
error[E0425]: cannot find value `TCSAFLUSH` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:390:9 | |
| | |
390 | TCSAFLUSH, | |
| ^^^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SetArg::TCSAFLUSH; | |
| | |
error[E0425]: cannot find value `TCIFLUSH` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:402:9 | |
| | |
402 | TCIFLUSH, | |
| ^^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::FlushArg::TCIFLUSH; | |
| | |
error[E0425]: cannot find value `TCOFLUSH` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:404:9 | |
| | |
404 | TCOFLUSH, | |
| ^^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::FlushArg::TCOFLUSH; | |
| | |
error[E0425]: cannot find value `TCIOFLUSH` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:406:9 | |
| | |
406 | TCIOFLUSH, | |
| ^^^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::FlushArg::TCIOFLUSH; | |
| | |
error[E0425]: cannot find value `TCOOFF` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:418:9 | |
| | |
418 | TCOOFF, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::FlowArg::TCOOFF; | |
| | |
error[E0425]: cannot find value `TCOON` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:420:9 | |
| | |
420 | TCOON, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::FlowArg::TCOON; | |
| | |
error[E0425]: cannot find value `TCIOFF` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:422:9 | |
| | |
422 | TCIOFF, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::FlowArg::TCIOFF; | |
| | |
error[E0425]: cannot find value `TCION` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:424:9 | |
| | |
424 | TCION, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::FlowArg::TCION; | |
| | |
error[E0425]: cannot find value `VDISCARD` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:434:9 | |
| | |
434 | VDISCARD, | |
| ^^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SpecialCharacterIndices::VDISCARD; | |
| | |
error[E0425]: cannot find value `VEOF` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:444:9 | |
| | |
444 | VEOF, | |
| ^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SpecialCharacterIndices::VEOF; | |
| | |
error[E0425]: cannot find value `VEOL` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:445:9 | |
| | |
445 | VEOL, | |
| ^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SpecialCharacterIndices::VEOL; | |
| | |
error[E0425]: cannot find value `VEOL2` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:446:9 | |
| | |
446 | VEOL2, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SpecialCharacterIndices::VEOL2; | |
| | |
error[E0425]: cannot find value `VERASE` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:447:9 | |
| | |
447 | VERASE, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SpecialCharacterIndices::VERASE; | |
| | |
error[E0425]: cannot find value `VINTR` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:454:9 | |
| | |
454 | VINTR, | |
| ^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/newlib/mod.rs:287:1 | |
| | |
287 | pub const EINTR: ::c_int = 4; | |
| ------------------------ similarly named constant `EINTR` defined here | |
| | |
help: a constant with a similar name exists | |
| | |
454 | EINTR, | |
| ~~~~~ | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SpecialCharacterIndices::VINTR; | |
| | |
error[E0425]: cannot find value `VKILL` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:455:9 | |
| | |
455 | VKILL, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SpecialCharacterIndices::VKILL; | |
| | |
error[E0425]: cannot find value `VLNEXT` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:456:9 | |
| | |
456 | VLNEXT, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SpecialCharacterIndices::VLNEXT; | |
| | |
error[E0425]: cannot find value `VMIN` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:460:9 | |
| | |
460 | VMIN, | |
| ^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SpecialCharacterIndices::VMIN; | |
| | |
error[E0425]: cannot find value `VQUIT` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:461:9 | |
| | |
461 | VQUIT, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SpecialCharacterIndices::VQUIT; | |
| | |
error[E0425]: cannot find value `VREPRINT` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:462:9 | |
| | |
462 | VREPRINT, | |
| ^^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SpecialCharacterIndices::VREPRINT; | |
| | |
error[E0425]: cannot find value `VSTART` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:463:9 | |
| | |
463 | VSTART, | |
| ^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SpecialCharacterIndices::VSTART; | |
| | |
error[E0425]: cannot find value `VSTOP` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:473:9 | |
| | |
473 | VSTOP, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SpecialCharacterIndices::VSTOP; | |
| | |
error[E0425]: cannot find value `VSUSP` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:474:9 | |
| | |
474 | VSUSP, | |
| ^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SpecialCharacterIndices::VSUSP; | |
| | |
error[E0425]: cannot find value `VTIME` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:484:9 | |
| | |
484 | VTIME, | |
| ^^^^^ | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/newlib/mod.rs:323:1 | |
| | |
323 | pub const ETIME: ::c_int = 62; | |
| ------------------------ similarly named constant `ETIME` defined here | |
| | |
help: a constant with a similar name exists | |
| | |
484 | ETIME, | |
| ~~~~~ | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SpecialCharacterIndices::VTIME; | |
| | |
error[E0425]: cannot find value `VWERASE` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:485:9 | |
| | |
485 | VWERASE, | |
| ^^^^^^^ not found in `libc` | |
| | |
help: consider importing this unit variant | |
| | |
154 | use crate::sys::termios::SpecialCharacterIndices::VWERASE; | |
| | |
error[E0425]: cannot find value `IGNBRK` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:513:9 | |
| | |
513 | IGNBRK; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `BRKINT` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:514:9 | |
| | |
514 | BRKINT; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `IGNPAR` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:515:9 | |
| | |
515 | IGNPAR; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `PARMRK` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:516:9 | |
| | |
516 | PARMRK; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `INPCK` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:517:9 | |
| | |
517 | INPCK; | |
| ^^^^^ not found in `libc` | |
error[E0425]: cannot find value `ISTRIP` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:518:9 | |
| | |
518 | ISTRIP; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `INLCR` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:519:9 | |
| | |
519 | INLCR; | |
| ^^^^^ not found in `libc` | |
error[E0425]: cannot find value `IGNCR` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:520:9 | |
| | |
520 | IGNCR; | |
| ^^^^^ not found in `libc` | |
error[E0425]: cannot find value `ICRNL` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:521:9 | |
| | |
521 | ICRNL; | |
| ^^^^^ not found in `libc` | |
error[E0425]: cannot find value `IXON` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:522:9 | |
| | |
522 | IXON; | |
| ^^^^ not found in `libc` | |
error[E0425]: cannot find value `IXOFF` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:523:9 | |
| | |
523 | IXOFF; | |
| ^^^^^ not found in `libc` | |
error[E0425]: cannot find value `IXANY` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:526:9 | |
| | |
526 | IXANY; | |
| ^^^^^ not found in `libc` | |
error[E0425]: cannot find value `IMAXBEL` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:529:9 | |
| | |
529 | IMAXBEL; | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `OPOST` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:539:9 | |
| | |
539 | OPOST; | |
| ^^^^^ not found in `libc` | |
error[E0425]: cannot find value `ONLCR` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:546:9 | |
| | |
546 | ONLCR; | |
| ^^^^^ not found in `libc` | |
error[E0425]: cannot find value `OCRNL` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:547:9 | |
| | |
547 | OCRNL as tcflag_t; | |
| ^^^^^ not found in `libc` | |
error[E0425]: cannot find value `ONOCR` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:548:9 | |
| | |
548 | ONOCR as tcflag_t; | |
| ^^^^^ not found in `libc` | |
error[E0425]: cannot find value `ONLRET` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:549:9 | |
| | |
549 | ONLRET as tcflag_t; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `CS5` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:758:9 | |
| | |
758 | CS5; | |
| ^^^ not found in `libc` | |
error[E0425]: cannot find value `CS6` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:759:9 | |
| | |
759 | CS6; | |
| ^^^ not found in `libc` | |
error[E0425]: cannot find value `CS7` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:760:9 | |
| | |
760 | CS7; | |
| ^^^ not found in `libc` | |
error[E0425]: cannot find value `CS8` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:761:9 | |
| | |
761 | CS8; | |
| ^^^ not found in `libc` | |
error[E0425]: cannot find value `CSTOPB` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:762:9 | |
| | |
762 | CSTOPB; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `CREAD` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:763:9 | |
| | |
763 | CREAD; | |
| ^^^^^ not found in `libc` | |
error[E0425]: cannot find value `PARENB` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:764:9 | |
| | |
764 | PARENB; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `PARODD` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:765:9 | |
| | |
765 | PARODD; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `HUPCL` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:766:9 | |
| | |
766 | HUPCL; | |
| ^^^^^ not found in `libc` | |
error[E0425]: cannot find value `CLOCAL` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:767:9 | |
| | |
767 | CLOCAL; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `CRTSCTS` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:770:9 | |
| | |
770 | CRTSCTS; | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `CSIZE` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:823:9 | |
| | |
823 | CSIZE; | |
| ^^^^^ not found in `libc` | |
error[E0425]: cannot find value `ECHOKE` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:832:9 | |
| | |
832 | ECHOKE; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `ECHOE` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:833:9 | |
| | |
833 | ECHOE; | |
| ^^^^^ not found in `libc` | |
error[E0425]: cannot find value `ECHOK` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:834:9 | |
| | |
834 | ECHOK; | |
| ^^^^^ not found in `libc` | |
error[E0425]: cannot find value `ECHO` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:835:9 | |
| | |
835 | ECHO; | |
| ^^^^ not found in `libc` | |
error[E0425]: cannot find value `ECHONL` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:836:9 | |
| | |
836 | ECHONL; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `ECHOPRT` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:839:9 | |
| | |
839 | ECHOPRT; | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `ECHOCTL` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:842:9 | |
| | |
842 | ECHOCTL; | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `ISIG` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:843:9 | |
| | |
843 | ISIG; | |
| ^^^^ not found in `libc` | |
error[E0425]: cannot find value `ICANON` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:844:9 | |
| | |
844 | ICANON; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `IEXTEN` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:853:9 | |
| | |
853 | IEXTEN; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `EXTPROC` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:856:9 | |
| | |
856 | EXTPROC; | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `TOSTOP` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:857:9 | |
| | |
857 | TOSTOP; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `FLUSHO` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:860:9 | |
| | |
860 | FLUSHO; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `PENDIN` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:871:9 | |
| | |
871 | PENDIN; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `NOFLSH` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/termios.rs:872:9 | |
| | |
872 | NOFLSH; | |
| ^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `WNOHANG` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/wait.rs:19:9 | |
| | |
19 | WNOHANG; | |
| ^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `WUNTRACED` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/wait.rs:25:9 | |
| | |
25 | WUNTRACED; | |
| ^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `WCONTINUED` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/wait.rs:40:9 | |
| | |
40 | WCONTINUED; | |
| ^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find function, tuple struct or tuple variant `WIFEXITED` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/wait.rs:147:11 | |
| | |
147 | libc::WIFEXITED(status) | |
| ^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find function, tuple struct or tuple variant `WEXITSTATUS` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/wait.rs:151:11 | |
| | |
151 | libc::WEXITSTATUS(status) | |
| ^^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find function, tuple struct or tuple variant `WIFSIGNALED` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/wait.rs:155:11 | |
| | |
155 | libc::WIFSIGNALED(status) | |
| ^^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find function, tuple struct or tuple variant `WTERMSIG` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/wait.rs:159:28 | |
| | |
159 | Signal::try_from(libc::WTERMSIG(status)) | |
| ^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find function, tuple struct or tuple variant `WCOREDUMP` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/wait.rs:163:11 | |
| | |
163 | libc::WCOREDUMP(status) | |
| ^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find function, tuple struct or tuple variant `WIFSTOPPED` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/wait.rs:167:11 | |
| | |
167 | libc::WIFSTOPPED(status) | |
| ^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find function, tuple struct or tuple variant `WSTOPSIG` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/wait.rs:171:28 | |
| | |
171 | Signal::try_from(libc::WSTOPSIG(status)) | |
| ^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find function, tuple struct or tuple variant `WIFCONTINUED` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/wait.rs:189:11 | |
| | |
189 | libc::WIFCONTINUED(status) | |
| ^^^^^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find function `mkfifoat` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:556:15 | |
| | |
556 | libc::mkfifoat(at_rawfd(dirfd), cstr.as_ptr(), mode.bits() as mode_t) | |
| ^^^^^^^^ help: a function with a similar name exists: `mkfifo` | |
| | |
::: /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.139/src/unix/mod.rs:1361:5 | |
| | |
1361 | pub fn mkfifo(path: *const c_char, mode: mode_t) -> ::c_int; | |
| ----------------------------------------------------------- similarly named function `mkfifo` defined here | |
error[E0425]: cannot find value `AT_FDCWD` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:582:47 | |
| | |
582 | dirfd.unwrap_or(libc::AT_FDCWD), | |
| ^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find value `F_OK` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:2823:9 | |
| | |
2823 | F_OK; | |
| ^^^^ not found in `libc` | |
error[E0425]: cannot find value `R_OK` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:2825:9 | |
| | |
2825 | R_OK; | |
| ^^^^ not found in `libc` | |
error[E0425]: cannot find value `W_OK` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:2827:9 | |
| | |
2827 | W_OK; | |
| ^^^^ not found in `libc` | |
error[E0425]: cannot find value `X_OK` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:2829:9 | |
| | |
2829 | X_OK; | |
| ^^^^ not found in `libc` | |
error[E0425]: cannot find value `PATH_MAX` in crate `libc` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:3205:35 | |
| | |
3205 | const PATH_MAX: usize = libc::PATH_MAX as usize; | |
| ^^^^^^^^ not found in `libc` | |
error[E0425]: cannot find function `errno_location` in this scope | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:40:10 | |
| | |
40 | *errno_location() = 0; | |
| ^^^^^^^^^^^^^^ not found in this scope | |
error[E0425]: cannot find function `errno_location` in this scope | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:46:15 | |
| | |
46 | unsafe { *errno_location() } | |
| ^^^^^^^^^^^^^^ not found in this scope | |
error[E0425]: cannot find function `from_i32` in this scope | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/errno.rs:96:9 | |
| | |
96 | from_i32(err) | |
| ^^^^^^^^ not found in this scope | |
| | |
help: consider using the associated function | |
| | |
96 | Self::from_i32(err) | |
| ~~~~~~~~~~~~~~ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:201:34 | |
| | |
201 | let fd = path.with_nix_path(|cstr| { | |
| ^^^^ | |
202 | unsafe { libc::open(cstr.as_ptr(), oflag.bits(), mode.bits() as c_uint) } | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
201 | let fd = path.with_nix_path(|cstr: _| { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:217:34 | |
| | |
217 | let fd = path.with_nix_path(|cstr| { | |
| ^^^^ | |
218 | unsafe { libc::openat(dirfd, cstr.as_ptr(), oflag.bits(), mode.bits() as c_uint) } | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
217 | let fd = path.with_nix_path(|cstr: _| { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:230:39 | |
| | |
230 | let res = old_path.with_nix_path(|old_cstr| { | |
| ^^^^^^^^ | |
... | |
234 | old_cstr.as_ptr(), | |
| -------- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
230 | let res = old_path.with_nix_path(|old_cstr: _| { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/fcntl.rs:296:25 | |
| | |
296 | path.with_nix_path(|cstr| unsafe { | |
| ^^^^ | |
... | |
303 | cstr.as_ptr(), | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
296 | path.with_nix_path(|cstr: _| unsafe { | |
| +++ | |
error[E0609]: no field `sa_sigaction` on type `sigaction` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:674:18 | |
| | |
674 | (*p).sa_sigaction = match handler { | |
| ^^^^^^^^^^^^ unknown field | |
| | |
= note: available fields are: `sa_handler`, `sa_mask`, `sa_flags` | |
error[E0609]: no field `sa_sigaction` on type `sigaction` | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/signal.rs:711:30 | |
| | |
711 | match self.sigaction.sa_sigaction { | |
| ^^^^^^^^^^^^ unknown field | |
| | |
= note: available fields are: `sa_handler`, `sa_mask`, `sa_flags` | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/stat.rs:48:35 | |
| | |
48 | let res = path.with_nix_path(|cstr| unsafe { | |
| ^^^^ | |
49 | libc::mknod(cstr.as_ptr(), kind.bits | perm.bits() as mode_t, dev) | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
48 | let res = path.with_nix_path(|cstr: _| unsafe { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/stat.rs:102:35 | |
| | |
102 | let res = path.with_nix_path(|cstr| { | |
| ^^^^ | |
103 | unsafe { | |
104 | libc::stat(cstr.as_ptr(), dst.as_mut_ptr()) | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
102 | let res = path.with_nix_path(|cstr: _| { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/stat.rs:115:35 | |
| | |
115 | let res = path.with_nix_path(|cstr| { | |
| ^^^^ | |
116 | unsafe { | |
117 | libc::lstat(cstr.as_ptr(), dst.as_mut_ptr()) | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
115 | let res = path.with_nix_path(|cstr: _| { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/stat.rs:139:39 | |
| | |
139 | let res = pathname.with_nix_path(|cstr| { | |
| ^^^^ | |
140 | unsafe { libc::fstatat(dirfd, cstr.as_ptr(), dst.as_mut_ptr(), f.bits() as libc::c_int) } | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
139 | let res = pathname.with_nix_path(|cstr: _| { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/stat.rs:195:35 | |
| | |
195 | let res = path.with_nix_path(|cstr| unsafe { | |
| ^^^^ | |
... | |
198 | cstr.as_ptr(), | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
195 | let res = path.with_nix_path(|cstr: _| unsafe { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/stat.rs:219:35 | |
| | |
219 | let res = path.with_nix_path(|cstr| unsafe { | |
| ^^^^ | |
220 | libc::utimes(cstr.as_ptr(), ×[0]) | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
219 | let res = path.with_nix_path(|cstr: _| unsafe { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/sys/stat.rs:319:35 | |
| | |
319 | let res = path.with_nix_path(|cstr| { | |
| ^^^^ | |
320 | unsafe { libc::mkdirat(fd, cstr.as_ptr(), mode.bits() as mode_t) } | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
319 | let res = path.with_nix_path(|cstr: _| { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:445:35 | |
| | |
445 | let res = path.with_nix_path(|cstr| { | |
| ^^^^ | |
446 | unsafe { libc::chdir(cstr.as_ptr()) } | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
445 | let res = path.with_nix_path(|cstr: _| { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:494:35 | |
| | |
494 | let res = path.with_nix_path(|cstr| { | |
| ^^^^ | |
495 | unsafe { libc::mkdir(cstr.as_ptr(), mode.bits() as mode_t) } | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
494 | let res = path.with_nix_path(|cstr: _| { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:533:35 | |
| | |
533 | let res = path.with_nix_path(|cstr| { | |
| ^^^^ | |
534 | unsafe { libc::mkfifo(cstr.as_ptr(), mode.bits() as mode_t) } | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
533 | let res = path.with_nix_path(|cstr: _| { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:577:30 | |
| | |
577 | path1.with_nix_path(|path1| { | |
| ^^^^^ | |
... | |
581 | path1.as_ptr(), | |
| ----- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
577 | path1.with_nix_path(|path1: _| { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:1161:35 | |
| | |
1161 | let res = path.with_nix_path(|cstr| { | |
| ^^^^ | |
1162 | unsafe { | |
1163 | libc::truncate(cstr.as_ptr(), len) | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
1161 | let res = path.with_nix_path(|cstr: _| { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:1229:32 | |
| | |
1229 | oldpath.with_nix_path(|oldcstr| { | |
| ^^^^^^^ | |
... | |
1234 | oldcstr.as_ptr(), | |
| ------- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
1229 | oldpath.with_nix_path(|oldcstr: _| { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:1250:35 | |
| | |
1250 | let res = path.with_nix_path(|cstr| { | |
| ^^^^ | |
1251 | unsafe { | |
1252 | libc::unlink(cstr.as_ptr()) | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
1250 | let res = path.with_nix_path(|cstr: _| { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:1286:35 | |
| | |
1286 | let res = path.with_nix_path(|cstr| { | |
| ^^^^ | |
1287 | unsafe { | |
1288 | libc::unlinkat(at_rawfd(dirfd), cstr.as_ptr(), atflag.bits() as libc::c_int) | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
1286 | let res = path.with_nix_path(|cstr: _| { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:1298:35 | |
| | |
1298 | let res = path.with_nix_path(|cstr| { | |
| ^^^^ | |
1299 | unsafe { libc::chroot(cstr.as_ptr()) } | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
1298 | let res = path.with_nix_path(|cstr: _| { | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:1859:44 | |
| | |
1859 | let mut path = template.with_nix_path(|path| {path.to_bytes_with_nul().to_owned()})?; | |
| ^^^^ ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
1859 | let mut path = template.with_nix_path(|path: _| {path.to_bytes_with_nul().to_owned()})?; | |
| +++ | |
error[E0282]: type annotations needed | |
--> /home/jtcf/.cargo/registry/src/github.com-1ecc6299db9ec823/nix-0.24.3/src/unistd.rs:2839:35 | |
| | |
2839 | let res = path.with_nix_path(|cstr| { | |
| ^^^^ | |
2840 | unsafe { | |
2841 | libc::access(cstr.as_ptr(), amode.bits) | |
| ---- type must be known at this point | |
| | |
help: consider giving this closure parameter an explicit type | |
| | |
2839 | let res = path.with_nix_path(|cstr: _| { | |
| +++ | |
Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433, E0531, E0573, E0609. | |
For more information about an error, try `rustc --explain E0282`. | |
error: could not compile `nix` due to 302 previous errors | |
warning: build failed, waiting for other jobs to finish... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment