Skip to content

Instantly share code, notes, and snippets.

@libbkmz
Created March 25, 2023 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save libbkmz/f026fd1650f270ac82e6c9340b0c2760 to your computer and use it in GitHub Desktop.
Save libbkmz/f026fd1650f270ac82e6c9340b0c2760 to your computer and use it in GitHub Desktop.
Compiling rustix v0.37.3
Compiling esp-idf-hal v0.40.1
Compiling esp-idf-sys v0.32.1
Compiling esp-idf-svc v0.45.0
Compiling rust-esp32-std-demo v0.29.0 (/home/user/dev/rust_esp/demo2)
error[E0432]: unresolved import `super::super::offset::libc_posix_fadvise`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/syscalls.rs:19:5
|
19 | use super::super::offset::libc_posix_fadvise;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `libc_posix_fadvise` in `backend::offset`
error[E0432]: unresolved import `super::super::offset::libc_posix_fallocate`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/syscalls.rs:31:5
|
31 | use super::super::offset::libc_posix_fallocate;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `libc_posix_fallocate` in `backend::offset`
error[E0432]: unresolved imports `super::super::offset::libc_fstatfs`, `super::super::offset::libc_statfs`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/syscalls.rs:40:28
|
40 | use super::super::offset::{libc_fstatfs, libc_statfs};
| ^^^^^^^^^^^^ ^^^^^^^^^^^ no `libc_statfs` in `backend::offset`
| |
| no `libc_fstatfs` in `backend::offset`
|
help: a similar name exists in the module
|
40 | use super::super::offset::{libc_fstatvfs, libc_statfs};
| ~~~~~~~~~~~~~
help: a similar name exists in the module
|
40 | use super::super::offset::{libc_fstatfs, libc_statvfs};
| ~~~~~~~~~~~~
error[E0432]: unresolved imports `c::F_RDLCK`, `c::F_UNLCK`, `c::F_WRLCK`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/syscalls.rs:840:20
|
840 | use c::{flock, F_RDLCK, F_SETLK, F_SETLKW, F_UNLCK, F_WRLCK, SEEK_SET};
| ^^^^^^^ ^^^^^^^ ^^^^^^^ no `F_WRLCK` in `backend::c`
| | |
| | no `F_UNLCK` in `backend::c`
| no `F_RDLCK` in `backend::c`
error[E0432]: unresolved imports `super::super::offset::libc_preadv`, `super::super::offset::libc_pwritev`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/syscalls.rs:11:28
|
11 | use super::super::offset::{libc_preadv, libc_pwritev};
| ^^^^^^^^^^^ ^^^^^^^^^^^^ no `libc_pwritev` in `backend::offset`
| |
| no `libc_preadv` in `backend::offset`
|
help: a similar name exists in the module
|
11 | use super::super::offset::{libc_pread, libc_pwritev};
| ~~~~~~~~~~
help: a similar name exists in the module
|
11 | use super::super::offset::{libc_preadv, libc_pwrite};
| ~~~~~~~~~~~
error[E0432]: unresolved import `super::super::offset::LIBC_RLIM_INFINITY`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/syscalls.rs:30:73
|
30 | super::super::offset::{libc_getrlimit, libc_rlimit, libc_setrlimit, LIBC_RLIM_INFINITY},
| ^^^^^^^^^^^^^^^^^^ no `LIBC_RLIM_INFINITY` in `backend::offset`
error[E0432]: unresolved imports `c::WCONTINUED`, `c::WEXITSTATUS`, `c::WIFCONTINUED`, `c::WIFEXITED`, `c::WIFSIGNALED`, `c::WIFSTOPPED`, `c::WNOHANG`, `c::WSTOPSIG`, `c::WTERMSIG`, `c::WUNTRACED`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/wait.rs:4:5
|
4 | WCONTINUED, WEXITSTATUS, WIFCONTINUED, WIFEXITED, WIFSIGNALED, WIFSTOPPED, WNOHANG, WSTOPSIG,
| ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ no `WSTOPSIG` in `backend::c`
| | | | | | | |
| | | | | | | no `WNOHANG` in `backend::c`
| | | | | | no `WIFSTOPPED` in `backend::c`
| | | | | no `WIFSIGNALED` in `backend::c`
| | | | no `WIFEXITED` in `backend::c`
| | | no `WIFCONTINUED` in `backend::c`
| | no `WEXITSTATUS` in `backend::c`
| no `WCONTINUED` in `backend::c`
5 | WTERMSIG, WUNTRACED,
| ^^^^^^^^ ^^^^^^^^^ no `WUNTRACED` in `backend::c`
| |
| no `WTERMSIG` in `backend::c`
error[E0432]: unresolved imports `c::WEXITED`, `c::WNOWAIT`, `c::WSTOPPED`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/wait.rs:9:20
|
9 | pub(crate) use c::{WEXITED, WNOWAIT, WSTOPPED};
| ^^^^^^^ ^^^^^^^ ^^^^^^^^ no `WSTOPPED` in `backend::c`
| | |
| | no `WNOWAIT` in `backend::c`
| no `WEXITED` in `backend::c`
error[E0432]: unresolved import `c::RLIM_INFINITY`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/offset.rs:34:43
|
34 | pub(super) use c::{rlimit as libc_rlimit, RLIM_INFINITY as LIBC_RLIM_INFINITY};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `RLIM_INFINITY` in `backend::c`
error[E0432]: unresolved import `c::posix_fadvise`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/offset.rs:130:16
|
130 | pub(super) use c::posix_fadvise as libc_posix_fadvise;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `posix_fadvise` in `backend::c`
error[E0432]: unresolved imports `c::preadv`, `c::pwritev`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/offset.rs:154:20
|
154 | pub(super) use c::{preadv as libc_preadv, pwritev as libc_pwritev};
| ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ no `pwritev` in `backend::c`
| |
| no `preadv` in `backend::c`
|
help: a similar name exists in the module
|
154 | pub(super) use c::{pread as libc_preadv, pwritev as libc_pwritev};
| ~~~~~
help: a similar name exists in the module
|
154 | pub(super) use c::{preadv as libc_preadv, pwrite as libc_pwritev};
| ~~~~~~
error[E0432]: unresolved import `c::posix_fallocate`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/offset.rs:381:16
|
381 | pub(super) use c::posix_fallocate as libc_posix_fallocate;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `posix_fallocate` in `backend::c`
error[E0432]: unresolved imports `c::fstatfs`, `c::statfs`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/offset.rs:395:17
|
395 | pub(super) use {c::fstatfs as libc_fstatfs, c::statfs as libc_statfs};
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ no `statfs` in `backend::c`
| |
| no `fstatfs` in `backend::c`
|
help: a similar name exists in the module
|
395 | pub(super) use {c::fstatvfs as libc_fstatfs, c::statfs as libc_statfs};
| ~~~~~~~~
help: a similar name exists in the module
|
395 | pub(super) use {c::fstatfs as libc_fstatfs, c::statvfs as libc_statfs};
| ~~~~~~~
error[E0432]: unresolved import `crate::io::fcntl_dupfd_cloexec`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/fs/fcntl.rs:21:9
|
21 | pub use crate::io::fcntl_dupfd_cloexec;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `fcntl_dupfd_cloexec` in `io`
error[E0425]: cannot find value `RTLD_DEFAULT` in crate `libc`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/weak.rs:114:23
|
114 | libc::dlsym(libc::RTLD_DEFAULT, name.as_ptr())
| ^^^^^^^^^^^^ not found in `libc`
error[E0425]: cannot find function `dirfd` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/dir.rs:114:50
|
114 | fstat(unsafe { BorrowedFd::borrow_raw(c::dirfd(self.0.as_ptr())) })
| ^^^^^ not found in `c`
error[E0425]: cannot find function `dirfd` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/dir.rs:127:52
|
127 | fstatfs(unsafe { BorrowedFd::borrow_raw(c::dirfd(self.0.as_ptr())) })
| ^^^^^ not found in `c`
error[E0425]: cannot find function `dirfd` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/dir.rs:134:53
|
134 | fstatvfs(unsafe { BorrowedFd::borrow_raw(c::dirfd(self.0.as_ptr())) })
| ^^^^^ not found in `c`
error[E0425]: cannot find function `dirfd` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/dir.rs:141:51
|
141 | fchdir(unsafe { BorrowedFd::borrow_raw(c::dirfd(self.0.as_ptr())) })
| ^^^^^ not found in `c`
error[E0425]: cannot find function `dirfd` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/dir.rs:294:39
|
294 | .field("fd", unsafe { &c::dirfd(self.0.as_ptr()) })
| ^^^^^ not found in `c`
error[E0425]: cannot find function `makedev` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/makedev.rs:13:8
|
13 | c::makedev(maj, min)
| ^^^^^^^ not found in `c`
|
help: consider importing this function
|
2 | use crate::fs::makedev;
|
help: if you import `makedev`, refer to it directly
|
13 - c::makedev(maj, min)
13 + makedev(maj, min)
|
error[E0425]: cannot find function `major` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/makedev.rs:63:17
|
63 | unsafe { c::major(dev) }
| ^^^^^ not found in `c`
|
help: consider importing this function
|
2 | use crate::fs::major;
|
help: if you import `major`, refer to it directly
|
63 - unsafe { c::major(dev) }
63 + unsafe { major(dev) }
|
error[E0425]: cannot find function `minor` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/makedev.rs:97:17
|
97 | unsafe { c::minor(dev) }
| ^^^^^ not found in `c`
|
help: consider importing this function
|
2 | use crate::fs::minor;
|
help: if you import `minor`, refer to it directly
|
97 - unsafe { c::minor(dev) }
97 + unsafe { minor(dev) }
|
error[E0425]: cannot find function `faccessat` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/syscalls.rs:413:16
|
413 | ret(c::faccessat(
| ^^^^^^^^^ help: a function with a similar name exists: `access`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:862:5
|
862 | pub fn access(path: *const c_char, amode: ::c_int) -> ::c_int;
| ------------------------------------------------------------- similarly named function `access` defined here
error[E0425]: cannot find function `utimensat` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/syscalls.rs:476:16
|
476 | ret(c::utimensat(
| ^^^^^^^^^
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:1190:5
|
1190 | pub fn utimes(filename: *const ::c_char, times: *const ::timeval) -> ::c_int;
| ---------------------------------------------------------------------------- similarly named function `utimes` defined here
|
help: a function with a similar name exists
|
476 | ret(c::utimes(
| ~~~~~~
help: consider importing this function
|
3 | use crate::fs::utimensat;
|
help: if you import `utimensat`, refer to it directly
|
476 - ret(c::utimensat(
476 + ret(utimensat(
|
error[E0425]: cannot find function `mknodat` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/syscalls.rs:709:16
|
709 | ret(c::mknodat(
| ^^^^^^^
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:1283:5
|
1283 | pub fn mknod(pathname: *const ::c_char, mode: ::mode_t, dev: ::dev_t) -> ::c_int;
| -------------------------------------------------------------------------------- similarly named function `mknod` defined here
|
help: a function with a similar name exists
|
709 | ret(c::mknod(
| ~~~~~
help: consider importing this function
|
3 | use crate::fs::mknodat;
|
help: if you import `mknodat`, refer to it directly
|
709 - ret(c::mknodat(
709 + ret(mknodat(
|
error[E0573]: expected type, found function `flock`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/syscalls.rs:852:23
|
852 | let mut lock: flock = core::mem::zeroed();
| ^^^^^ not a type
error[E0425]: cannot find function `futimens` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/syscalls.rs:1047:16
|
1047 | ret(c::futimens(borrowed_fd(fd), as_ptr(times).cast()))
| ^^^^^^^^
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:1190:5
|
1190 | pub fn utimes(filename: *const ::c_char, times: *const ::timeval) -> ::c_int;
| ---------------------------------------------------------------------------- similarly named function `utimes` defined here
|
help: a function with a similar name exists
|
1047 | ret(c::utimes(borrowed_fd(fd), as_ptr(times).cast()))
| ~~~~~~
help: consider importing this function
|
3 | use crate::fs::futimens;
|
help: if you import `futimens`, refer to it directly
|
1047 - ret(c::futimens(borrowed_fd(fd), as_ptr(times).cast()))
1047 + ret(futimens(borrowed_fd(fd), as_ptr(times).cast()))
|
error[E0425]: cannot find function `fdatasync` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/syscalls.rs:1194:21
|
1194 | unsafe { ret(c::fdatasync(borrowed_fd(fd))) }
| ^^^^^^^^^ not found in `c`
|
help: consider importing this function
|
3 | use crate::fs::fdatasync;
|
help: if you import `fdatasync`, refer to it directly
|
1194 - unsafe { ret(c::fdatasync(borrowed_fd(fd))) }
1194 + unsafe { ret(fdatasync(borrowed_fd(fd))) }
|
error[E0425]: cannot find value `R_OK` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:10:28
|
10 | const READ_OK = c::R_OK;
| ^^^^ not found in `c`
error[E0425]: cannot find value `W_OK` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:13:29
|
13 | const WRITE_OK = c::W_OK;
| ^^^^ not found in `c`
error[E0425]: cannot find value `X_OK` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:16:28
|
16 | const EXEC_OK = c::X_OK;
| ^^^^ not found in `c`
error[E0425]: cannot find value `F_OK` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:19:27
|
19 | const EXISTS = c::F_OK;
| ^^^^ not found in `c`
error[E0425]: cannot find value `AT_REMOVEDIR` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:32:30
|
32 | const REMOVEDIR = c::AT_REMOVEDIR;
| ^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `AT_SYMLINK_FOLLOW` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:35:35
|
35 | const SYMLINK_FOLLOW = c::AT_SYMLINK_FOLLOW;
| ^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `AT_SYMLINK_NOFOLLOW` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:38:37
|
38 | const SYMLINK_NOFOLLOW = c::AT_SYMLINK_NOFOLLOW;
| ^^^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `AT_EACCESS` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:50:28
|
50 | const EACCESS = c::AT_EACCESS;
| ^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `S_IRWXU` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:75:25
|
75 | const RWXU = c::S_IRWXU as RawMode;
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `S_IRWXG` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:91:25
|
91 | const RWXG = c::S_IRWXG as RawMode;
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `S_IRWXO` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:107:25
|
107 | const RWXO = c::S_IRWXO as RawMode;
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `O_DIRECTORY` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:175:30
|
175 | const DIRECTORY = c::O_DIRECTORY;
| ^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `O_DSYNC` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:179:26
|
179 | const DSYNC = c::O_DSYNC;
| ^^^^^^^ help: a constant with a similar name exists: `O_SYNC`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/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_NOFOLLOW` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:192:29
|
192 | const NOFOLLOW = c::O_NOFOLLOW;
| ^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `O_NOCTTY` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:208:27
|
208 | const NOCTTY = c::O_NOCTTY;
| ^^^^^^^^ not found in `c`
error[E0425]: cannot find value `POSIX_FADV_NORMAL` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:468:17
|
468 | Normal = c::POSIX_FADV_NORMAL as c::c_uint,
| ^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `POSIX_FADV_SEQUENTIAL` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:471:21
|
471 | Sequential = c::POSIX_FADV_SEQUENTIAL as c::c_uint,
| ^^^^^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `POSIX_FADV_RANDOM` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:474:17
|
474 | Random = c::POSIX_FADV_RANDOM as c::c_uint,
| ^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `POSIX_FADV_NOREUSE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:477:18
|
477 | NoReuse = c::POSIX_FADV_NOREUSE as c::c_uint,
| ^^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `POSIX_FADV_WILLNEED` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:480:19
|
480 | WillNeed = c::POSIX_FADV_WILLNEED as c::c_uint,
| ^^^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `POSIX_FADV_DONTNEED` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:483:19
|
483 | DontNeed = c::POSIX_FADV_DONTNEED as c::c_uint,
| ^^^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `FALLOC_FL_KEEP_SIZE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:689:30
|
689 | const KEEP_SIZE = c::FALLOC_FL_KEEP_SIZE;
| ^^^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `FALLOC_FL_PUNCH_HOLE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:697:31
|
697 | const PUNCH_HOLE = c::FALLOC_FL_PUNCH_HOLE;
| ^^^^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `FALLOC_FL_NO_HIDE_STALE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:708:34
|
708 | const NO_HIDE_STALE = c::FALLOC_FL_NO_HIDE_STALE;
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `FALLOC_FL_COLLAPSE_RANGE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:717:35
|
717 | const COLLAPSE_RANGE = c::FALLOC_FL_COLLAPSE_RANGE;
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `FALLOC_FL_ZERO_RANGE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:726:31
|
726 | const ZERO_RANGE = c::FALLOC_FL_ZERO_RANGE;
| ^^^^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `FALLOC_FL_INSERT_RANGE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:735:33
|
735 | const INSERT_RANGE = c::FALLOC_FL_INSERT_RANGE;
| ^^^^^^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `FALLOC_FL_UNSHARE_RANGE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:744:34
|
744 | const UNSHARE_RANGE = c::FALLOC_FL_UNSHARE_RANGE;
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `ST_NOSUID` in crate `libc`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:773:30
|
773 | const NOSUID = libc::ST_NOSUID as u64;
| ^^^^^^^^^ help: a constant with a similar name exists: `S_ISUID`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/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 `ST_RDONLY` in crate `libc`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:776:30
|
776 | const RDONLY = libc::ST_RDONLY as u64;
| ^^^^^^^^^ help: a constant with a similar name exists: `O_RDONLY`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/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 `LOCK_SH` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:797:21
|
797 | LockShared = c::LOCK_SH,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `LOCK_EX` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:799:24
|
799 | LockExclusive = c::LOCK_EX,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `LOCK_UN` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:801:17
|
801 | Unlock = c::LOCK_UN,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `LOCK_SH` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:803:32
|
803 | NonBlockingLockShared = c::LOCK_SH | c::LOCK_NB,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `LOCK_NB` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:803:45
|
803 | NonBlockingLockShared = c::LOCK_SH | c::LOCK_NB,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `LOCK_EX` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:805:35
|
805 | NonBlockingLockExclusive = c::LOCK_EX | c::LOCK_NB,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `LOCK_NB` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:805:48
|
805 | NonBlockingLockExclusive = c::LOCK_EX | c::LOCK_NB,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `LOCK_UN` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:807:28
|
807 | NonBlockingUnlock = c::LOCK_UN | c::LOCK_NB,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `LOCK_NB` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:807:41
|
807 | NonBlockingUnlock = c::LOCK_UN | c::LOCK_NB,
| ^^^^^^^ not found in `c`
error[E0412]: cannot find type `statfs` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/fs/types.rs:877:22
|
877 | pub type StatFs = c::statfs;
| ^^^^^^ help: a struct with a similar name exists: `statvfs`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/newlib/mod.rs:51:1
|
51 | / s! {
52 | | // The order of the `ai_addr` field in this struct is crucial
53 | | // for converting between the Rust and C types.
54 | | pub struct addrinfo {
... |
228 | | }
229 | | }
| |_- similarly named struct `statvfs` defined here
error[E0425]: cannot find value `EADV` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:34:35
|
34 | pub const ADV: Self = Self(c::EADV);
| ^^^^ not found in `c`
error[E0425]: cannot find value `EBADE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:52:36
|
52 | pub const BADE: Self = Self(c::EBADE);
| ^^^^^ help: a constant with a similar name exists: `EBADF`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/newlib/mod.rs:292:1
|
292 | pub const EBADF: ::c_int = 9;
| ------------------------ similarly named constant `EBADF` defined here
error[E0425]: cannot find value `EBADFD` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:63:37
|
63 | pub const BADFD: Self = Self(c::EBADFD);
| ^^^^^^ help: a constant with a similar name exists: `EBADF`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/newlib/mod.rs:292:1
|
292 | pub const EBADF: ::c_int = 9;
| ------------------------ similarly named constant `EBADF` defined here
error[E0425]: cannot find value `EBADR` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:75:36
|
75 | pub const BADR: Self = Self(c::EBADR);
| ^^^^^ help: a constant with a similar name exists: `EBADF`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/newlib/mod.rs:292:1
|
292 | pub const EBADF: ::c_int = 9;
| ------------------------ similarly named constant `EBADF` defined here
error[E0425]: cannot find value `EBADRQC` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:87:38
|
87 | pub const BADRQC: Self = Self(c::EBADRQC);
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `EBADSLT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:96:38
|
96 | pub const BADSLT: Self = Self(c::EBADSLT);
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `EBFONT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:105:37
|
105 | pub const BFONT: Self = Self(c::EBFONT);
| ^^^^^^ not found in `c`
error[E0425]: cannot find value `ECHRNG` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:119:37
|
119 | pub const CHRNG: Self = Self(c::ECHRNG);
| ^^^^^^ not found in `c`
error[E0425]: cannot find value `ECOMM` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:128:36
|
128 | pub const COMM: Self = Self(c::ECOMM);
| ^^^^^ not found in `c`
error[E0425]: cannot find value `EDEADLOCK` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:147:40
|
147 | pub const DEADLOCK: Self = Self(c::EDEADLOCK);
| ^^^^^^^^^ help: a constant with a similar name exists: `EDEADLK`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/newlib/mod.rs:319:1
|
319 | pub const EDEADLK: ::c_int = 45;
| -------------------------- similarly named constant `EDEADLK` defined here
error[E0425]: cannot find value `EDOTDOT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:168:38
|
168 | pub const DOTDOT: Self = Self(c::EDOTDOT);
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `EHWPOISON` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:198:40
|
198 | pub const HWPOISON: Self = Self(c::EHWPOISON);
| ^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `EISNAM` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:239:37
|
239 | pub const ISNAM: Self = Self(c::EISNAM);
| ^^^^^^ not found in `c`
error[E0425]: cannot find value `EKEYEXPIRED` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:249:42
|
249 | pub const KEYEXPIRED: Self = Self(c::EKEYEXPIRED);
| ^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `EKEYREJECTED` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:259:43
|
259 | pub const KEYREJECTED: Self = Self(c::EKEYREJECTED);
| ^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `EKEYREVOKED` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:269:42
|
269 | pub const KEYREVOKED: Self = Self(c::EKEYREVOKED);
| ^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `EL2HLT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:272:37
|
272 | pub const L2HLT: Self = Self(c::EL2HLT);
| ^^^^^^ not found in `c`
error[E0425]: cannot find value `EL2NSYNC` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:275:39
|
275 | pub const L2NSYNC: Self = Self(c::EL2NSYNC);
| ^^^^^^^^ not found in `c`
error[E0425]: cannot find value `EL3HLT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:278:37
|
278 | pub const L3HLT: Self = Self(c::EL3HLT);
| ^^^^^^ not found in `c`
error[E0425]: cannot find value `EL3RST` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:281:37
|
281 | pub const L3RST: Self = Self(c::EL3RST);
| ^^^^^^ not found in `c`
error[E0425]: cannot find value `ELIBACC` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:290:38
|
290 | pub const LIBACC: Self = Self(c::ELIBACC);
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `ELIBBAD` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:299:38
|
299 | pub const LIBBAD: Self = Self(c::ELIBBAD);
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `ELIBEXEC` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:308:39
|
308 | pub const LIBEXEC: Self = Self(c::ELIBEXEC);
| ^^^^^^^^ not found in `c`
error[E0425]: cannot find value `ELIBMAX` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:317:38
|
317 | pub const LIBMAX: Self = Self(c::ELIBMAX);
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `ELIBSCN` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:326:38
|
326 | pub const LIBSCN: Self = Self(c::ELIBSCN);
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `ELNRNG` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:329:37
|
329 | pub const LNRNG: Self = Self(c::ELNRNG);
| ^^^^^^ not found in `c`
error[E0425]: cannot find value `EMEDIUMTYPE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:341:42
|
341 | pub const MEDIUMTYPE: Self = Self(c::EMEDIUMTYPE);
| ^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `ENAVAIL` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:363:38
|
363 | pub const NAVAIL: Self = Self(c::ENAVAIL);
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `ENOANO` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:384:37
|
384 | pub const NOANO: Self = Self(c::ENOANO);
| ^^^^^^ help: a constant with a similar name exists: `ENOENT`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/newlib/mod.rs:285:1
|
285 | pub const ENOENT: ::c_int = 2;
| ------------------------- similarly named constant `ENOENT` defined here
error[E0425]: cannot find value `ENOCSI` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:392:37
|
392 | pub const NOCSI: Self = Self(c::ENOCSI);
| ^^^^^^ help: a constant with a similar name exists: `ENOMSG`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/newlib/mod.rs:317:1
|
317 | pub const ENOMSG: ::c_int = 35;
| ------------------------- similarly named constant `ENOMSG` defined here
error[E0425]: cannot find value `ENOKEY` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:420:37
|
420 | pub const NOKEY: Self = Self(c::ENOKEY);
| ^^^^^^ help: a constant with a similar name exists: `ENODEV`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/newlib/mod.rs:301:1
|
301 | pub const ENODEV: ::c_int = 19;
| ------------------------- similarly named constant `ENODEV` defined here
error[E0425]: cannot find value `ENOMEDIUM` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:436:40
|
436 | pub const NOMEDIUM: Self = Self(c::ENOMEDIUM);
| ^^^^^^^^^ help: a constant with a similar name exists: `ENOMEM`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/newlib/mod.rs:295:1
|
295 | pub const ENOMEM: ::c_int = 12;
| ------------------------- similarly named constant `ENOMEM` defined here
error[E0425]: cannot find value `ENONET` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:454:37
|
454 | pub const NONET: Self = Self(c::ENONET);
| ^^^^^^ help: a constant with a similar name exists: `ENODEV`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/newlib/mod.rs:301:1
|
301 | pub const ENODEV: ::c_int = 19;
| ------------------------- similarly named constant `ENODEV` defined here
error[E0425]: cannot find value `ENOPKG` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:463:37
|
463 | pub const NOPKG: Self = Self(c::ENOPKG);
| ^^^^^^ help: a constant with a similar name exists: `ENOMSG`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/newlib/mod.rs:317:1
|
317 | pub const ENOMSG: ::c_int = 35;
| ------------------------- similarly named constant `ENOMSG` defined here
error[E0425]: cannot find value `ENOTBLK` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:492:38
|
492 | pub const NOTBLK: Self = Self(c::ENOTBLK);
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `ENOTNAM` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:512:38
|
512 | pub const NOTNAM: Self = Self(c::ENOTNAM);
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `ENOTUNIQ` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:532:39
|
532 | pub const NOTUNIQ: Self = Self(c::ENOTUNIQ);
| ^^^^^^^^ not found in `c`
error[E0425]: cannot find value `EREMCHG` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:589:38
|
589 | pub const REMCHG: Self = Self(c::EREMCHG);
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `EREMOTE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:592:38
|
592 | pub const REMOTE: Self = Self(c::EREMOTE);
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `EREMOTEIO` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:602:40
|
602 | pub const REMOTEIO: Self = Self(c::EREMOTEIO);
| ^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `ERESTART` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:605:39
|
605 | pub const RESTART: Self = Self(c::ERESTART);
| ^^^^^^^^ not found in `c`
error[E0425]: cannot find value `ERFKILL` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:617:38
|
617 | pub const RFKILL: Self = Self(c::ERFKILL);
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `ESHUTDOWN` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:626:40
|
626 | pub const SHUTDOWN: Self = Self(c::ESHUTDOWN);
| ^^^^^^^^^ help: a constant with a similar name exists: `EHOSTDOWN`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/newlib/mod.rs:348:1
|
348 | pub const EHOSTDOWN: ::c_int = 117;
| ---------------------------- similarly named constant `EHOSTDOWN` defined here
error[E0425]: cannot find value `ESOCKTNOSUPPORT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:629:46
|
629 | pub const SOCKTNOSUPPORT: Self = Self(c::ESOCKTNOSUPPORT);
| ^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `EAFNOSUPPORT`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/newlib/mod.rs:338:1
|
338 | pub const EAFNOSUPPORT: ::c_int = 106;
| ------------------------------- similarly named constant `EAFNOSUPPORT` defined here
error[E0425]: cannot find value `ESRMNT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:644:37
|
644 | pub const SRMNT: Self = Self(c::ESRMNT);
| ^^^^^^ not found in `c`
error[E0425]: cannot find value `ESTRPIPE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:655:39
|
655 | pub const STRPIPE: Self = Self(c::ESTRPIPE);
| ^^^^^^^^ help: a constant with a similar name exists: `ESPIPE`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/newlib/mod.rs:311:1
|
311 | pub const ESPIPE: ::c_int = 29;
| ------------------------- similarly named constant `ESPIPE` defined here
error[E0425]: cannot find value `EUCLEAN` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:680:38
|
680 | pub const UCLEAN: Self = Self(c::EUCLEAN);
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `EUNATCH` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:683:38
|
683 | pub const UNATCH: Self = Self(c::EUNATCH);
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `EUSERS` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:686:37
|
686 | pub const USERS: Self = Self(c::EUSERS);
| ^^^^^^ not found in `c`
error[E0425]: cannot find value `EXFULL` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/errno.rs:700:37
|
700 | pub const XFULL: Self = Self(c::EXFULL);
| ^^^^^^ not found in `c`
error[E0425]: cannot find value `POLLNVAL` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/poll_fd.rs:40:25
|
40 | const NVAL = c::POLLNVAL;
| ^^^^^^^^ not found in `c`
error[E0425]: cannot find value `O_DIRECT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/types.rs:84:27
|
84 | const DIRECT = c::O_DIRECT;
| ^^^^^^^^ not found in `c`
error[E0425]: cannot find value `PIPE_BUF` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/types.rs:107:32
|
107 | pub const PIPE_BUF: usize = c::PIPE_BUF;
| ^^^^^^^^ not found in `c`
|
help: consider importing this constant
|
1 | use crate::io::PIPE_BUF;
|
help: if you import `PIPE_BUF`, refer to it directly
|
107 - pub const PIPE_BUF: usize = c::PIPE_BUF;
107 + pub const PIPE_BUF: usize = PIPE_BUF;
|
error[E0425]: cannot find value `AT_FDCWD` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/types.rs:110:42
|
110 | pub(crate) const AT_FDCWD: c::c_int = c::AT_FDCWD;
| ^^^^^^^^ not found in `c`
error[E0425]: cannot find function `readv` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/syscalls.rs:92:24
|
92 | ret_ssize_t(c::readv(
| ^^^^^
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:922:5
|
922 | pub fn read(fd: ::c_int, buf: *mut ::c_void, count: ::size_t) -> ::ssize_t;
| -------------------------------------------------------------------------- similarly named function `read` defined here
|
help: a function with a similar name exists
|
92 | ret_ssize_t(c::read(
| ~~~~
help: consider importing this function
|
3 | use crate::io::readv;
|
help: if you import `readv`, refer to it directly
|
92 - ret_ssize_t(c::readv(
92 + ret_ssize_t(readv(
|
error[E0425]: cannot find function `writev` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/syscalls.rs:103:24
|
103 | ret_ssize_t(c::writev(
| ^^^^^^
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:967:5
|
967 | pub fn write(fd: ::c_int, buf: *const ::c_void, count: ::size_t) -> ::ssize_t;
| ----------------------------------------------------------------------------- similarly named function `write` defined here
|
help: a function with a similar name exists
|
103 | ret_ssize_t(c::write(
| ~~~~~
help: consider importing this function
|
3 | use crate::io::writev;
|
help: if you import `writev`, refer to it directly
|
103 - ret_ssize_t(c::writev(
103 + ret_ssize_t(writev(
|
error[E0425]: cannot find value `FIONREAD` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/syscalls.rs:324:42
|
324 | ret(c::ioctl(borrowed_fd(fd), c::FIONREAD, nread.as_mut_ptr()))?;
| ^^^^^^^^ not found in `c`
error[E0425]: cannot find function `dup3` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/syscalls.rs:426:29
|
426 | ret_discarded_fd(c::dup3(
| ^^^^
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:881:5
|
881 | pub fn dup(fd: ::c_int) -> ::c_int;
| ---------------------------------- similarly named function `dup` defined here
|
help: a function with a similar name exists
|
426 | ret_discarded_fd(c::dup(
| ~~~
help: consider importing this function
|
3 | use crate::io::dup3;
|
help: if you import `dup3`, refer to it directly
|
426 - ret_discarded_fd(c::dup3(
426 + ret_discarded_fd(dup3(
|
error[E0425]: cannot find value `TIOCEXCL` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/syscalls.rs:456:47
|
456 | unsafe { ret(c::ioctl(borrowed_fd(fd), c::TIOCEXCL as _)) }
| ^^^^^^^^ not found in `c`
error[E0425]: cannot find value `TIOCNXCL` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/syscalls.rs:461:47
|
461 | unsafe { ret(c::ioctl(borrowed_fd(fd), c::TIOCNXCL as _)) }
| ^^^^^^^^ not found in `c`
error[E0425]: cannot find function `pipe2` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/syscalls.rs:506:16
|
506 | ret(c::pipe2(result.as_mut_ptr().cast::<i32>(), flags.bits()))?;
| ^^^^^ help: a function with a similar name exists: `pipe`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:916:5
|
916 | pub fn pipe(fds: *mut ::c_int) -> ::c_int;
| ----------------------------------------- similarly named function `pipe` defined here
error[E0425]: cannot find function `getpriority` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/syscalls.rs:244:25
|
244 | let r = unsafe { c::getpriority(c::PRIO_USER, uid.as_raw() as _) };
| ^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find function `getpriority` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/syscalls.rs:256:25
|
256 | let r = unsafe { c::getpriority(c::PRIO_PGRP, Pid::as_raw(pgid) as _) };
| ^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find function `getpriority` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/syscalls.rs:268:25
|
268 | let r = unsafe { c::getpriority(c::PRIO_PROCESS, Pid::as_raw(pid) as _) };
| ^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find function `setpriority` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/syscalls.rs:279:21
|
279 | unsafe { ret(c::setpriority(c::PRIO_USER, uid.as_raw() as _, priority)) }
| ^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find function `setpriority` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/syscalls.rs:286:16
|
286 | ret(c::setpriority(
| ^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find function `setpriority` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/syscalls.rs:298:16
|
298 | ret(c::setpriority(
| ^^^^^^^^^^^ not found in `c`
error[E0412]: cannot find type `siginfo_t` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/syscalls.rs:420:39
|
420 | let mut status = MaybeUninit::<c::siginfo_t>::uninit();
| ^^^^^^^^^ not found in `c`
error[E0425]: cannot find function `waitid` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/syscalls.rs:422:16
|
422 | ret(c::waitid(
| ^^^^^^
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:962:5
|
962 | pub fn waitpid(pid: pid_t, status: *mut ::c_int, options: ::c_int) -> pid_t;
| --------------------------------------------------------------------------- similarly named function `waitpid` defined here
|
help: a function with a similar name exists
|
422 | ret(c::waitpid(
| ~~~~~~~
help: consider importing this function
|
3 | use crate::process::waitid;
|
help: if you import `waitid`, refer to it directly
|
422 - ret(c::waitid(
422 + ret(waitid(
|
error[E0425]: cannot find value `P_ALL` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/syscalls.rs:423:16
|
423 | c::P_ALL,
| ^^^^^ not found in `c`
error[E0412]: cannot find type `siginfo_t` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/syscalls.rs:436:39
|
436 | let mut status = MaybeUninit::<c::siginfo_t>::uninit();
| ^^^^^^^^^ not found in `c`
error[E0425]: cannot find function `waitid` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/syscalls.rs:438:16
|
438 | ret(c::waitid(
| ^^^^^^
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:962:5
|
962 | pub fn waitpid(pid: pid_t, status: *mut ::c_int, options: ::c_int) -> pid_t;
| --------------------------------------------------------------------------- similarly named function `waitpid` defined here
|
help: a function with a similar name exists
|
438 | ret(c::waitpid(
| ~~~~~~~
help: consider importing this function
|
3 | use crate::process::waitid;
|
help: if you import `waitid`, refer to it directly
|
438 - ret(c::waitid(
438 + ret(waitid(
|
error[E0425]: cannot find value `P_PID` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/syscalls.rs:439:16
|
439 | c::P_PID,
| ^^^^^ not found in `c`
error[E0412]: cannot find type `siginfo_t` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/syscalls.rs:473:52
|
473 | unsafe fn cvt_waitid_status(status: MaybeUninit<c::siginfo_t>) -> Option<WaitidStatus> {
| ^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `RLIMIT_CPU` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:49:14
|
49 | Cpu = c::RLIMIT_CPU as c::c_int,
| ^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `RLIMIT_FSIZE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:51:16
|
51 | Fsize = c::RLIMIT_FSIZE as c::c_int,
| ^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `RLIMIT_DATA` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:53:15
|
53 | Data = c::RLIMIT_DATA as c::c_int,
| ^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `RLIMIT_STACK` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:55:16
|
55 | Stack = c::RLIMIT_STACK as c::c_int,
| ^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `RLIMIT_CORE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:58:15
|
58 | Core = c::RLIMIT_CORE as c::c_int,
| ^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `RLIMIT_RSS` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:61:14
|
61 | Rss = c::RLIMIT_RSS as c::c_int,
| ^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `RLIMIT_NPROC` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:64:16
|
64 | Nproc = c::RLIMIT_NPROC as c::c_int,
| ^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `RLIMIT_NOFILE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:66:17
|
66 | Nofile = c::RLIMIT_NOFILE as c::c_int,
| ^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `RLIMIT_MEMLOCK` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:69:18
|
69 | Memlock = c::RLIMIT_MEMLOCK as c::c_int,
| ^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `RLIMIT_AS` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:72:13
|
72 | As = c::RLIMIT_AS as c::c_int,
| ^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `RLIMIT_LOCKS` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:75:16
|
75 | Locks = c::RLIMIT_LOCKS as c::c_int,
| ^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `RLIMIT_SIGPENDING` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:78:21
|
78 | Sigpending = c::RLIMIT_SIGPENDING as c::c_int,
| ^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `RLIMIT_MSGQUEUE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:81:19
|
81 | Msgqueue = c::RLIMIT_MSGQUEUE as c::c_int,
| ^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `RLIMIT_NICE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:84:15
|
84 | Nice = c::RLIMIT_NICE as c::c_int,
| ^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `RLIMIT_RTPRIO` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:87:17
|
87 | Rtprio = c::RLIMIT_RTPRIO as c::c_int,
| ^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `RLIMIT_RTTIME` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:97:17
|
97 | Rttime = c::RLIMIT_RTTIME as c::c_int,
| ^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGHUP` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:118:14
|
118 | Hup = c::SIGHUP,
| ^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGINT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:120:14
|
120 | Int = c::SIGINT,
| ^^^^^^ help: a constant with a similar name exists: `SIGIOT`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:240:1
|
240 | pub const SIGIOT: ::c_int = 6;
| ------------------------- similarly named constant `SIGIOT` defined here
error[E0425]: cannot find value `SIGQUIT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:122:15
|
122 | Quit = c::SIGQUIT,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGILL` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:124:14
|
124 | Ill = c::SIGILL,
| ^^^^^^ help: a constant with a similar name exists: `SIGIOT`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:240:1
|
240 | pub const SIGIOT: ::c_int = 6;
| ------------------------- similarly named constant `SIGIOT` defined here
error[E0425]: cannot find value `SIGTRAP` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:126:15
|
126 | Trap = c::SIGTRAP,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGABRT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:130:16
|
130 | Abort = c::SIGABRT,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGBUS` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:132:14
|
132 | Bus = c::SIGBUS,
| ^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGFPE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:134:14
|
134 | Fpe = c::SIGFPE,
| ^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGKILL` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:136:15
|
136 | Kill = c::SIGKILL,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGUSR1` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:138:15
|
138 | Usr1 = c::SIGUSR1,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGSEGV` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:140:15
|
140 | Segv = c::SIGSEGV,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGUSR2` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:142:15
|
142 | Usr2 = c::SIGUSR2,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGPIPE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:144:15
|
144 | Pipe = c::SIGPIPE,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGALRM` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:147:16
|
147 | Alarm = c::SIGALRM,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGTERM` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:149:15
|
149 | Term = c::SIGTERM,
| ^^^^^^^ help: a constant with a similar name exists: `SIG_ERR`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:214:1
|
214 | pub const SIG_ERR: sighandler_t = !0 as sighandler_t;
| ------------------------------- similarly named constant `SIG_ERR` defined here
error[E0425]: cannot find value `SIGSTKFLT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:166:17
|
166 | Stkflt = c::SIGSTKFLT,
| ^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGCHLD` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:169:16
|
169 | Child = c::SIGCHLD,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGCONT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:171:15
|
171 | Cont = c::SIGCONT,
| ^^^^^^^ help: a constant with a similar name exists: `SIGIOT`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:240:1
|
240 | pub const SIGIOT: ::c_int = 6;
| ------------------------- similarly named constant `SIGIOT` defined here
error[E0425]: cannot find value `SIGSTOP` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:173:15
|
173 | Stop = c::SIGSTOP,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGTSTP` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:175:15
|
175 | Tstp = c::SIGTSTP,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGTTIN` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:177:15
|
177 | Ttin = c::SIGTTIN,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGTTOU` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:179:15
|
179 | Ttou = c::SIGTTOU,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGURG` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:181:14
|
181 | Urg = c::SIGURG,
| ^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGXCPU` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:183:15
|
183 | Xcpu = c::SIGXCPU,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGXFSZ` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:185:15
|
185 | Xfsz = c::SIGXFSZ,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGVTALRM` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:188:18
|
188 | Vtalarm = c::SIGVTALRM,
| ^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGPROF` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:190:15
|
190 | Prof = c::SIGPROF,
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGWINCH` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:192:16
|
192 | Winch = c::SIGWINCH,
| ^^^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGIO` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:196:13
|
196 | Io = c::SIGIO,
| ^^^^^ help: a constant with a similar name exists: `SIGIOT`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:240:1
|
240 | pub const SIGIOT: ::c_int = 6;
| ------------------------- similarly named constant `SIGIOT` defined here
error[E0425]: cannot find value `SIGPWR` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:200:16
|
200 | Power = c::SIGPWR,
| ^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGSYS` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:203:14
|
203 | Sys = c::SIGSYS,
| ^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGHUP` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:211:16
|
211 | c::SIGHUP => Some(Self::Hup),
| ^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGINT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:212:16
|
212 | c::SIGINT => Some(Self::Int),
| ^^^^^^ help: a constant with a similar name exists: `SIGIOT`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:240:1
|
240 | pub const SIGIOT: ::c_int = 6;
| ------------------------- similarly named constant `SIGIOT` defined here
error[E0531]: cannot find unit struct, unit variant or constant `SIGQUIT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:213:16
|
213 | c::SIGQUIT => Some(Self::Quit),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGILL` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:214:16
|
214 | c::SIGILL => Some(Self::Ill),
| ^^^^^^ help: a constant with a similar name exists: `SIGIOT`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:240:1
|
240 | pub const SIGIOT: ::c_int = 6;
| ------------------------- similarly named constant `SIGIOT` defined here
error[E0531]: cannot find unit struct, unit variant or constant `SIGTRAP` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:215:16
|
215 | c::SIGTRAP => Some(Self::Trap),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGABRT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:216:16
|
216 | c::SIGABRT => Some(Self::Abort),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGBUS` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:217:16
|
217 | c::SIGBUS => Some(Self::Bus),
| ^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGFPE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:218:16
|
218 | c::SIGFPE => Some(Self::Fpe),
| ^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGKILL` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:219:16
|
219 | c::SIGKILL => Some(Self::Kill),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGUSR1` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:220:16
|
220 | c::SIGUSR1 => Some(Self::Usr1),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGSEGV` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:221:16
|
221 | c::SIGSEGV => Some(Self::Segv),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGUSR2` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:222:16
|
222 | c::SIGUSR2 => Some(Self::Usr2),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGPIPE` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:223:16
|
223 | c::SIGPIPE => Some(Self::Pipe),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGALRM` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:224:16
|
224 | c::SIGALRM => Some(Self::Alarm),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGTERM` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:225:16
|
225 | c::SIGTERM => Some(Self::Term),
| ^^^^^^^ help: a constant with a similar name exists: `SIG_ERR`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:214:1
|
214 | pub const SIG_ERR: sighandler_t = !0 as sighandler_t;
| ------------------------------- similarly named constant `SIG_ERR` defined here
error[E0531]: cannot find unit struct, unit variant or constant `SIGSTKFLT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:241:16
|
241 | c::SIGSTKFLT => Some(Self::Stkflt),
| ^^^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGCHLD` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:242:16
|
242 | c::SIGCHLD => Some(Self::Child),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGCONT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:243:16
|
243 | c::SIGCONT => Some(Self::Cont),
| ^^^^^^^ help: a constant with a similar name exists: `SIGIOT`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:240:1
|
240 | pub const SIGIOT: ::c_int = 6;
| ------------------------- similarly named constant `SIGIOT` defined here
error[E0531]: cannot find unit struct, unit variant or constant `SIGSTOP` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:244:16
|
244 | c::SIGSTOP => Some(Self::Stop),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGTSTP` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:245:16
|
245 | c::SIGTSTP => Some(Self::Tstp),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGTTIN` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:246:16
|
246 | c::SIGTTIN => Some(Self::Ttin),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGTTOU` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:247:16
|
247 | c::SIGTTOU => Some(Self::Ttou),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGURG` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:248:16
|
248 | c::SIGURG => Some(Self::Urg),
| ^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGXCPU` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:249:16
|
249 | c::SIGXCPU => Some(Self::Xcpu),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGXFSZ` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:250:16
|
250 | c::SIGXFSZ => Some(Self::Xfsz),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGVTALRM` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:251:16
|
251 | c::SIGVTALRM => Some(Self::Vtalarm),
| ^^^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGPROF` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:252:16
|
252 | c::SIGPROF => Some(Self::Prof),
| ^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGWINCH` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:253:16
|
253 | c::SIGWINCH => Some(Self::Winch),
| ^^^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGIO` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:255:16
|
255 | c::SIGIO => Some(Self::Io),
| ^^^^^ help: a constant with a similar name exists: `SIGIOT`
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.140/src/unix/mod.rs:240:1
|
240 | pub const SIGIOT: ::c_int = 6;
| ------------------------- similarly named constant `SIGIOT` defined here
error[E0531]: cannot find unit struct, unit variant or constant `SIGPWR` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:257:16
|
257 | c::SIGPWR => Some(Self::Power),
| ^^^^^^ not found in `c`
error[E0531]: cannot find unit struct, unit variant or constant `SIGSYS` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:258:16
|
258 | c::SIGSYS => Some(Self::Sys),
| ^^^^^^ not found in `c`
error[E0425]: cannot find value `SIGABRT` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/process/types.rs:267:54
|
267 | pub const EXIT_SIGNALED_SIGABRT: c::c_int = 128 + c::SIGABRT;
| ^^^^^^^ not found in `c`
error[E0425]: cannot find value `CLOCK_PROCESS_CPUTIME_ID` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/time/types.rs:131:25
|
131 | ProcessCPUTime = c::CLOCK_PROCESS_CPUTIME_ID,
| ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `CLOCK_THREAD_CPUTIME_ID` in module `c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/time/types.rs:135:24
|
135 | ThreadCPUTime = c::CLOCK_THREAD_CPUTIME_ID,
| ^^^^^^^^^^^^^^^^^^^^^^^ not found in `c`
error[E0425]: cannot find value `UTIME_NOW` in module `backend::c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/fs/at.rs:33:42
|
33 | pub const UTIME_NOW: Nsecs = backend::c::UTIME_NOW as Nsecs;
| ^^^^^^^^^ not found in `backend::c`
|
help: consider importing this constant
|
8 | use crate::fs::UTIME_NOW;
|
help: if you import `UTIME_NOW`, refer to it directly
|
33 - pub const UTIME_NOW: Nsecs = backend::c::UTIME_NOW as Nsecs;
33 + pub const UTIME_NOW: Nsecs = UTIME_NOW as Nsecs;
|
error[E0425]: cannot find value `UTIME_OMIT` in module `backend::c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/fs/at.rs:39:43
|
39 | pub const UTIME_OMIT: Nsecs = backend::c::UTIME_OMIT as Nsecs;
| ^^^^^^^^^^ not found in `backend::c`
|
help: consider importing this constant
|
8 | use crate::fs::UTIME_OMIT;
|
help: if you import `UTIME_OMIT`, refer to it directly
|
39 - pub const UTIME_OMIT: Nsecs = backend::c::UTIME_OMIT as Nsecs;
39 + pub const UTIME_OMIT: Nsecs = UTIME_OMIT as Nsecs;
|
error[E0425]: cannot find function `fcntl_dupfd` in module `backend::io::syscalls`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/io/fcntl.rs:84:28
|
84 | backend::io::syscalls::fcntl_dupfd(fd.as_fd(), min)
| ^^^^^^^^^^^
|
::: /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/io/syscalls.rs:392:1
|
392 | pub(crate) fn fcntl_getfd(fd: BorrowedFd<'_>) -> io::Result<FdFlags> {
| -------------------------------------------------------------------- similarly named function `fcntl_getfd` defined here
|
help: a function with a similar name exists
|
84 | backend::io::syscalls::fcntl_getfd(fd.as_fd(), min)
| ~~~~~~~~~~~
help: consider importing this function
|
11 | use crate::io::fcntl_dupfd;
|
help: if you import `fcntl_dupfd`, refer to it directly
|
84 - backend::io::syscalls::fcntl_dupfd(fd.as_fd(), min)
84 + fcntl_dupfd(fd.as_fd(), min)
|
error[E0412]: cannot find type `siginfo_t` in module `backend::c`
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/process/wait.rs:103:48
|
103 | pub struct WaitidStatus(pub(crate) backend::c::siginfo_t);
| ^^^^^^^^^ not found in `backend::c`
error[E0308]: mismatched types
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/time/types.rs:124:16
|
124 | Realtime = c::CLOCK_REALTIME,
| ^^^^^^^^^^^^^^^^^ expected `i32`, found `u32`
error[E0308]: mismatched types
--> /home/user/.cargo/registry/src/github.com-1ecc6299db9ec823/rustix-0.37.3/src/backend/libc/time/types.rs:127:17
|
127 | Monotonic = c::CLOCK_MONOTONIC,
| ^^^^^^^^^^^^^^^^^^ expected `i32`, found `u32`
Some errors have detailed explanations: E0308, E0412, E0425, E0432, E0531, E0573.
For more information about an error, try `rustc --explain E0308`.
error: could not compile `rustix` due to 230 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