> cargo 3ds build --release No pre-build std found, using build-std Warning: unable to check if `ctru` debuginfo should be linked: `ctru-sys` not found Compiling compiler_builtins v0.1.108 Compiling core v0.0.0 (/home/alexis/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core) Compiling libc v0.2.153 Compiling memchr v2.5.0 Compiling std v0.0.0 (/home/alexis/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/std) Compiling proc-macro2 v1.0.78 Compiling unicode-ident v1.0.12 Compiling autocfg v1.1.0 Compiling pkg-config v0.3.30 Compiling serde v1.0.197 Compiling version_check v0.9.4 Compiling cfg-if v1.0.0 Compiling thiserror v1.0.57 Compiling crunchy v0.2.2 Compiling rustix v0.38.31 Compiling tiny-keccak v2.0.2 Compiling once_cell v1.19.0 Compiling cfg_aliases v0.1.1 Compiling memchr v2.7.1 Compiling syn v1.0.109 Compiling crossbeam-utils v0.8.19 Compiling semver v1.0.22 Compiling ahash v0.8.9 Compiling serde_json v1.0.114 Compiling itoa v1.0.10 Compiling num-traits v0.2.18 Compiling slab v0.4.9 Compiling lock_api v0.4.11 Compiling ryu v1.0.17 Compiling rayon-core v1.12.1 Compiling zstd-safe v6.0.6 Compiling convert_case v0.4.0 Compiling anyhow v1.0.80 Compiling crc32fast v1.4.0 Compiling parking_lot_core v0.9.9 Compiling iana-time-zone v0.1.60 Compiling khronos-egl v6.0.0 Compiling wayland-sys v0.31.1 Compiling quick-xml v0.31.0 Compiling camino v1.1.6 Compiling ash v0.37.3+1.3.251 Compiling quote v1.0.35 Compiling indexmap v1.9.3 Compiling proc-macro-error-attr v1.0.4 Compiling wgpu-hal v0.19.1 Compiling heck v0.4.1 Compiling smithay-client-toolkit v0.18.1 Compiling linux-raw-sys v0.4.13 Compiling syn v2.0.50 Compiling bitflags v2.4.2 Compiling cc v1.0.86 Compiling getrandom v0.2.12 Compiling base64 v0.21.7 Compiling x11-dl v2.21.0 Compiling num-bigint v0.4.4 Compiling smartstring v1.0.1 Compiling proc-macro-error v1.0.4 Compiling wgpu-core v0.19.0 Compiling fastrand v2.0.1 Compiling const-random-macro v0.1.16 Compiling cbindgen v0.26.0 Compiling diff v0.1.13 Compiling yansi v0.5.1 Compiling hashbrown v0.12.3 Compiling pretty_assertions v1.4.0 Compiling wgpu v0.19.1 Compiling winit v0.29.10 Compiling log v0.4.20 Compiling glob v0.3.1 Compiling wayland-scanner v0.31.1 Compiling num-integer v0.1.46 Compiling wayland-backend v0.3.3 Compiling zstd-sys v2.0.9+zstd.1.5.5 Compiling tempfile v3.10.0 Compiling derive_more v0.99.17 Compiling serde_derive v1.0.197 Compiling thiserror-impl v1.0.57 Compiling rhai_codegen v2.0.0 Compiling clap_derive v4.5.0 Compiling rustc-std-workspace-core v1.99.0 (/home/alexis/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-core) Compiling alloc v0.0.0 (/home/alexis/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/alloc) Compiling adler v1.0.2 Compiling unwind v0.0.0 (/home/alexis/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/unwind) Compiling rustc-demangle v0.1.23 Compiling rustc-std-workspace-alloc v1.99.0 (/home/alexis/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-alloc) Compiling panic_unwind v0.0.0 (/home/alexis/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_unwind) Compiling panic_abort v0.0.0 (/home/alexis/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/panic_abort) Compiling gimli v0.28.1 Compiling hashbrown v0.14.3 Compiling object v0.32.2 Compiling std_detect v0.1.5 (/home/alexis/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/stdarch/crates/std_detect) Compiling miniz_oxide v0.7.2 Compiling zstd v0.12.4 Compiling addr2line v0.21.0 Compiling chrono v0.4.34 Compiling bincode v1.3.3 Compiling cargo-platform v0.1.7 Compiling toml v0.5.11 Compiling rustc_version v0.4.0 Compiling rustc-std-workspace-std v1.99.0 (/home/alexis/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/rustc-std-workspace-std) Compiling proc_macro v0.0.0 (/home/alexis/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/proc_macro) Compiling unicode-width v0.1.11 Compiling getopts v0.2.21 Compiling cargo_metadata v0.18.1 Compiling test v0.0.0 (/home/alexis/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/test) Compiling build-info-common v0.0.34 Compiling build-info-proc v0.0.34 Compiling build-info-build v0.0.34 Compiling zerocopy v0.7.32 Compiling downcast-rs v1.2.0 Compiling scoped-tls v1.0.1 Compiling const-random v0.1.17 Compiling libloading v0.8.1 Compiling pin-project-lite v0.2.13 Compiling scopeguard v1.2.0 Compiling simd-adler32 v0.3.7 Compiling tracing-core v0.1.32 Compiling termcolor v1.4.1 Compiling allocator-api2 v0.2.16 Compiling bytemuck v1.14.3 Compiling arrayvec v0.7.4 Compiling equivalent v1.0.1 Compiling bit-vec v0.6.3 Compiling libloading v0.7.4 Compiling spirv v0.3.0+sdk-1.3.268.0 Compiling gpu-alloc-types v0.3.0 Compiling gpu-descriptor-types v0.1.2 Compiling codespan-reporting v0.11.1 Compiling futures-sink v0.3.30 Compiling errno v0.3.8 Compiling bit-set v0.5.3 Compiling unicode-xid v0.2.4 Compiling raw-window-handle v0.6.0 Compiling either v1.10.0 Compiling ttf-parser v0.20.0 Compiling futures-core v0.3.30 Compiling hexf-parse v0.2.1 Compiling rustc-hash v1.1.0 Compiling static_assertions v1.1.0 Compiling crossbeam-epoch v0.9.18 error[E0432]: unresolved imports `c::F_RDLCK`, `c::F_UNLCK`, `c::F_WRLCK` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/syscalls.rs:1257:20 | 1257 | 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 import `crate::backend::MAX_IOV` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/syscalls.rs:25:5 | 25 | crate::backend::MAX_IOV, | ^^^^^^^^^^^^^^^^^^^^^^^ no `MAX_IOV` in `backend` | note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/mod.rs:201:7 | 201 | const MAX_IOV: usize = c::IOV_MAX as usize; | ^^^^^^^ note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/mod.rs:204:7 | 204 | const MAX_IOV: usize = c::UIO_MAXIOV as usize; | ^^^^^^^ note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/mod.rs:215:7 | 215 | const MAX_IOV: usize = 16; // The minimum value required by POSIX. | ^^^^^^^ error[E0432]: unresolved imports `c::WCONTINUED`, `c::WUNTRACED` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/wait.rs:4:5 | 4 | WCONTINUED, WEXITSTATUS, WIFCONTINUED, WIFEXITED, WIFSIGNALED, WIFSTOPPED, WNOHANG, WSTOPSIG, | ^^^^^^^^^^ | | | no `WCONTINUED` in `backend::c` | help: a similar name exists in the module: `WIFCONTINUED` 5 | WTERMSIG, WUNTRACED, | ^^^^^^^^^ no `WUNTRACED` in `backend::c` error[E0432]: unresolved imports `c::WEXITED`, `c::WNOWAIT`, `c::WSTOPPED` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/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` | help: a similar name exists in the module | 9 | pub(crate) use c::{WIFEXITED, WNOWAIT, WSTOPPED}; | ~~~~~~~~~ help: a similar name exists in the module | 9 | pub(crate) use c::{WEXITED, WNOWAIT, WIFSTOPPED}; | ~~~~~~~~~~ Compiling arrayref v0.3.7 Compiling xcursor v0.3.5 Compiling xkeysym v0.2.0 Compiling cursor-icon v1.1.0 Compiling strict-num v0.1.1 Compiling futures-channel v0.3.30 Compiling aho-corasick v1.1.2 Compiling memmap2 v0.9.4 Compiling gpu-alloc v0.6.0 Compiling wgpu-types v0.19.0 error[E0425]: cannot find value `MAP_FAILED` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:90:29 | 90 | if ptr == libc::MAP_FAILED { | ^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `PROT_READ` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:225:19 | 225 | libc::PROT_READ, | ^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `MAP_SHARED` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:226:19 | 226 | libc::MAP_SHARED | populate, | ^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `PROT_READ` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:236:19 | 236 | libc::PROT_READ | libc::PROT_EXEC, | ^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `PROT_EXEC` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:236:37 | 236 | libc::PROT_READ | libc::PROT_EXEC, | ^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `MAP_SHARED` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:237:19 | 237 | libc::MAP_SHARED | populate, | ^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `PROT_READ` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:247:19 | 247 | libc::PROT_READ | libc::PROT_WRITE, | ^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `PROT_WRITE` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:247:37 | 247 | libc::PROT_READ | libc::PROT_WRITE, | ^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `MAP_SHARED` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:248:19 | 248 | libc::MAP_SHARED | populate, | ^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `PROT_READ` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:258:19 | 258 | libc::PROT_READ | libc::PROT_WRITE, | ^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `PROT_WRITE` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:258:37 | 258 | libc::PROT_READ | libc::PROT_WRITE, | ^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `MAP_PRIVATE` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:259:19 | 259 | libc::MAP_PRIVATE | populate, | ^^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `PROT_READ` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:274:19 | 274 | libc::PROT_READ, | ^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `MAP_PRIVATE` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:275:19 | 275 | libc::MAP_PRIVATE | populate, | ^^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `PROT_READ` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:296:19 | 296 | libc::PROT_READ | libc::PROT_WRITE, | ^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `PROT_WRITE` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:296:37 | 296 | libc::PROT_READ | libc::PROT_WRITE, | ^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `MAP_PRIVATE` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:297:19 | 297 | libc::MAP_PRIVATE | libc::MAP_ANON | stack | populate | hugetlb, | ^^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `MAP_ANON` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:297:39 | 297 | libc::MAP_PRIVATE | libc::MAP_ANON | stack | populate | hugetlb, | ^^^^^^^^ not found in `libc` error[E0425]: cannot find function `msync` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:308:28 | 308 | unsafe { libc::msync(self.ptr.offset(offset), len as libc::size_t, libc::MS_SYNC) }; | ^^^^^ help: a function with a similar name exists: `fsync` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:1016:5 | 1016 | pub fn fsync(fd: ::c_int) -> ::c_int; | ------------------------------------ similarly named function `fsync` defined here error[E0425]: cannot find value `MS_SYNC` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:308:86 | 308 | unsafe { libc::msync(self.ptr.offset(offset), len as libc::size_t, libc::MS_SYNC) }; | ^^^^^^^ help: a constant with a similar name exists: `O_SYNC` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:406:1 | 406 | pub const O_SYNC: ::c_int = 8192; | ------------------------- similarly named constant `O_SYNC` defined here error[E0425]: cannot find function `msync` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:321:28 | 321 | unsafe { libc::msync(self.ptr.offset(offset), len as libc::size_t, libc::MS_ASYNC) }; | ^^^^^ help: a function with a similar name exists: `fsync` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:1016:5 | 1016 | pub fn fsync(fd: ::c_int) -> ::c_int; | ------------------------------------ similarly named function `fsync` defined here error[E0425]: cannot find value `MS_ASYNC` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:321:86 | 321 | unsafe { libc::msync(self.ptr.offset(offset), len as libc::size_t, libc::MS_ASYNC) }; | ^^^^^^^^ not found in `libc` error[E0425]: cannot find function `mprotect` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:335:22 | 335 | if libc::mprotect(ptr, len, prot) == 0 { | ^^^^^^^^ not found in `libc` error[E0425]: cannot find value `PROT_READ` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:344:29 | 344 | self.mprotect(libc::PROT_READ) | ^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `PROT_READ` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:348:29 | 348 | self.mprotect(libc::PROT_READ | libc::PROT_EXEC) | ^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `PROT_EXEC` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:348:47 | 348 | self.mprotect(libc::PROT_READ | libc::PROT_EXEC) | ^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `PROT_READ` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:352:29 | 352 | self.mprotect(libc::PROT_READ | libc::PROT_WRITE) | ^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `PROT_WRITE` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:352:47 | 352 | self.mprotect(libc::PROT_READ | libc::PROT_WRITE) | ^^^^^^^^^^ not found in `libc` error[E0425]: cannot find function `madvise` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/unix.rs:375:22 | 375 | if libc::madvise(self.ptr.offset(offset), len, advice) != 0 { | ^^^^^^^ not found in `libc` error[E0425]: cannot find value `MADV_NORMAL` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/advice.rs:10:20 | 10 | Normal = libc::MADV_NORMAL, | ^^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `MADV_RANDOM` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/advice.rs:16:20 | 16 | Random = libc::MADV_RANDOM, | ^^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `MADV_SEQUENTIAL` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/advice.rs:23:24 | 23 | Sequential = libc::MADV_SEQUENTIAL, | ^^^^^^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `MADV_WILLNEED` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/advice.rs:29:22 | 29 | WillNeed = libc::MADV_WILLNEED, | ^^^^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `MADV_DONTNEED` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/memmap2-0.9.4/src/advice.rs:288:22 | 288 | DontNeed = libc::MADV_DONTNEED, | ^^^^^^^^^^^^^ not found in `libc` Compiling glow v0.13.1 Compiling utf8parse v0.2.1 Compiling futures-io v0.3.30 Compiling regex-syntax v0.8.2 Compiling renderdoc-sys v1.0.0 Compiling profiling v1.0.15 Compiling pin-utils v0.1.0 Compiling ab_glyph_rasterizer v0.1.8 Compiling weezl v0.1.8 Compiling futures-task v0.3.30 Compiling anstyle-parse v0.2.3 Compiling fdeflate v0.3.4 Compiling tiny-skia-path v0.11.4 Compiling zune-inflate v0.2.54 Compiling tracing v0.1.40 Compiling half v2.3.1 Compiling bitflags v1.3.2 Compiling bit_field v0.10.2 Compiling color_quant v1.1.0 For more information about this error, try `rustc --explain E0425`. Compiling spin v0.9.8 Compiling dlib v0.5.2 Compiling anstyle-query v1.0.2 Compiling as-raw-xcb-connection v1.0.1 Compiling x11rb-protocol v0.13.0 Compiling colorchoice v1.0.0 Compiling lebe v0.5.2 Compiling anstyle v1.0.6 Compiling qoi v0.4.1 Compiling is-terminal v0.4.12 Compiling byteorder v1.5.0 Compiling clap_lex v0.7.0 Compiling smol_str v0.2.1 Compiling humantime v2.1.0 Compiling percent-encoding v2.3.1 Compiling strsim v0.11.0 Compiling catgirl-engine v0.8.3 (/home/alexis/Desktop/catgirl-engine) Compiling nix v0.27.1 error[E0425]: cannot find function `dirfd` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/dir.rs:189:50 | 189 | fstat(unsafe { BorrowedFd::borrow_raw(c::dirfd(self.libc_dir.as_ptr())) }) | ^^^^^ not found in `c` error[E0425]: cannot find function `dirfd` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/dir.rs:204:52 | 204 | fstatfs(unsafe { BorrowedFd::borrow_raw(c::dirfd(self.libc_dir.as_ptr())) }) | ^^^^^ not found in `c` error[E0425]: cannot find function `dirfd` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/dir.rs:217:53 | 217 | fstatvfs(unsafe { BorrowedFd::borrow_raw(c::dirfd(self.libc_dir.as_ptr())) }) | ^^^^^ not found in `c` error[E0425]: cannot find function `dirfd` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/dir.rs:226:51 | 226 | fchdir(unsafe { BorrowedFd::borrow_raw(c::dirfd(self.libc_dir.as_ptr())) }) | ^^^^^ not found in `c` error[E0425]: cannot find function `dirfd` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/dir.rs:256:36 | 256 | s.field("fd", unsafe { &c::dirfd(self.libc_dir.as_ptr()) }); | ^^^^^ not found in `c` error[E0425]: cannot find function `makedev` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/makedev.rs:14:8 | 14 | c::makedev(maj, min) | ^^^^^^^ not found in `c` | help: consider importing this function through its public re-export | 1 + use crate::fs::makedev; | help: if you import `makedev`, refer to it directly | 14 - c::makedev(maj, min) 14 + makedev(maj, min) | error[E0425]: cannot find function `major` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/makedev.rs:71:17 | 71 | unsafe { c::major(dev) } | ^^^^^ not found in `c` | help: consider importing this function through its public re-export | 1 + use crate::fs::major; | help: if you import `major`, refer to it directly | 71 - unsafe { c::major(dev) } 71 + unsafe { major(dev) } | error[E0425]: cannot find function `minor` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/makedev.rs:110:17 | 110 | unsafe { c::minor(dev) } | ^^^^^ not found in `c` | help: consider importing this function through its public re-export | 1 + use crate::fs::minor; | help: if you import `minor`, refer to it directly | 110 - unsafe { c::minor(dev) } 110 + unsafe { minor(dev) } | error[E0425]: cannot find function `statfs` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/syscalls.rs:252:16 | 252 | ret(c::statfs(c_str(filename), result.as_mut_ptr()))?; | ^^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:1334:5 | 1334 | pub fn statvfs(path: *const c_char, buf: *mut statvfs) -> ::c_int; | ----------------------------------------------------------------- similarly named function `statvfs` defined here | note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:133:84 | 133 | rlimit64 as rlimit, setrlimit64 as setrlimit, stat64at as fstatat, statfs64 as statfs, | ^^^^^^ = note: the item is gated behind the `aix` feature note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:141:63 | 141 | rlimit64 as rlimit, setrlimit64 as setrlimit, statfs64 as statfs, statvfs64 as statvfs, | ^^^^^^ help: a function with a similar name exists | 252 | ret(c::statvfs(c_str(filename), result.as_mut_ptr()))?; | ~~~~~~~ help: consider importing this function through its public re-export | 3 + use crate::fs::statfs; | help: if you import `statfs`, refer to it directly | 252 - ret(c::statfs(c_str(filename), result.as_mut_ptr()))?; 252 + ret(statfs(c_str(filename), result.as_mut_ptr()))?; | error[E0425]: cannot find function `faccessat` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/syscalls.rs:773:16 | 773 | ret(c::faccessat( | ^^^^^^^^^ help: a function with a similar name exists: `access` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:843:5 | 843 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/syscalls.rs:834:16 | 834 | ret(c::utimensat( | ^^^^^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:1176:5 | 1176 | 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 | 834 | ret(c::utimes( | ~~~~~~ help: consider importing one of these items | 3 + use crate::backend::fs::syscalls::utimensat; | 3 + use crate::fs::utimensat; | help: if you import `utimensat`, refer to it directly | 834 - ret(c::utimensat( 834 + ret(utimensat( | error[E0425]: cannot find function `mknodat` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/syscalls.rs:1125:16 | 1125 | ret(c::mknodat( | ^^^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:1269:5 | 1269 | 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 | 1125 | ret(c::mknod( | ~~~~~ help: consider importing this function through its public re-export | 3 + use crate::fs::mknodat; | help: if you import `mknodat`, refer to it directly | 1125 - ret(c::mknodat( 1125 + ret(mknodat( | error[E0425]: cannot find function `posix_fadvise` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/syscalls.rs:1217:27 | 1217 | let err = unsafe { c::posix_fadvise(borrowed_fd(fd), offset, len, advice as c::c_int) }; | ^^^^^^^^^^^^^ not found in `c` | note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:132:50 | 132 | off64_t as off_t, openat, posix_fadvise64 as posix_fadvise, preadv, pwritev, | ^^^^^^^^^^^^^ = note: the item is gated behind the `aix` feature note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:140:78 | 140 | mmap64 as mmap, off64_t as off_t, openat64 as openat, posix_fadvise64 as posix_fadvise, | ^^^^^^^^^^^^^ error[E0573]: expected type, found function `flock` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/syscalls.rs:1269:23 | 1269 | let mut lock: flock = core::mem::zeroed(); | ^^^^^ not a type error[E0425]: cannot find function `sync` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/syscalls.rs:1400:17 | 1400 | unsafe { c::sync() } | ^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:1016:5 | 1016 | pub fn fsync(fd: ::c_int) -> ::c_int; | ------------------------------------ similarly named function `fsync` defined here | help: a function with a similar name exists | 1400 | unsafe { c::fsync() } | ~~~~~ help: consider importing this function through its public re-export | 3 + use crate::fs::sync; | help: if you import `sync`, refer to it directly | 1400 - unsafe { c::sync() } 1400 + unsafe { sync() } | error[E0425]: cannot find function `fstatfs` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/syscalls.rs:1472:16 | 1472 | ret(c::fstatfs(borrowed_fd(fd), statfs.as_mut_ptr()))?; | ^^^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:1335:5 | 1335 | pub fn fstatvfs(fd: ::c_int, buf: *mut statvfs) -> ::c_int; | ---------------------------------------------------------- similarly named function `fstatvfs` defined here | note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:130:62 | 130 | blksize64_t as blksize_t, fstat64 as fstat, fstatfs64 as fstatfs, fstatvfs64 as fstatvfs, | ^^^^^^^ = note: the item is gated behind the `aix` feature note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:138:58 | 138 | fstat64 as fstat, fstatat64 as fstatat, fstatfs64 as fstatfs, fstatvfs64 as fstatvfs, | ^^^^^^^ help: a function with a similar name exists | 1472 | ret(c::fstatvfs(borrowed_fd(fd), statfs.as_mut_ptr()))?; | ~~~~~~~~ help: consider importing this function through its public re-export | 3 + use crate::fs::fstatfs; | help: if you import `fstatfs`, refer to it directly | 1472 - ret(c::fstatfs(borrowed_fd(fd), statfs.as_mut_ptr()))?; 1472 + ret(fstatfs(borrowed_fd(fd), statfs.as_mut_ptr()))?; | error[E0425]: cannot find function `futimens` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/syscalls.rs:1533:16 | 1533 | ret(c::futimens(borrowed_fd(fd), as_ptr(times).cast())) | ^^^^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:1176:5 | 1176 | 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 | 1533 | ret(c::utimes(borrowed_fd(fd), as_ptr(times).cast())) | ~~~~~~ help: consider importing one of these items | 3 + use crate::backend::fs::syscalls::futimens; | 3 + use crate::fs::futimens; | help: if you import `futimens`, refer to it directly | 1533 - ret(c::futimens(borrowed_fd(fd), as_ptr(times).cast())) 1533 + ret(futimens(borrowed_fd(fd), as_ptr(times).cast())) | error[E0425]: cannot find function `posix_fallocate` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/syscalls.rs:1639:31 | 1639 | let err = unsafe { c::posix_fallocate(borrowed_fd(fd), offset, len) }; | ^^^^^^^^^^^^^^^ not found in `c` | note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:123:43 | 123 | pub(super) use libc::posix_fallocate64 as posix_fallocate; | ^^^^^^^^^^^^^^^ error[E0425]: cannot find function `fdatasync` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/syscalls.rs:1695:21 | 1695 | unsafe { ret(c::fdatasync(borrowed_fd(fd))) } | ^^^^^^^^^ not found in `c` | help: consider importing this function through its public re-export | 3 + use crate::fs::fdatasync; | help: if you import `fdatasync`, refer to it directly | 1695 - unsafe { ret(c::fdatasync(borrowed_fd(fd))) } 1695 + unsafe { ret(fdatasync(borrowed_fd(fd))) } | error[E0425]: cannot find value `R_OK` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:13:28 | 13 | const READ_OK = c::R_OK; | ^^^^ not found in `c` error[E0425]: cannot find value `W_OK` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:16:29 | 16 | const WRITE_OK = c::W_OK; | ^^^^ not found in `c` error[E0425]: cannot find value `X_OK` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:19:28 | 19 | const EXEC_OK = c::X_OK; | ^^^^ not found in `c` error[E0425]: cannot find value `F_OK` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:22:27 | 22 | const EXISTS = c::F_OK; | ^^^^ not found in `c` error[E0425]: cannot find value `AT_SYMLINK_NOFOLLOW` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:40:46 | 40 | const SYMLINK_NOFOLLOW = bitcast!(c::AT_SYMLINK_NOFOLLOW); | ^^^^^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `AT_EACCESS` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:44:37 | 44 | const EACCESS = bitcast!(c::AT_EACCESS); | ^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `AT_REMOVEDIR` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:47:39 | 47 | const REMOVEDIR = bitcast!(c::AT_REMOVEDIR); | ^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `AT_SYMLINK_FOLLOW` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:50:44 | 50 | const SYMLINK_FOLLOW = bitcast!(c::AT_SYMLINK_FOLLOW); | ^^^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `S_IRWXU` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:96:25 | 96 | const RWXU = c::S_IRWXU as RawMode; | ^^^^^^^ not found in `c` error[E0425]: cannot find value `S_IRWXG` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:112:25 | 112 | const RWXG = c::S_IRWXG as RawMode; | ^^^^^^^ not found in `c` error[E0425]: cannot find value `S_IRWXO` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:128:25 | 128 | const RWXO = c::S_IRWXO as RawMode; | ^^^^^^^ not found in `c` error[E0425]: cannot find value `O_DIRECTORY` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:231:39 | 231 | const DIRECTORY = bitcast!(c::O_DIRECTORY); | ^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `O_DSYNC` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:235:35 | 235 | const DSYNC = bitcast!(c::O_DSYNC); | ^^^^^^^ help: a constant with a similar name exists: `O_SYNC` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:406:1 | 406 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:249:38 | 249 | const NOFOLLOW = bitcast!(c::O_NOFOLLOW); | ^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `O_NOCTTY` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:267:36 | 267 | const NOCTTY = bitcast!(c::O_NOCTTY); | ^^^^^^^^ not found in `c` error[E0432]: unresolved import `libc::PATH_MAX` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:28:20 | 28 | size_t, uid_t, PATH_MAX, | ^^^^^^^^ no `PATH_MAX` in the root error[E0425]: cannot find value `POSIX_FADV_NORMAL` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:568:17 | 568 | Normal = c::POSIX_FADV_NORMAL as c::c_uint, | ^^^^^^^^^^^^^^^^^ not found in `c` error[E0432]: unresolved import `self::consts` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/errno.rs:7:15 | 7 | pub use self::consts::*; | ^^^^^^ could not find `consts` in `self` error[E0432]: unresolved import `libc::sigevent` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:1099:20 | 1099 | pub(crate) use libc::sigevent as libc_sigevent; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `sigevent` in the root | help: consider importing this module instead | 1099 | pub(crate) use crate::sys::signal::sigevent as libc_sigevent; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error[E0425]: cannot find value `POSIX_FADV_SEQUENTIAL` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:571:21 | 571 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:574:17 | 574 | Random = c::POSIX_FADV_RANDOM as c::c_uint, | ^^^^^^^^^^^^^^^^^ not found in `c` error[E0432]: unresolved import `self::Errno` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/errno.rs:149:15 | 149 | use self::Errno::*; | ^^^^^ could not find `Errno` in `self` error[E0432]: unresolved import `crate::errno::Errno` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:6:5 | 6 | use crate::errno::Errno; | ^^^^^^^^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` error[E0425]: cannot find value `POSIX_FADV_NOREUSE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:577:18 | 577 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:580:19 | 580 | WillNeed = c::POSIX_FADV_WILLNEED as c::c_uint, | ^^^^^^^^^^^^^^^^^^^ not found in `c` error[E0432]: unresolved import `crate::errno::Errno` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:3:26 | 3 | use crate::errno::{self, Errno}; | ^^^^^ | | | no `Errno` in `errno` | help: a similar name exists in the module: `errno` error[E0425]: cannot find value `POSIX_FADV_DONTNEED` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:583:19 | 583 | DontNeed = c::POSIX_FADV_DONTNEED as c::c_uint, | ^^^^^^^^^^^^^^^^^^^ not found in `c` error[E0432]: unresolved import `errno::Errno` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/lib.rs:204:5 | 204 | use errno::Errno; | ^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` error[E0425]: cannot find value `FALLOC_FL_KEEP_SIZE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:806:39 | 806 | const KEEP_SIZE = bitcast!(c::FALLOC_FL_KEEP_SIZE); | ^^^^^^^^^^^^^^^^^^^ not found in `c` error[E0432]: unresolved import `crate::errno::Errno` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/stat.rs:15:13 | 15 | use crate::{errno::Errno, NixPath, Result}; | ^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` | = help: consider importing this unresolved item through its public re-export instead: crate::Errno error[E0432]: unresolved import `crate::errno::Errno` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/statvfs.rs:10:13 | 10 | use crate::{errno::Errno, NixPath, Result}; | ^^^^^^^----- | | | | | help: a similar name exists in the module: `errno` | no `Errno` in `errno` | = help: consider importing this unresolved item through its public re-export instead: crate::Errno error[E0432]: unresolved import `crate::errno::Errno` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/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 through its public re-export instead | 2 | use crate::Errno; | ~~~~~~~~~~~~ error[E0425]: cannot find value `FALLOC_FL_PUNCH_HOLE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:815:40 | 815 | const PUNCH_HOLE = bitcast!(c::FALLOC_FL_PUNCH_HOLE); | ^^^^^^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `FALLOC_FL_NO_HIDE_STALE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:828:43 | 828 | const NO_HIDE_STALE = bitcast!(c::FALLOC_FL_NO_HIDE_STALE); | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `FALLOC_FL_COLLAPSE_RANGE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:838:44 | 838 | const COLLAPSE_RANGE = bitcast!(c::FALLOC_FL_COLLAPSE_RANGE); | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `FALLOC_FL_ZERO_RANGE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:848:40 | 848 | const ZERO_RANGE = bitcast!(c::FALLOC_FL_ZERO_RANGE); | ^^^^^^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `FALLOC_FL_INSERT_RANGE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:858:42 | 858 | const INSERT_RANGE = bitcast!(c::FALLOC_FL_INSERT_RANGE); | ^^^^^^^^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `FALLOC_FL_UNSHARE_RANGE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:868:43 | 868 | const UNSHARE_RANGE = bitcast!(c::FALLOC_FL_UNSHARE_RANGE); | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `ST_NOSUID` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:908:27 | 908 | const NOSUID = c::ST_NOSUID as u64; | ^^^^^^^^^ help: a constant with a similar name exists: `S_ISUID` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:238:1 | 238 | pub const S_ISUID: ::mode_t = 0x800; | --------------------------- similarly named constant `S_ISUID` defined here error[E0425]: cannot find value `ST_RDONLY` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:912:27 | 912 | const RDONLY = c::ST_RDONLY as u64; | ^^^^^^^^^ help: a constant with a similar name exists: `O_RDONLY` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:399:1 | 399 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:936:30 | 936 | LockShared = bitcast!(c::LOCK_SH), | ^^^^^^^ not found in `c` error[E0425]: cannot find value `LOCK_EX` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:938:33 | 938 | LockExclusive = bitcast!(c::LOCK_EX), | ^^^^^^^ not found in `c` error[E0425]: cannot find value `LOCK_UN` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:940:26 | 940 | Unlock = bitcast!(c::LOCK_UN), | ^^^^^^^ not found in `c` error[E0425]: cannot find value `LOCK_SH` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:942:41 | 942 | NonBlockingLockShared = bitcast!(c::LOCK_SH | c::LOCK_NB), | ^^^^^^^ not found in `c` error[E0425]: cannot find value `LOCK_NB` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:942:54 | 942 | NonBlockingLockShared = bitcast!(c::LOCK_SH | c::LOCK_NB), | ^^^^^^^ not found in `c` error: could not compile `memmap2` (lib) due to 34 previous errors warning: build failed, waiting for other jobs to finish... error[E0425]: cannot find value `LOCK_EX` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:944:44 | 944 | NonBlockingLockExclusive = bitcast!(c::LOCK_EX | c::LOCK_NB), | ^^^^^^^ not found in `c` error[E0425]: cannot find value `LOCK_NB` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:944:57 | 944 | NonBlockingLockExclusive = bitcast!(c::LOCK_EX | c::LOCK_NB), | ^^^^^^^ not found in `c` error[E0425]: cannot find value `LOCK_UN` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:946:37 | 946 | NonBlockingUnlock = bitcast!(c::LOCK_UN | c::LOCK_NB), | ^^^^^^^ not found in `c` error[E0425]: cannot find value `LOCK_NB` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:946:50 | 946 | NonBlockingUnlock = bitcast!(c::LOCK_UN | c::LOCK_NB), | ^^^^^^^ not found in `c` error[E0412]: cannot find type `statfs` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/fs/types.rs:1017:22 | 1017 | pub type StatFs = c::statfs; | ^^^^^^ help: a struct with a similar name exists: `statvfs` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:56:1 | 56 | / s! { 57 | | // The order of the `ai_addr` field in this struct is crucial 58 | | // for converting between the Rust and C types. 59 | | pub struct addrinfo { ... | 226 | | } 227 | | } | |_- similarly named struct `statvfs` defined here | note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:133:84 | 133 | rlimit64 as rlimit, setrlimit64 as setrlimit, stat64at as fstatat, statfs64 as statfs, | ^^^^^^ = note: the item is gated behind the `aix` feature note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:141:63 | 141 | rlimit64 as rlimit, setrlimit64 as setrlimit, statfs64 as statfs, statvfs64 as statvfs, | ^^^^^^ error[E0425]: cannot find value `EADV` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:60:35 | 60 | pub const ADV: Self = Self(c::EADV); | ^^^^ not found in `c` error[E0425]: cannot find value `EBADE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:84:36 | 84 | pub const BADE: Self = Self(c::EBADE); | ^^^^^ help: a constant with a similar name exists: `EBADF` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:305:1 | 305 | pub const EBADF: ::c_int = 9; | ------------------------ similarly named constant `EBADF` defined here error[E0425]: cannot find value `EBADFD` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:99:37 | 99 | pub const BADFD: Self = Self(c::EBADFD); | ^^^^^^ help: a constant with a similar name exists: `EBADF` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:305:1 | 305 | pub const EBADF: ::c_int = 9; | ------------------------ similarly named constant `EBADF` defined here error[E0425]: cannot find value `EBADR` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:115:36 | 115 | pub const BADR: Self = Self(c::EBADR); | ^^^^^ help: a constant with a similar name exists: `EBADF` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:305:1 | 305 | pub const EBADF: ::c_int = 9; | ------------------------ similarly named constant `EBADF` defined here error[E0425]: cannot find value `EBADRQC` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:131:38 | 131 | pub const BADRQC: Self = Self(c::EBADRQC); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `EBADSLT` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:144:38 | 144 | pub const BADSLT: Self = Self(c::EBADSLT); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `EBFONT` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:157:37 | 157 | pub const BFONT: Self = Self(c::EBFONT); | ^^^^^^ not found in `c` error[E0425]: cannot find value `ECHRNG` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:181:37 | 181 | pub const CHRNG: Self = Self(c::ECHRNG); | ^^^^^^ not found in `c` error[E0425]: cannot find value `ECOMM` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:194:36 | 194 | pub const COMM: Self = Self(c::ECOMM); | ^^^^^ not found in `c` error[E0425]: cannot find value `EDEADLOCK` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:216:40 | 216 | pub const DEADLOCK: Self = Self(c::EDEADLOCK); | ^^^^^^^^^ help: a constant with a similar name exists: `EDEADLK` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:332:1 | 332 | pub const EDEADLK: ::c_int = 45; | -------------------------- similarly named constant `EDEADLK` defined here error[E0425]: cannot find value `EDOTDOT` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:243:38 | 243 | pub const DOTDOT: Self = Self(c::EDOTDOT); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `EHWPOISON` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:278:40 | 278 | pub const HWPOISON: Self = Self(c::EHWPOISON); | ^^^^^^^^^ not found in `c` error[E0425]: cannot find value `EISNAM` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:326:37 | 326 | pub const ISNAM: Self = Self(c::EISNAM); | ^^^^^^ not found in `c` error[E0425]: cannot find value `EKEYEXPIRED` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:341:42 | 341 | pub const KEYEXPIRED: Self = Self(c::EKEYEXPIRED); | ^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `EKEYREJECTED` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:356:43 | 356 | pub const KEYREJECTED: Self = Self(c::EKEYREJECTED); | ^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `EKEYREVOKED` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:371:42 | 371 | pub const KEYREVOKED: Self = Self(c::EKEYREVOKED); | ^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `EL2HLT` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:383:37 | 383 | pub const L2HLT: Self = Self(c::EL2HLT); | ^^^^^^ not found in `c` error[E0425]: cannot find value `EL2NSYNC` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:395:39 | 395 | pub const L2NSYNC: Self = Self(c::EL2NSYNC); | ^^^^^^^^ not found in `c` error[E0425]: cannot find value `EL3HLT` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:407:37 | 407 | pub const L3HLT: Self = Self(c::EL3HLT); | ^^^^^^ not found in `c` error[E0425]: cannot find value `EL3RST` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:419:37 | 419 | pub const L3RST: Self = Self(c::EL3RST); | ^^^^^^ not found in `c` error[E0425]: cannot find value `ELIBACC` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:432:38 | 432 | pub const LIBACC: Self = Self(c::ELIBACC); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `ELIBBAD` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:445:38 | 445 | pub const LIBBAD: Self = Self(c::ELIBBAD); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `ELIBEXEC` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:457:39 | 457 | pub const LIBEXEC: Self = Self(c::ELIBEXEC); | ^^^^^^^^ not found in `c` error[E0425]: cannot find value `ELIBMAX` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:470:38 | 470 | pub const LIBMAX: Self = Self(c::ELIBMAX); | ^^^^^^^ help: a constant with a similar name exists: `EAI_MAX` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/horizon/mod.rs:161:1 | 161 | pub const EAI_MAX: ::c_int = 15; | -------------------------- similarly named constant `EAI_MAX` defined here error[E0425]: cannot find value `ELIBSCN` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:483:38 | 483 | pub const LIBSCN: Self = Self(c::ELIBSCN); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `ELNRNG` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:495:37 | 495 | pub const LNRNG: Self = Self(c::ELNRNG); | ^^^^^^ not found in `c` error[E0425]: cannot find value `EMEDIUMTYPE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:512:42 | 512 | pub const MEDIUMTYPE: Self = Self(c::EMEDIUMTYPE); | ^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `ENAVAIL` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:540:38 | 540 | pub const NAVAIL: Self = Self(c::ENAVAIL); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `ENOANO` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:566:37 | 566 | pub const NOANO: Self = Self(c::ENOANO); | ^^^^^^ help: a constant with a similar name exists: `ENOENT` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:298:1 | 298 | pub const ENOENT: ::c_int = 2; | ------------------------- similarly named constant `ENOENT` defined here error[E0425]: cannot find value `ENOCSI` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:584:37 | 584 | pub const NOCSI: Self = Self(c::ENOCSI); | ^^^^^^ help: a constant with a similar name exists: `ENOMSG` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:330:1 | 330 | pub const ENOMSG: ::c_int = 35; | ------------------------- similarly named constant `ENOMSG` defined here error[E0425]: cannot find value `ENOKEY` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:617:37 | 617 | pub const NOKEY: Self = Self(c::ENOKEY); | ^^^^^^ help: a constant with a similar name exists: `ENODEV` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:314:1 | 314 | pub const ENODEV: ::c_int = 19; | ------------------------- similarly named constant `ENODEV` defined here error[E0425]: cannot find value `ENOMEDIUM` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:638:40 | 638 | pub const NOMEDIUM: Self = Self(c::ENOMEDIUM); | ^^^^^^^^^ help: a constant with a similar name exists: `ENOMEM` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:308:1 | 308 | pub const ENOMEM: ::c_int = 12; | ------------------------- similarly named constant `ENOMEM` defined here error[E0425]: cannot find value `ENONET` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:660:37 | 660 | pub const NONET: Self = Self(c::ENONET); | ^^^^^^ help: a constant with a similar name exists: `ENOENT` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:298:1 | 298 | pub const ENOENT: ::c_int = 2; | ------------------------- similarly named constant `ENOENT` defined here error[E0425]: cannot find value `ENOPKG` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:673:37 | 673 | pub const NOPKG: Self = Self(c::ENOPKG); | ^^^^^^ help: a constant with a similar name exists: `ENOMSG` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:330:1 | 330 | pub const ENOMSG: ::c_int = 35; | ------------------------- similarly named constant `ENOMSG` defined here error[E0425]: cannot find value `ENOTBLK` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:711:38 | 711 | pub const NOTBLK: Self = Self(c::ENOTBLK); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `ENOTNAM` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:736:38 | 736 | pub const NOTNAM: Self = Self(c::ENOTNAM); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `ENOTUNIQ` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:767:39 | 767 | pub const NOTUNIQ: Self = Self(c::ENOTUNIQ); | ^^^^^^^^ not found in `c` error[E0425]: cannot find value `EREMCHG` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:836:38 | 836 | pub const REMCHG: Self = Self(c::EREMCHG); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `EREMOTE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:845:38 | 845 | pub const REMOTE: Self = Self(c::EREMOTE); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `EREMOTEIO` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:860:40 | 860 | pub const REMOTEIO: Self = Self(c::EREMOTEIO); | ^^^^^^^^^ not found in `c` error[E0425]: cannot find value `ERESTART` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:872:39 | 872 | pub const RESTART: Self = Self(c::ERESTART); | ^^^^^^^^ not found in `c` error[E0425]: cannot find value `ERFKILL` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:889:38 | 889 | pub const RFKILL: Self = Self(c::ERFKILL); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `ESHUTDOWN` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:903:40 | 903 | pub const SHUTDOWN: Self = Self(c::ESHUTDOWN); | ^^^^^^^^^ help: a constant with a similar name exists: `EHOSTDOWN` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:361:1 | 361 | pub const EHOSTDOWN: ::c_int = 117; | ---------------------------- similarly named constant `EHOSTDOWN` defined here error[E0425]: cannot find value `ESOCKTNOSUPPORT` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:912:46 | 912 | pub const SOCKTNOSUPPORT: Self = Self(c::ESOCKTNOSUPPORT); | ^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `EAFNOSUPPORT` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:351:1 | 351 | pub const EAFNOSUPPORT: ::c_int = 106; | ------------------------------- similarly named constant `EAFNOSUPPORT` defined here error[E0425]: cannot find value `ESRMNT` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:931:37 | 931 | pub const SRMNT: Self = Self(c::ESRMNT); | ^^^^^^ not found in `c` error[E0425]: cannot find value `ESTRPIPE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:946:39 | 946 | pub const STRPIPE: Self = Self(c::ESTRPIPE); | ^^^^^^^^ help: a constant with a similar name exists: `ESPIPE` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:324:1 | 324 | pub const ESPIPE: ::c_int = 29; | ------------------------- similarly named constant `ESPIPE` defined here error[E0425]: cannot find value `EUCLEAN` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:982:38 | 982 | pub const UCLEAN: Self = Self(c::EUCLEAN); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `EUNATCH` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:994:38 | 994 | pub const UNATCH: Self = Self(c::EUNATCH); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `EUSERS` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:1003:37 | 1003 | pub const USERS: Self = Self(c::EUSERS); | ^^^^^^ not found in `c` error[E0425]: cannot find value `EXFULL` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/errno.rs:1021:37 | 1021 | pub const XFULL: Self = Self(c::EXFULL); | ^^^^^^ not found in `c` error[E0425]: cannot find function `readv` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/syscalls.rs:77:22 | 77 | ret_usize(c::readv( | ^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:903:5 | 903 | 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 | 77 | ret_usize(c::read( | ~~~~ help: consider importing this function through its public re-export | 3 + use crate::io::readv; | help: if you import `readv`, refer to it directly | 77 - ret_usize(c::readv( 77 + ret_usize(readv( | error[E0425]: cannot find function `writev` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/syscalls.rs:88:22 | 88 | ret_usize(c::writev( | ^^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:948:5 | 948 | 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 | 88 | ret_usize(c::write( | ~~~~~ help: consider importing this function through its public re-export | 3 + use crate::io::writev; | help: if you import `writev`, refer to it directly | 88 - ret_usize(c::writev( 88 + ret_usize(writev( | error[E0425]: cannot find function `preadv` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/syscalls.rs:112:22 | 112 | ret_usize(c::preadv( | ^^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:953:5 | 953 | pub fn pread(fd: ::c_int, buf: *mut ::c_void, count: ::size_t, offset: off_t) -> ::ssize_t; | ------------------------------------------------------------------------------------------ similarly named function `pread` defined here | note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:132:65 | 132 | off64_t as off_t, openat, posix_fadvise64 as posix_fadvise, preadv, pwritev, | ^^^^^^ = note: the item is gated behind the `aix` feature note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:167:35 | 167 | pub(super) use libc::{preadv64 as preadv, pwritev64 as pwritev}; | ^^^^^^ note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:290:45 | 290 | pub(super) use readwrite_pv64::{preadv64 as preadv, pwritev64 as pwritev}; | ^^^^^^ = note: the item is gated behind the `android` feature note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:312:31 | 312 | pub(super) use readwrite_pv::{preadv, pwritev}; | ^^^^^^ help: a function with a similar name exists | 112 | ret_usize(c::pread( | ~~~~~ help: consider importing this function through its public re-export | 3 + use crate::io::preadv; | help: if you import `preadv`, refer to it directly | 112 - ret_usize(c::preadv( 112 + ret_usize(preadv( | error[E0425]: cannot find function `pwritev` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/syscalls.rs:133:22 | 133 | ret_usize(c::pwritev( | ^^^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:958:5 | 958 | pub fn pwrite(fd: ::c_int, buf: *const ::c_void, count: ::size_t, offset: off_t) -> ::ssize_t; | --------------------------------------------------------------------------------------------- similarly named function `pwrite` defined here | note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:132:73 | 132 | off64_t as off_t, openat, posix_fadvise64 as posix_fadvise, preadv, pwritev, | ^^^^^^^ = note: the item is gated behind the `aix` feature note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:167:56 | 167 | pub(super) use libc::{preadv64 as preadv, pwritev64 as pwritev}; | ^^^^^^^ note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:290:66 | 290 | pub(super) use readwrite_pv64::{preadv64 as preadv, pwritev64 as pwritev}; | ^^^^^^^ = note: the item is gated behind the `android` feature note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:312:39 | 312 | pub(super) use readwrite_pv::{preadv, pwritev}; | ^^^^^^^ help: a function with a similar name exists | 133 | ret_usize(c::pwrite( | ~~~~~~ help: consider importing this function through its public re-export | 3 + use crate::io::pwritev; | help: if you import `pwritev`, refer to it directly | 133 - ret_usize(c::pwritev( 133 + ret_usize(pwritev( | error[E0425]: cannot find function `dup3` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/io/syscalls.rs:319:29 | 319 | ret_discarded_fd(c::dup3( | ^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:862:5 | 862 | pub fn dup(fd: ::c_int) -> ::c_int; | ---------------------------------- similarly named function `dup` defined here | help: a function with a similar name exists | 319 | ret_discarded_fd(c::dup( | ~~~ help: consider importing this function through its public re-export | 3 + use crate::io::dup3; | help: if you import `dup3`, refer to it directly | 319 - ret_discarded_fd(c::dup3( 319 + ret_discarded_fd(dup3( | error[E0412]: cannot find type `msghdr` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/msghdr.rs:25:28 | 25 | f: impl FnOnce(&mut c::msghdr) -> io::Result, | ^^^^^^ not found in `c` error[E0412]: cannot find type `msghdr` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/msghdr.rs:57:23 | 57 | f: impl FnOnce(c::msghdr) -> R, | ^^^^^^ not found in `c` error[E0412]: cannot find type `msghdr` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/msghdr.rs:74:23 | 74 | f: impl FnOnce(c::msghdr) -> R, | ^^^^^^ not found in `c` error[E0412]: cannot find type `msghdr` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/msghdr.rs:95:23 | 95 | f: impl FnOnce(c::msghdr) -> R, | ^^^^^^ not found in `c` error[E0412]: cannot find type `msghdr` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/msghdr.rs:117:23 | 117 | f: impl FnOnce(c::msghdr) -> R, | ^^^^^^ not found in `c` error[E0412]: cannot find type `msghdr` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/msghdr.rs:155:35 | 155 | pub(crate) fn zero_msghdr() -> c::msghdr { | ^^^^^^ not found in `c` error[E0425]: cannot find value `MSG_CONFIRM` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/send_recv.rs:24:37 | 24 | const CONFIRM = bitcast!(c::MSG_CONFIRM); | ^^^^^^^^^^^ not found in `c` error[E0412]: cannot find type `Errno` in this scope --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/errno.rs:57:6 | 57 | impl Errno { | ^^^^^ not found in this scope error[E0412]: cannot find type `Errno` in this scope --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/errno.rs:66:40 | 66 | pub const fn from_i32(err: i32) -> Errno { | ^^^^^ not found in this scope error[E0412]: cannot find type `Errno` in this scope --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/errno.rs:122:23 | 122 | impl error::Error for Errno {} | ^^^^^ not found in this scope error[E0412]: cannot find type `Errno` in this scope --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/errno.rs:124:23 | 124 | impl fmt::Display for Errno { | ^^^^^ not found in this scope error[E0412]: cannot find type `Errno` in this scope --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/errno.rs:130:11 | 130 | impl From for io::Error { | ^^^^^ not found in this scope | help: you might be missing a type parameter | 130 | impl From for io::Error { | +++++++ error[E0412]: cannot find type `Errno` in this scope --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/errno.rs:131:18 | 131 | fn from(err: Errno) -> Self { | ^^^^^ not found in this scope error[E0412]: cannot find type `Errno` in this scope --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/errno.rs:136:29 | 136 | impl TryFrom for Errno { | ^^^^^ not found in this scope error[E0412]: cannot find type `Errno` in this scope --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/errno.rs:144:14 | 144 | fn last() -> Errno { | ^^^^^ not found in this scope error[E0412]: cannot find type `Errno` in this scope --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/errno.rs:148:16 | 148 | fn desc(errno: Errno) -> &'static str { | ^^^^^ not found in this scope error[E0425]: cannot find value `AT_REMOVEDIR` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:39:9 | 39 | AT_REMOVEDIR; | ^^^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `AT_SYMLINK_FOLLOW` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:40:9 | 40 | AT_SYMLINK_FOLLOW; | ^^^^^^^^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `AT_SYMLINK_NOFOLLOW` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:41:9 | 41 | AT_SYMLINK_NOFOLLOW; | ^^^^^^^^^^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `AT_EACCESS` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:47:9 | 47 | AT_EACCESS; | ^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `O_ASYNC` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:70:9 | 70 | O_ASYNC; | ^^^^^^^ help: a constant with a similar name exists: `O_SYNC` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:406:1 | 406 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:88:9 | 88 | O_DIRECTORY; | ^^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `O_NOCTTY` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:136:9 | 136 | O_NOCTTY; | ^^^^^^^^ not found in `libc` error[E0425]: cannot find value `O_NDELAY` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:140:9 | 140 | O_NDELAY; | ^^^^^^^^ help: a constant with a similar name exists: `LOG_NDELAY` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:282:9 | 282 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:142:9 | 142 | O_NOFOLLOW; | ^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `PATH_MAX` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:325:42 | 325 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:378:20 | 378 | (libc::PATH_MAX as usize).max(128) << 1 | ^^^^^^^^ not found in `libc` error[E0425]: cannot find value `AT_FDCWD` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:419:23 | 419 | None => libc::AT_FDCWD, | ^^^^^^^^ not found in `libc` error[E0573]: expected type, found function `libc::flock` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:465:17 | 465 | F_SETLK(&'a libc::flock), | ^^^^^^^^^^^ not a type error[E0573]: expected type, found function `libc::flock` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:466:18 | 466 | F_SETLKW(&'a libc::flock), | ^^^^^^^^^^^ not a type error[E0573]: expected type, found function `libc::flock` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:467:21 | 467 | F_GETLK(&'a mut libc::flock), | ^^^^^^^^^^^ not a type error[E0425]: cannot find value `LOCK_SH` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:576:49 | 576 | LockShared => libc::flock(fd, libc::LOCK_SH), | ^^^^^^^ not found in `libc` error[E0425]: cannot find value `LOCK_EX` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:577:52 | 577 | LockExclusive => libc::flock(fd, libc::LOCK_EX), | ^^^^^^^ not found in `libc` error[E0425]: cannot find value `LOCK_UN` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:578:45 | 578 | Unlock => libc::flock(fd, libc::LOCK_UN), | ^^^^^^^ not found in `libc` error[E0425]: cannot find value `LOCK_SH` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:580:39 | 580 | libc::flock(fd, libc::LOCK_SH | libc::LOCK_NB) | ^^^^^^^ not found in `libc` error[E0425]: cannot find value `LOCK_NB` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:580:55 | 580 | libc::flock(fd, libc::LOCK_SH | libc::LOCK_NB) | ^^^^^^^ not found in `libc` error[E0425]: cannot find value `LOCK_EX` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:583:39 | 583 | libc::flock(fd, libc::LOCK_EX | libc::LOCK_NB) | ^^^^^^^ not found in `libc` error[E0425]: cannot find value `LOCK_NB` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:583:55 | 583 | libc::flock(fd, libc::LOCK_EX | libc::LOCK_NB) | ^^^^^^^ not found in `libc` error[E0425]: cannot find value `LOCK_UN` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:585:53 | 585 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:585:69 | 585 | UnlockNonblock => libc::flock(fd, libc::LOCK_UN | libc::LOCK_NB), | ^^^^^^^ not found in `libc` error[E0425]: cannot find value `SIGINFO` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:119:9 | 119 | SIGINFO, | ^^^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/horizon/mod.rs:88:1 | 88 | pub const SIGINT: ::c_int = 2; | ------------------------- similarly named constant `SIGINT` defined here | help: a constant with a similar name exists | 119 | SIGINT, | ~~~~~~ help: consider importing this unit variant | 6 + use crate::sys::signal::Signal::SIGINFO; | error[E0531]: cannot find unit struct, unit variant or constant `SIGINFO` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:119:9 | 119 | SIGINFO, | ^^^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/horizon/mod.rs:88:1 | 88 | pub const SIGINT: ::c_int = 2; | ------------------------- similarly named constant `SIGINT` defined here | help: a constant with a similar name exists | 119 | SIGINT, | ~~~~~~ help: consider importing this unit variant | 6 + use crate::sys::signal::Signal::SIGINFO; | error[E0425]: cannot find value `SA_NOCLDWAIT` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:442:9 | 442 | SA_NOCLDWAIT; | ^^^^^^^^^^^^ help: a constant with a similar name exists: `SA_NOCLDSTOP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/horizon/mod.rs:79:1 | 79 | pub const SA_NOCLDSTOP: ::c_int = 1; | ------------------------------- similarly named constant `SA_NOCLDSTOP` defined here error[E0425]: cannot find value `SA_NODEFER` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:445:9 | 445 | SA_NODEFER; | ^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `SA_ONSTACK` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:448:9 | 448 | SA_ONSTACK; | ^^^^^^^^^^ help: a constant with a similar name exists: `SS_ONSTACK` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/horizon/mod.rs:82:1 | 82 | pub const SS_ONSTACK: ::c_int = 1; | ----------------------------- similarly named constant `SS_ONSTACK` defined here error[E0425]: cannot find value `SA_RESETHAND` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:451:9 | 451 | SA_RESETHAND; | ^^^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `SA_RESTART` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:454:9 | 454 | SA_RESTART; | ^^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `SA_SIGINFO` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:456:9 | 456 | SA_SIGINFO; | ^^^^^^^^^^ not found in `libc` error[E0412]: cannot find type `siginfo_t` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:674:49 | 674 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:697:91 | 697 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:1298:41 | 1298 | pub fn sigevent(&self) -> libc::sigevent { | ^^^^^^^^ not found in `libc` error[E0412]: cannot find type `sigevent` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:1312:52 | 1312 | pub fn as_mut_ptr(&mut self) -> *mut libc::sigevent { | ^^^^^^^^ not found in `libc` error[E0412]: cannot find type `sigevent` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:1317:29 | 1317 | impl<'a> From<&'a libc::sigevent> for SigEvent { | ^^^^^^^^ not found in `libc` error[E0412]: cannot find type `sigevent` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:1328:34 | 1328 | fn from(sigevent: &libc::sigevent) -> Self { | ^^^^^^^^ not found in `libc` error[E0425]: cannot find value `MSG_EOR` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/send_recv.rs:32:33 | 32 | const EOT = bitcast!(c::MSG_EOR); | ^^^^^^^ help: a constant with a similar name exists: `MSG_MORE` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/horizon/mod.rs:132:1 | 132 | pub const MSG_MORE: ::c_int = 0; | --------------------------- similarly named constant `MSG_MORE` defined here error[E0425]: cannot find value `S_IRWXU` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/stat.rs:37:9 | 37 | S_IRWXU; | ^^^^^^^ not found in `libc` error[E0425]: cannot find value `S_IRWXG` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/stat.rs:45:9 | 45 | S_IRWXG; | ^^^^^^^ not found in `libc` error[E0425]: cannot find value `S_IRWXO` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/stat.rs:53:9 | 53 | S_IRWXO; | ^^^^^^^ not found in `libc` error[E0425]: cannot find function `mknodat` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/stat.rs:202:15 | 202 | libc::mknodat( | ^^^^^^^ help: a function with a similar name exists: `mknod` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:1269:5 | 1269 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/stat.rs:413:30 | 413 | let res = unsafe { libc::futimens(fd, ×[0]) }; | ^^^^^^^^ help: a function with a similar name exists: `utimes` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:1176:5 | 1176 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/stat.rs:457:15 | 457 | libc::utimensat( | ^^^^^^^^^ help: a function with a similar name exists: `utimes` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:1176:5 | 1176 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/statvfs.rs:19:9 | 19 | ST_RDONLY; | ^^^^^^^^^ help: a constant with a similar name exists: `O_RDONLY` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:399:1 | 399 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/statvfs.rs:22:9 | 22 | ST_NOSUID; | ^^^^^^^^^ help: a constant with a similar name exists: `S_ISUID` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:238:1 | 238 | pub const S_ISUID: ::mode_t = 0x800; | --------------------------- similarly named constant `S_ISUID` defined here error[E0425]: cannot find value `WUNTRACED` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/wait.rs:25:9 | 25 | WUNTRACED; | ^^^^^^^^^ not found in `libc` error[E0425]: cannot find value `WCONTINUED` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/wait.rs:40:9 | 40 | WCONTINUED; | ^^^^^^^^^^ help: a function with a similar name exists: `WIFCONTINUED` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/horizon/mod.rs:179:1 | 179 | / safe_f! { 180 | | pub {const} fn WIFSTOPPED(_status: ::c_int) -> bool { 181 | | false 182 | | } ... | 210 | | } 211 | | } | |_- similarly named function `WIFCONTINUED` defined here error[E0425]: cannot find function `mkfifoat` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:598:15 | 598 | libc::mkfifoat(at_rawfd(dirfd), cstr.as_ptr(), mode.bits() as mode_t) | ^^^^^^^^ help: a function with a similar name exists: `mkfifo` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:1355:5 | 1355 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:623:39 | 623 | dirfd.unwrap_or(libc::AT_FDCWD), | ^^^^^^^^ not found in `libc` error[E0425]: cannot find value `F_OK` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:3364:9 | 3364 | F_OK; | ^^^^ not found in `libc` error[E0425]: cannot find value `R_OK` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:3366:9 | 3366 | R_OK; | ^^^^ not found in `libc` error[E0425]: cannot find value `W_OK` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:3368:9 | 3368 | W_OK; | ^^^^ not found in `libc` error[E0425]: cannot find value `X_OK` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:3370:9 | 3370 | X_OK; | ^^^^ not found in `libc` error[E0425]: cannot find function `faccessat` in crate `libc` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:3404:15 | 3404 | libc::faccessat( | ^^^^^^^^^ help: a function with a similar name exists: `access` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:843:5 | 843 | pub fn access(path: *const c_char, amode: ::c_int) -> ::c_int; | ------------------------------------------------------------- similarly named function `access` defined here error[E0425]: cannot find value `MSG_CMSG_CLOEXEC` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/send_recv.rs:75:42 | 75 | const CMSG_CLOEXEC = bitcast!(c::MSG_CMSG_CLOEXEC); | ^^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `MSG_ERRQUEUE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/send_recv.rs:90:38 | 90 | const ERRQUEUE = bitcast!(c::MSG_ERRQUEUE); | ^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `MSG_TRUNC` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/send_recv.rs:96:35 | 96 | const TRUNC = bitcast!(c::MSG_TRUNC); | ^^^^^^^^^ help: a constant with a similar name exists: `O_TRUNC` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:404:1 | 404 | pub const O_TRUNC: ::c_int = 1024; | -------------------------- similarly named constant `O_TRUNC` defined here error[E0425]: cannot find value `SO_DOMAIN` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/sockopt.rs:377:61 | 377 | let domain: c::c_int = getsockopt(fd, c::SOL_SOCKET, c::SO_DOMAIN)?; | ^^^^^^^^^ not found in `c` error[E0425]: cannot find value `IPV6_TCLASS` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/sockopt.rs:805:40 | 805 | setsockopt(fd, c::IPPROTO_IPV6, c::IPV6_TCLASS, value) | ^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `IPV6_TCLASS` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/sockopt.rs:817:40 | 817 | getsockopt(fd, c::IPPROTO_IPV6, c::IPV6_TCLASS) | ^^^^^^^^^^^ not found in `c` error[E0425]: cannot find function `recvmsg` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/syscalls.rs:332:30 | 332 | ret_send_recv(c::recvmsg( | ^^^^^^^ not found in `c` | help: consider importing this function through its public re-export | 3 + use crate::net::recvmsg; | help: if you import `recvmsg`, refer to it directly | 332 - ret_send_recv(c::recvmsg( 332 + ret_send_recv(recvmsg( | error[E0425]: cannot find function `sendmsg` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/syscalls.rs:367:26 | 367 | ret_send_recv(c::sendmsg( | ^^^^^^^ not found in `c` | help: consider importing this function through its public re-export | 3 + use crate::net::sendmsg; | help: if you import `sendmsg`, refer to it directly | 367 - ret_send_recv(c::sendmsg( 367 + ret_send_recv(sendmsg( | error[E0425]: cannot find function `sendmsg` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/syscalls.rs:390:26 | 390 | ret_send_recv(c::sendmsg( | ^^^^^^^ not found in `c` | help: consider importing this function through its public re-export | 3 + use crate::net::sendmsg; | help: if you import `sendmsg`, refer to it directly | 390 - ret_send_recv(c::sendmsg( 390 + ret_send_recv(sendmsg( | error[E0425]: cannot find function `sendmsg` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/syscalls.rs:413:26 | 413 | ret_send_recv(c::sendmsg( | ^^^^^^^ not found in `c` | help: consider importing this function through its public re-export | 3 + use crate::net::sendmsg; | help: if you import `sendmsg`, refer to it directly | 413 - ret_send_recv(c::sendmsg( 413 + ret_send_recv(sendmsg( | error[E0425]: cannot find function `sendmsg` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/syscalls.rs:433:26 | 433 | ret_send_recv(c::sendmsg( | ^^^^^^^ not found in `c` | help: consider importing this function through its public re-export | 3 + use crate::net::sendmsg; | help: if you import `sendmsg`, refer to it directly | 433 - ret_send_recv(c::sendmsg( 433 + ret_send_recv(sendmsg( | error[E0425]: cannot find function `accept4` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/syscalls.rs:471:40 | 471 | let owned_fd = ret_owned_fd(c::accept4( | ^^^^^^^ help: a function with a similar name exists: `accept` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:628:5 | 628 | pub fn accept(socket: ::c_int, address: *mut sockaddr, address_len: *mut socklen_t) -> ::c_int; | ---------------------------------------------------------------------------------------------- similarly named function `accept` defined here error[E0425]: cannot find function `accept4` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/syscalls.rs:516:40 | 516 | let owned_fd = ret_owned_fd(c::accept4( | ^^^^^^^ help: a function with a similar name exists: `accept` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:628:5 | 628 | pub fn accept(socket: ::c_int, address: *mut sockaddr, address_len: *mut socklen_t) -> ::c_int; | ---------------------------------------------------------------------------------------------- similarly named function `accept` defined here error[E0425]: cannot find value `_SC_CLK_TCK` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/param/auxv.rs:23:28 | 23 | unsafe { c::sysconf(c::_SC_CLK_TCK) as u64 } | ^^^^^^^^^^^ not found in `c` error[E0425]: cannot find function `pipe2` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/pipe/syscalls.rs:46:16 | 46 | ret(c::pipe2( | ^^^^^ help: a function with a similar name exists: `pipe` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:897:5 | 897 | pub fn pipe(fds: *mut ::c_int) -> ::c_int; | ----------------------------------------- similarly named function `pipe` defined here error[E0425]: cannot find value `O_DIRECT` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/pipe/types.rs:26:36 | 26 | const DIRECT = bitcast!(c::O_DIRECT); | ^^^^^^^^ not found in `c` error[E0425]: cannot find function `getpriority` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:251:25 | 251 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:268:25 | 268 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:285:25 | 285 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:301:21 | 301 | 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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:313:16 | 313 | ret(c::setpriority( | ^^^^^^^^^^^ not found in `c` error[E0425]: cannot find function `setpriority` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:330:16 | 330 | ret(c::setpriority( | ^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIM_INFINITY` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:392:41 | 392 | let current = if lim.rlim_cur == c::RLIM_INFINITY { | ^^^^^^^^^^^^^ not found in `c` | note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:134:27 | 134 | statvfs64 as statvfs, RLIM_INFINITY, | ^^^^^^^^^^^^^ = note: the item is gated behind the `aix` feature note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:142:24 | 142 | RLIM64_INFINITY as RLIM_INFINITY, | ^^^^^^^^^^^^^ error[E0425]: cannot find value `RLIM_INFINITY` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:397:41 | 397 | let maximum = if lim.rlim_max == c::RLIM_INFINITY { | ^^^^^^^^^^^^^ not found in `c` | note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:134:27 | 134 | statvfs64 as statvfs, RLIM_INFINITY, | ^^^^^^^^^^^^^ = note: the item is gated behind the `aix` feature note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:142:24 | 142 | RLIM64_INFINITY as RLIM_INFINITY, | ^^^^^^^^^^^^^ error[E0425]: cannot find value `RLIM_INFINITY` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:417:20 | 417 | None => c::RLIM_INFINITY as _, | ^^^^^^^^^^^^^ not found in `c` | note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:134:27 | 134 | statvfs64 as statvfs, RLIM_INFINITY, | ^^^^^^^^^^^^^ = note: the item is gated behind the `aix` feature note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:142:24 | 142 | RLIM64_INFINITY as RLIM_INFINITY, | ^^^^^^^^^^^^^ error[E0425]: cannot find value `RLIM_INFINITY` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:421:20 | 421 | None => c::RLIM_INFINITY as _, | ^^^^^^^^^^^^^ not found in `c` | note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:134:27 | 134 | statvfs64 as statvfs, RLIM_INFINITY, | ^^^^^^^^^^^^^ = note: the item is gated behind the `aix` feature note: found an item that was configured out --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/c.rs:142:24 | 142 | RLIM64_INFINITY as RLIM_INFINITY, | ^^^^^^^^^^^^^ error[E0412]: cannot find type `siginfo_t` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:492:39 | 492 | let mut status = MaybeUninit::::zeroed(); | ^^^^^^^^^ not found in `c` error[E0425]: cannot find function `waitid` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:494:16 | 494 | ret(c::waitid( | ^^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:943:5 | 943 | 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 | 494 | ret(c::waitpid( | ~~~~~~~ help: consider importing this function through its public re-export | 5 + use crate::process::waitid; | help: if you import `waitid`, refer to it directly | 494 - ret(c::waitid( 494 + ret(waitid( | error[E0425]: cannot find value `P_ALL` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:495:16 | 495 | c::P_ALL, | ^^^^^ not found in `c` error[E0412]: cannot find type `siginfo_t` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:516:39 | 516 | let mut status = MaybeUninit::::zeroed(); | ^^^^^^^^^ not found in `c` error[E0425]: cannot find function `waitid` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:518:16 | 518 | ret(c::waitid( | ^^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:943:5 | 943 | 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 | 518 | ret(c::waitpid( | ~~~~~~~ help: consider importing this function through its public re-export | 5 + use crate::process::waitid; | help: if you import `waitid`, refer to it directly | 518 - ret(c::waitid( 518 + ret(waitid( | error[E0425]: cannot find value `P_PID` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:519:16 | 519 | c::P_PID, | ^^^^^ not found in `c` error[E0412]: cannot find type `siginfo_t` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:540:39 | 540 | let mut status = MaybeUninit::::zeroed(); | ^^^^^^^^^ not found in `c` error[E0425]: cannot find function `waitid` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:542:16 | 542 | ret(c::waitid( | ^^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:943:5 | 943 | 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 | 542 | ret(c::waitpid( | ~~~~~~~ help: consider importing this function through its public re-export | 5 + use crate::process::waitid; | help: if you import `waitid`, refer to it directly | 542 - ret(c::waitid( 542 + ret(waitid( | error[E0425]: cannot find value `P_PGID` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:543:16 | 543 | c::P_PGID, | ^^^^^^ not found in `c` error[E0412]: cannot find type `siginfo_t` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/syscalls.rs:585:52 | 585 | unsafe fn cvt_waitid_status(status: MaybeUninit) -> Option { | ^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIMIT_CPU` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/types.rs:56:23 | 56 | Cpu = bitcast!(c::RLIMIT_CPU), | ^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIMIT_FSIZE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/types.rs:58:25 | 58 | Fsize = bitcast!(c::RLIMIT_FSIZE), | ^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIMIT_DATA` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/types.rs:60:24 | 60 | Data = bitcast!(c::RLIMIT_DATA), | ^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIMIT_STACK` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/types.rs:62:25 | 62 | Stack = bitcast!(c::RLIMIT_STACK), | ^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIMIT_CORE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/types.rs:65:24 | 65 | Core = bitcast!(c::RLIMIT_CORE), | ^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIMIT_RSS` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/types.rs:69:23 | 69 | Rss = bitcast!(c::RLIMIT_RSS), | ^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIMIT_NPROC` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/types.rs:72:25 | 72 | Nproc = bitcast!(c::RLIMIT_NPROC), | ^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIMIT_NOFILE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/types.rs:74:26 | 74 | Nofile = bitcast!(c::RLIMIT_NOFILE), | ^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIMIT_MEMLOCK` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/types.rs:77:27 | 77 | Memlock = bitcast!(c::RLIMIT_MEMLOCK), | ^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIMIT_AS` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/types.rs:80:22 | 80 | As = bitcast!(c::RLIMIT_AS), | ^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIMIT_LOCKS` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/types.rs:90:25 | 90 | Locks = bitcast!(c::RLIMIT_LOCKS), | ^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIMIT_SIGPENDING` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/types.rs:100:30 | 100 | Sigpending = bitcast!(c::RLIMIT_SIGPENDING), | ^^^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIMIT_MSGQUEUE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/types.rs:110:28 | 110 | Msgqueue = bitcast!(c::RLIMIT_MSGQUEUE), | ^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIMIT_NICE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/types.rs:120:24 | 120 | Nice = bitcast!(c::RLIMIT_NICE), | ^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIMIT_RTPRIO` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/types.rs:130:26 | 130 | Rtprio = bitcast!(c::RLIMIT_RTPRIO), | ^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `RLIMIT_RTTIME` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/process/types.rs:142:26 | 142 | Rttime = bitcast!(c::RLIMIT_RTTIME), | ^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find function `sethostname` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/system/syscalls.rs:57:16 | 57 | ret(c::sethostname( | ^^^^^^^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:1270:5 | 1270 | pub fn gethostname(name: *mut ::c_char, len: ::size_t) -> ::c_int; | ----------------------------------------------------------------- similarly named function `gethostname` defined here | help: a function with a similar name exists | 57 | ret(c::gethostname( | ~~~~~~~~~~~ help: consider importing this function | 3 + use crate::system::sethostname; | help: if you import `sethostname`, refer to it directly | 57 - ret(c::sethostname( 57 + ret(sethostname( | error[E0425]: cannot find function `clock_nanosleep` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/thread/syscalls.rs:85:18 | 85 | match c::clock_nanosleep(id as c::clockid_t, flags, request, remain.as_mut_ptr()) { | ^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find function `clock_nanosleep` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/thread/syscalls.rs:182:27 | 182 | match unsafe { c::clock_nanosleep(id as c::clockid_t, flags as _, request, null_mut()) } { | ^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find function `shm_open` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/shm/syscalls.rs:20:30 | 20 | unsafe { ret_owned_fd(c::shm_open(c_str(name), bitflags_bits!(oflags), mode)) } | ^^^^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:731:5 | 731 | pub fn sem_open(name: *const ::c_char, oflag: ::c_int, ...) -> *mut sem_t; | ------------------------------------------------------------------------- similarly named function `sem_open` defined here | help: a function with a similar name exists | 20 | unsafe { ret_owned_fd(c::sem_open(c_str(name), bitflags_bits!(oflags), mode)) } | ~~~~~~~~ help: consider importing this function | 1 + use crate::shm::shm_open; | help: if you import `shm_open`, refer to it directly | 20 - unsafe { ret_owned_fd(c::shm_open(c_str(name), bitflags_bits!(oflags), mode)) } 20 + unsafe { ret_owned_fd(shm_open(c_str(name), bitflags_bits!(oflags), mode)) } | error[E0425]: cannot find function `shm_unlink` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/shm/syscalls.rs:24:21 | 24 | unsafe { ret(c::shm_unlink(c_str(name))) } | ^^^^^^^^^^ | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:734:5 | 734 | pub fn sem_unlink(name: *const ::c_char) -> ::c_int; | --------------------------------------------------- similarly named function `sem_unlink` defined here | help: a function with a similar name exists | 24 | unsafe { ret(c::sem_unlink(c_str(name))) } | ~~~~~~~~~~ help: consider importing this function | 1 + use crate::shm::shm_unlink; | help: if you import `shm_unlink`, refer to it directly | 24 - unsafe { ret(c::shm_unlink(c_str(name))) } 24 + unsafe { ret(shm_unlink(c_str(name))) } | error[E0425]: cannot find value `UTIME_NOW` in module `backend::c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/fs/at.rs:38:42 | 38 | pub const UTIME_NOW: Nsecs = backend::c::UTIME_NOW as Nsecs; | ^^^^^^^^^ not found in `backend::c` | help: consider importing this constant through its public re-export | 8 + use crate::fs::UTIME_NOW; | help: if you import `UTIME_NOW`, refer to it directly | 38 - pub const UTIME_NOW: Nsecs = backend::c::UTIME_NOW as Nsecs; 38 + pub const UTIME_NOW: Nsecs = UTIME_NOW as Nsecs; | error[E0425]: cannot find value `UTIME_OMIT` in module `backend::c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/fs/at.rs:44:43 | 44 | pub const UTIME_OMIT: Nsecs = backend::c::UTIME_OMIT as Nsecs; | ^^^^^^^^^^ not found in `backend::c` | help: consider importing this constant through its public re-export | 8 + use crate::fs::UTIME_OMIT; | help: if you import `UTIME_OMIT`, refer to it directly | 44 - pub const UTIME_OMIT: Nsecs = backend::c::UTIME_OMIT as Nsecs; 44 + pub const UTIME_OMIT: Nsecs = UTIME_OMIT as Nsecs; | error[E0425]: cannot find value `AT_FDCWD` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/fs/cwd.rs:29:51 | 29 | unsafe { BorrowedFd::<'static>::borrow_raw(c::AT_FDCWD as RawFd) }; | ^^^^^^^^ not found in `c` error[E0425]: cannot find value `AT_FDCWD` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/fs/cwd.rs:34:23 | 34 | let at_fdcwd = c::AT_FDCWD as RawFd; | ^^^^^^^^ not found in `c` error[E0425]: cannot find value `FIONREAD` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/io/ioctl.rs:74:57 | 74 | let ctl = ioctl::Getter::, c::c_int>::new(); | ^^^^^^^^ not found in `c` error[E0412]: cannot find type `_RawOpcode` in this scope --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/ioctl/mod.rs:303:22 | 303 | pub type RawOpcode = _RawOpcode; | ^^^^^^^^^^ not found in this scope error[E0412]: cannot find type `cmsghdr` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:104:35 | 104 | let len = len + align_of::(); | ^^^^^^^ not found in `c` error[E0425]: cannot find function, tuple struct or tuple variant `CMSG_SPACE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:118:17 | 118 | unsafe { c::CMSG_SPACE(converted_len) as usize } | ^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `SCM_RIGHTS` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:272:71 | 272 | self.push_ancillary(fds_bytes, c::SOL_SOCKET as _, c::SCM_RIGHTS as _) | ^^^^^^^^^^ not found in `c` error[E0425]: cannot find function, tuple struct or tuple variant `CMSG_SPACE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:299:44 | 299 | let additional_space = unsafe { c::CMSG_SPACE(source_len) }; | ^^^^^^^^^^ not found in `c` error[E0425]: cannot find function, tuple struct or tuple variant `CMSG_LEN` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:311:44 | 311 | last_header.cmsg_len = unsafe { c::CMSG_LEN(source_len) } as _; | ^^^^^^^^ not found in `c` error[E0425]: cannot find function, tuple struct or tuple variant `CMSG_DATA` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:317:30 | 317 | let payload = c::CMSG_DATA(last_header); | ^^^^^^^^^ not found in `c` error[E0412]: cannot find type `cmsghdr` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:465:31 | 465 | let align = align_of::(); | ^^^^^^^ not found in `c` error[E0412]: cannot find type `cmsghdr` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:488:18 | 488 | msg: &c::cmsghdr, | ^^^^^^^ not found in `c` error[E0425]: cannot find function, tuple struct or tuple variant `CMSG_DATA` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:497:30 | 497 | let payload = c::CMSG_DATA(msg); | ^^^^^^^^^ not found in `c` error[E0425]: cannot find function, tuple struct or tuple variant `CMSG_LEN` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:498:58 | 498 | let payload_len = msg.cmsg_len as usize - c::CMSG_LEN(0) as usize; | ^^^^^^^^ not found in `c` error[E0531]: cannot find unit struct, unit variant or constant `SCM_RIGHTS` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:506:36 | 506 | (c::SOL_SOCKET, c::SCM_RIGHTS) => { | ^^^^^^^^^^ not found in `c` error[E0412]: cannot find type `msghdr` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:922:20 | 922 | msghdr: c::msghdr, | ^^^^^^ not found in `c` error[E0412]: cannot find type `cmsghdr` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:927:35 | 927 | header: Option>, | ^^^^^^^ not found in `c` error[E0425]: cannot find function, tuple struct or tuple variant `CMSG_FIRSTHDR` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:944:51 | 944 | let header = NonNull::new(unsafe { c::CMSG_FIRSTHDR(&msghdr) }); | ^^^^^^^^^^^^^ not found in `c` error[E0412]: cannot find type `cmsghdr` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:955:32 | 955 | type Item = &'a mut c::cmsghdr; | ^^^^^^^ not found in `c` error[E0425]: cannot find function, tuple struct or tuple variant `CMSG_NXTHDR` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:963:52 | 963 | self.header = NonNull::new(unsafe { c::CMSG_NXTHDR(&self.msghdr, header.as_ptr()) }); | ^^^^^^^^^^^ not found in `c` error[E0425]: cannot find function, tuple struct or tuple variant `CMSG_LEN` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/send_recv/msg.rs:978:44 | 978 | let max_size = unsafe { c::CMSG_LEN(0) } as usize; | ^^^^^^^^ not found in `c` error[E0425]: cannot find value `SOCK_SEQPACKET` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:26:41 | 26 | pub const SEQPACKET: Self = Self(c::SOCK_SEQPACKET as _); | ^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `SOCK_RAW` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:30:35 | 30 | pub const RAW: Self = Self(c::SOCK_RAW as _); | ^^^^^^^^ not found in `c` error[E0425]: cannot find value `SOCK_RDM` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:34:35 | 34 | pub const RDM: Self = Self(c::SOCK_RDM as _); | ^^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_NETLINK` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:97:39 | 97 | pub const NETLINK: Self = Self(c::AF_NETLINK as _); | ^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_AX25` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:112:36 | 112 | pub const AX25: Self = Self(c::AF_AX25 as _); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_IPX` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:119:35 | 119 | pub const IPX: Self = Self(c::AF_IPX as _); | ^^^^^^ not found in `c` error[E0425]: cannot find value `AF_APPLETALK` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:122:41 | 122 | pub const APPLETALK: Self = Self(c::AF_APPLETALK as _); | ^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_NETROM` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:134:38 | 134 | pub const NETROM: Self = Self(c::AF_NETROM as _); | ^^^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_BRIDGE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:146:38 | 146 | pub const BRIDGE: Self = Self(c::AF_BRIDGE as _); | ^^^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_ATMPVC` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:158:38 | 158 | pub const ATMPVC: Self = Self(c::AF_ATMPVC as _); | ^^^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_X25` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:169:35 | 169 | pub const X25: Self = Self(c::AF_X25 as _); | ^^^^^^ not found in `c` error[E0425]: cannot find value `AF_ROSE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:181:36 | 181 | pub const ROSE: Self = Self(c::AF_ROSE as _); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_DECnet` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:184:38 | 184 | pub const DECnet: Self = Self(c::AF_DECnet as _); | ^^^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_NETBEUI` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:196:39 | 196 | pub const NETBEUI: Self = Self(c::AF_NETBEUI as _); | ^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_SECURITY` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:208:40 | 208 | pub const SECURITY: Self = Self(c::AF_SECURITY as _); | ^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_KEY` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:219:35 | 219 | pub const KEY: Self = Self(c::AF_KEY as _); | ^^^^^^ not found in `c` error[E0425]: cannot find value `AF_PACKET` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:235:38 | 235 | pub const PACKET: Self = Self(c::AF_PACKET as _); | ^^^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_ASH` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:247:35 | 247 | pub const ASH: Self = Self(c::AF_ASH as _); | ^^^^^^ not found in `c` error[E0425]: cannot find value `AF_ECONET` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:259:38 | 259 | pub const ECONET: Self = Self(c::AF_ECONET as _); | ^^^^^^^^^ help: a constant with a similar name exists: `AF_INET` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:455:1 | 455 | pub const AF_INET: ::c_int = 2; | -------------------------- similarly named constant `AF_INET` defined here error[E0425]: cannot find value `AF_ATMSVC` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:271:38 | 271 | pub const ATMSVC: Self = Self(c::AF_ATMSVC as _); | ^^^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_RDS` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:283:35 | 283 | pub const RDS: Self = Self(c::AF_RDS as _); | ^^^^^^ not found in `c` error[E0425]: cannot find value `AF_SNA` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:286:35 | 286 | pub const SNA: Self = Self(c::AF_SNA as _); | ^^^^^^ not found in `c` error[E0425]: cannot find value `AF_IRDA` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:297:36 | 297 | pub const IRDA: Self = Self(c::AF_IRDA as _); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_PPPOX` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:309:37 | 309 | pub const PPPOX: Self = Self(c::AF_PPPOX as _); | ^^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_WANPIPE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:321:39 | 321 | pub const WANPIPE: Self = Self(c::AF_WANPIPE as _); | ^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_LLC` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:333:35 | 333 | pub const LLC: Self = Self(c::AF_LLC as _); | ^^^^^^ not found in `c` error[E0425]: cannot find value `AF_CAN` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:345:35 | 345 | pub const CAN: Self = Self(c::AF_CAN as _); | ^^^^^^ not found in `c` error[E0425]: cannot find value `AF_TIPC` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:357:36 | 357 | pub const TIPC: Self = Self(c::AF_TIPC as _); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_BLUETOOTH` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:367:41 | 367 | pub const BLUETOOTH: Self = Self(c::AF_BLUETOOTH as _); | ^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_IUCV` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:379:36 | 379 | pub const IUCV: Self = Self(c::AF_IUCV as _); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_RXRPC` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:391:37 | 391 | pub const RXRPC: Self = Self(c::AF_RXRPC as _); | ^^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_ISDN` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:401:36 | 401 | pub const ISDN: Self = Self(c::AF_ISDN as _); | ^^^^^^^ not found in `c` error[E0425]: cannot find value `AF_PHONET` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:413:38 | 413 | pub const PHONET: Self = Self(c::AF_PHONET as _); | ^^^^^^^^^ help: a constant with a similar name exists: `AF_INET` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:455:1 | 455 | pub const AF_INET: ::c_int = 2; | -------------------------- similarly named constant `AF_INET` defined here error[E0425]: cannot find value `AF_IEEE802154` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:425:42 | 425 | pub const IEEE802154: Self = Self(c::AF_IEEE802154 as _); | ^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `IPPROTO_IGMP` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:650:61 | 650 | pub const IGMP: Protocol = Protocol(new_raw_protocol(c::IPPROTO_IGMP as _)); | ^^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_ICMP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:296:1 | 296 | pub const IPPROTO_ICMP: ::c_int = 1; | ------------------------------- similarly named constant `IPPROTO_ICMP` defined here error[E0425]: cannot find value `IPPROTO_IPIP` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:659:61 | 659 | pub const IPIP: Protocol = Protocol(new_raw_protocol(c::IPPROTO_IPIP as _)); | ^^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_ICMP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:296:1 | 296 | pub const IPPROTO_ICMP: ::c_int = 1; | ------------------------------- similarly named constant `IPPROTO_ICMP` defined here error[E0425]: cannot find value `IPPROTO_EGP` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:669:60 | 669 | pub const EGP: Protocol = Protocol(new_raw_protocol(c::IPPROTO_EGP as _)); | ^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_IP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:300:1 | 300 | pub const IPPROTO_IP: ::c_int = 0; | ----------------------------- similarly named constant `IPPROTO_IP` defined here error[E0425]: cannot find value `IPPROTO_PUP` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:677:60 | 677 | pub const PUP: Protocol = Protocol(new_raw_protocol(c::IPPROTO_PUP as _)); | ^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_IP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:300:1 | 300 | pub const IPPROTO_IP: ::c_int = 0; | ----------------------------- similarly named constant `IPPROTO_IP` defined here error[E0425]: cannot find value `IPPROTO_IDP` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:687:60 | 687 | pub const IDP: Protocol = Protocol(new_raw_protocol(c::IPPROTO_IDP as _)); | ^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_IP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:300:1 | 300 | pub const IPPROTO_IP: ::c_int = 0; | ----------------------------- similarly named constant `IPPROTO_IP` defined here error[E0425]: cannot find value `IPPROTO_TP` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:696:59 | 696 | pub const TP: Protocol = Protocol(new_raw_protocol(c::IPPROTO_TP as _)); | ^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_IP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:300:1 | 300 | pub const IPPROTO_IP: ::c_int = 0; | ----------------------------- similarly named constant `IPPROTO_IP` defined here error[E0425]: cannot find value `IPPROTO_DCCP` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:710:61 | 710 | pub const DCCP: Protocol = Protocol(new_raw_protocol(c::IPPROTO_DCCP as _)); | ^^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_ICMP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:296:1 | 296 | pub const IPPROTO_ICMP: ::c_int = 1; | ------------------------------- similarly named constant `IPPROTO_ICMP` defined here error[E0425]: cannot find value `IPPROTO_RSVP` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:721:61 | 721 | pub const RSVP: Protocol = Protocol(new_raw_protocol(c::IPPROTO_RSVP as _)); | ^^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_ICMP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:296:1 | 296 | pub const IPPROTO_ICMP: ::c_int = 1; | ------------------------------- similarly named constant `IPPROTO_ICMP` defined here error[E0425]: cannot find value `IPPROTO_GRE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:730:60 | 730 | pub const GRE: Protocol = Protocol(new_raw_protocol(c::IPPROTO_GRE as _)); | ^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_IP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:300:1 | 300 | pub const IPPROTO_IP: ::c_int = 0; | ----------------------------- similarly named constant `IPPROTO_IP` defined here error[E0425]: cannot find value `IPPROTO_ESP` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:738:60 | 738 | pub const ESP: Protocol = Protocol(new_raw_protocol(c::IPPROTO_ESP as _)); | ^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_IP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:300:1 | 300 | pub const IPPROTO_IP: ::c_int = 0; | ----------------------------- similarly named constant `IPPROTO_IP` defined here error[E0425]: cannot find value `IPPROTO_AH` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:746:59 | 746 | pub const AH: Protocol = Protocol(new_raw_protocol(c::IPPROTO_AH as _)); | ^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_IP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:300:1 | 300 | pub const IPPROTO_IP: ::c_int = 0; | ----------------------------- similarly named constant `IPPROTO_IP` defined here error[E0425]: cannot find value `IPPROTO_MTP` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:758:60 | 758 | pub const MTP: Protocol = Protocol(new_raw_protocol(c::IPPROTO_MTP as _)); | ^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_IP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:300:1 | 300 | pub const IPPROTO_IP: ::c_int = 0; | ----------------------------- similarly named constant `IPPROTO_IP` defined here error[E0425]: cannot find value `IPPROTO_BEETPH` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:770:63 | 770 | pub const BEETPH: Protocol = Protocol(new_raw_protocol(c::IPPROTO_BEETPH as _)); | ^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `IPPROTO_ENCAP` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:780:62 | 780 | pub const ENCAP: Protocol = Protocol(new_raw_protocol(c::IPPROTO_ENCAP as _)); | ^^^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_ICMP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:296:1 | 296 | pub const IPPROTO_ICMP: ::c_int = 1; | ------------------------------- similarly named constant `IPPROTO_ICMP` defined here error[E0425]: cannot find value `IPPROTO_PIM` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:789:60 | 789 | pub const PIM: Protocol = Protocol(new_raw_protocol(c::IPPROTO_PIM as _)); | ^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_IP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:300:1 | 300 | pub const IPPROTO_IP: ::c_int = 0; | ----------------------------- similarly named constant `IPPROTO_IP` defined here error[E0425]: cannot find value `IPPROTO_COMP` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:801:61 | 801 | pub const COMP: Protocol = Protocol(new_raw_protocol(c::IPPROTO_COMP as _)); | ^^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_ICMP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:296:1 | 296 | pub const IPPROTO_ICMP: ::c_int = 1; | ------------------------------- similarly named constant `IPPROTO_ICMP` defined here error[E0425]: cannot find value `IPPROTO_SCTP` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:811:61 | 811 | pub const SCTP: Protocol = Protocol(new_raw_protocol(c::IPPROTO_SCTP as _)); | ^^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_ICMP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:296:1 | 296 | pub const IPPROTO_ICMP: ::c_int = 1; | ------------------------------- similarly named constant `IPPROTO_ICMP` defined here error[E0425]: cannot find value `IPPROTO_UDPLITE` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:825:64 | 825 | pub const UDPLITE: Protocol = Protocol(new_raw_protocol(c::IPPROTO_UDPLITE as _)); | ^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_UDP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:299:1 | 299 | pub const IPPROTO_UDP: ::c_int = 17; | ------------------------------ similarly named constant `IPPROTO_UDP` defined here error[E0425]: cannot find value `IPPROTO_MPLS` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:839:61 | 839 | pub const MPLS: Protocol = Protocol(new_raw_protocol(c::IPPROTO_MPLS as _)); | ^^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_IP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:300:1 | 300 | pub const IPPROTO_IP: ::c_int = 0; | ----------------------------- similarly named constant `IPPROTO_IP` defined here error[E0425]: cannot find value `IPPROTO_RAW` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:845:60 | 845 | pub const RAW: Protocol = Protocol(new_raw_protocol(c::IPPROTO_RAW as _)); | ^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_IP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:300:1 | 300 | pub const IPPROTO_IP: ::c_int = 0; | ----------------------------- similarly named constant `IPPROTO_IP` defined here error[E0425]: cannot find value `IPPROTO_MPTCP` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:859:62 | 859 | pub const MPTCP: Protocol = Protocol(new_raw_protocol(c::IPPROTO_MPTCP as _)); | ^^^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_TCP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:298:1 | 298 | pub const IPPROTO_TCP: ::c_int = 6; | ------------------------------ similarly named constant `IPPROTO_TCP` defined here error[E0425]: cannot find value `IPPROTO_FRAGMENT` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:867:65 | 867 | pub const FRAGMENT: Protocol = Protocol(new_raw_protocol(c::IPPROTO_FRAGMENT as _)); | ^^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `IPPROTO_MH` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:882:59 | 882 | pub const MH: Protocol = Protocol(new_raw_protocol(c::IPPROTO_MH as _)); | ^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_IP` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/mod.rs:300:1 | 300 | pub const IPPROTO_IP: ::c_int = 0; | ----------------------------- similarly named constant `IPPROTO_IP` defined here error[E0425]: cannot find value `IPPROTO_ROUTING` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:890:64 | 890 | pub const ROUTING: Protocol = Protocol(new_raw_protocol(c::IPPROTO_ROUTING as _)); | ^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `SOCK_NONBLOCK` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/net/types.rs:1439:38 | 1439 | const NONBLOCK = bitcast!(c::SOCK_NONBLOCK); | ^^^^^^^^^^^^^ help: a constant with a similar name exists: `O_NONBLOCK` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/mod.rs:407:1 | 407 | pub const O_NONBLOCK: ::c_int = 16384; | ----------------------------- similarly named constant `O_NONBLOCK` defined here error[E0425]: cannot find value `PIPE_BUF` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/pipe.rs:48:32 | 48 | pub const PIPE_BUF: usize = c::PIPE_BUF; | ^^^^^^^^ not found in `c` error[E0425]: cannot find value `TIOCSCTTY` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/process/ioctl.rs:40:57 | 40 | const OPCODE: ioctl::Opcode = ioctl::Opcode::old(c::TIOCSCTTY as ioctl::RawOpcode); | ^^^^^^^^^ not found in `c` error[E0412]: cannot find type `siginfo_t` in module `backend::c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/process/wait.rs:134:48 | 134 | pub struct WaitidStatus(pub(crate) backend::c::siginfo_t); | ^^^^^^^^^ not found in `backend::c` error[E0425]: cannot find value `CLD_STOPPED` in module `backend::c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/process/wait.rs:141:39 | 141 | self.si_code() == backend::c::CLD_STOPPED | ^^^^^^^^^^^ not found in `backend::c` error[E0425]: cannot find value `CLD_TRAPPED` in module `backend::c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/process/wait.rs:147:39 | 147 | self.si_code() == backend::c::CLD_TRAPPED | ^^^^^^^^^^^ not found in `backend::c` error[E0425]: cannot find value `CLD_EXITED` in module `backend::c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/process/wait.rs:153:39 | 153 | self.si_code() == backend::c::CLD_EXITED | ^^^^^^^^^^ not found in `backend::c` error[E0425]: cannot find value `CLD_KILLED` in module `backend::c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/process/wait.rs:160:39 | 160 | self.si_code() == backend::c::CLD_KILLED | ^^^^^^^^^^ not found in `backend::c` error[E0425]: cannot find value `CLD_DUMPED` in module `backend::c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/process/wait.rs:167:39 | 167 | self.si_code() == backend::c::CLD_DUMPED | ^^^^^^^^^^ not found in `backend::c` error[E0425]: cannot find value `CLD_CONTINUED` in module `backend::c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/process/wait.rs:173:39 | 173 | self.si_code() == backend::c::CLD_CONTINUED | ^^^^^^^^^^^^^ help: a function with a similar name exists: `WIFCONTINUED` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/horizon/mod.rs:179:1 | 179 | / safe_f! { 180 | | pub {const} fn WIFSTOPPED(_status: ::c_int) -> bool { 181 | | false 182 | | } ... | 210 | | } 211 | | } | |_- similarly named function `WIFCONTINUED` defined here error[E0412]: cannot find type `siginfo_t` in module `backend::c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/process/wait.rs:226:48 | 226 | pub const fn as_raw(&self) -> &backend::c::siginfo_t { | ^^^^^^^^^ not found in `backend::c` error[E0425]: cannot find value `CLOCK_PROCESS_CPUTIME_ID` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/clockid.rs:40:25 | 40 | ProcessCPUTime = c::CLOCK_PROCESS_CPUTIME_ID, | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `CLOCK_THREAD_CPUTIME_ID` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/clockid.rs:50:24 | 50 | ThreadCPUTime = c::CLOCK_THREAD_CPUTIME_ID, | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `c` error[E0425]: cannot find value `SIGSTKFLT` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/signal.rs:67:17 | 67 | Stkflt = c::SIGSTKFLT, | ^^^^^^^^^ help: a constant with a similar name exists: `SIGSTKSZ` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/horizon/mod.rs:81:1 | 81 | pub const SIGSTKSZ: ::c_int = 8192; | --------------------------- similarly named constant `SIGSTKSZ` defined here error[E0425]: cannot find value `SIGPWR` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/signal.rs:113:16 | 113 | Power = c::SIGPWR, | ^^^^^^ not found in `c` error[E0531]: cannot find unit struct, unit variant or constant `SIGSTKFLT` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/signal.rs:188:16 | 188 | c::SIGSTKFLT => Some(Self::Stkflt), | ^^^^^^^^^ help: a constant with a similar name exists: `SIGSTKSZ` | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libc-0.2.153/src/unix/newlib/horizon/mod.rs:81:1 | 81 | pub const SIGSTKSZ: ::c_int = 8192; | --------------------------- similarly named constant `SIGSTKSZ` defined here error[E0531]: cannot find unit struct, unit variant or constant `SIGPWR` in module `c` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/signal.rs:216:16 | 216 | c::SIGPWR => Some(Self::Power), | ^^^^^^ not found in `c` error[E0081]: discriminant value `8` assigned more than once --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/macros.rs:131:9 | 131 | / $v enum $BitFlags { 132 | | $($entries)* 133 | | } | |_________^ ... 255 | $entry = libc::$entry, | ------------ | | | `8` assigned here | `8` assigned here | ::: /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:25:1 | 25 | / libc_enum! { 26 | | /// Types of operating system signals 27 | | // Currently there is only one definition of c_int in libc, as well as only one 28 | | // type for signal constants. ... | 121 | | impl TryFrom 122 | | } | |_- in this macro invocation | = note: this error originates in the macro `libc_enum` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0081]: discriminant value `16` assigned more than once --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/signal.rs:11:1 | 11 | pub enum Signal { | ^^^^^^^^^^^^^^^ ... 67 | Stkflt = c::SIGSTKFLT, | ------------ `16` assigned here ... 89 | Urg = c::SIGURG, | --------- `16` assigned here error[E0081]: discriminant value `24` assigned more than once --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/signal.rs:11:1 | 11 | pub enum Signal { | ^^^^^^^^^^^^^^^ ... 92 | Xcpu = c::SIGXCPU, | ---------- `24` assigned here ... 113 | Power = c::SIGPWR, | --------- `24` assigned here error[E0080]: it is undefined behavior to use this value --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:375:1 | 375 | const SIGNALS: [Signal; 31] = [ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ constructing invalid value at [30].: encountered 0x00000000, but expected a valid enum tag | = note: The rules on what exactly is undefined behavior aren't clear, so this check might be overzealous. Please open an issue on the rustc repository if you believe it should not be considered undefined behavior. = note: the raw bytes of the constant (size: 124, align: 4) { 0x00 │ 01 00 00 00 02 00 00 00 03 00 00 00 04 00 00 00 │ ................ 0x10 │ 05 00 00 00 06 00 00 00 0a 00 00 00 08 00 00 00 │ ................ 0x20 │ 09 00 00 00 1e 00 00 00 0b 00 00 00 1f 00 00 00 │ ................ 0x30 │ 0d 00 00 00 0e 00 00 00 0f 00 00 00 14 00 00 00 │ ................ 0x40 │ 13 00 00 00 11 00 00 00 12 00 00 00 15 00 00 00 │ ................ 0x50 │ 16 00 00 00 10 00 00 00 18 00 00 00 19 00 00 00 │ ................ 0x60 │ 1a 00 00 00 1b 00 00 00 1c 00 00 00 17 00 00 00 │ ................ 0x70 │ 0c 00 00 00 07 00 00 00 00 00 00 00 │ ............ } error[E0425]: cannot find function `errno_location` in this scope --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/errno.rs:48:10 | 48 | *errno_location() = 0; | ^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `errno_location` in this scope --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/errno.rs:54:15 | 54 | unsafe { *errno_location() } | ^^^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find function `from_i32` in this scope --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/errno.rs:67:9 | 67 | from_i32(err) | ^^^^^^^^ not found in this scope | help: consider using the associated function on `Self` | 67 | Self::from_i32(err) | ++++++ error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:619:36 | 619 | let res = path1.with_nix_path(|path1| { | ^^^^^ ... 622 | path1.as_ptr(), | ----- type must be known at this point | help: consider giving this closure parameter an explicit type | 619 | let res = path1.with_nix_path(|path1: /* Type */| { | ++++++++++++ error[E0433]: failed to resolve: use of undeclared type `Errno` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/errno.rs:140:36 | 140 | ioerror.raw_os_error().map(Errno::from_i32).ok_or(ioerror) | ^^^^^ use of undeclared type `Errno` error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/stat.rs:179:35 | 179 | let res = path.with_nix_path(|cstr| unsafe { | ^^^^ 180 | 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 | 179 | let res = path.with_nix_path(|cstr: /* Type */| unsafe { | ++++++++++++ error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/stat.rs:241:35 | 241 | let res = path.with_nix_path(|cstr| unsafe { | ^^^^ 242 | 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 | 241 | let res = path.with_nix_path(|cstr: /* Type */| unsafe { | ++++++++++++ error[E0433]: failed to resolve: use of undeclared type `Errno` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/errno.rs:145:5 | 145 | Errno::from_i32(errno()) | ^^^^^ use of undeclared type `Errno` error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/stat.rs:252:35 | 252 | let res = path.with_nix_path(|cstr| unsafe { | ^^^^ 253 | 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 | 252 | let res = path.with_nix_path(|cstr: /* Type */| unsafe { | ++++++++++++ error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/stat.rs:278:39 | 278 | let res = pathname.with_nix_path(|cstr| unsafe { | ^^^^ ... 281 | cstr.as_ptr(), | ---- type must be known at this point | help: consider giving this closure parameter an explicit type | 278 | let res = pathname.with_nix_path(|cstr: /* Type */| unsafe { | ++++++++++++ error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:1251:25 | 1251 | .with_nix_path(|cstr| unsafe { libc::truncate(cstr.as_ptr(), len) })?; | ^^^^ ---- type must be known at this point | help: consider giving this closure parameter an explicit type | 1251 | .with_nix_path(|cstr: /* Type */| unsafe { libc::truncate(cstr.as_ptr(), len) })?; | ++++++++++++ error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/stat.rs:366:35 | 366 | let res = path.with_nix_path(|cstr| unsafe { | ^^^^ 367 | libc::utimes(cstr.as_ptr(), ×[0]) | ---- type must be known at this point | help: consider giving this closure parameter an explicit type | 366 | let res = path.with_nix_path(|cstr: /* Type */| unsafe { | ++++++++++++ error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:1312:38 | 1312 | let res = oldpath.with_nix_path(|oldcstr| { | ^^^^^^^ ... 1316 | oldcstr.as_ptr(), | ------- type must be known at this point | help: consider giving this closure parameter an explicit type | 1312 | let res = oldpath.with_nix_path(|oldcstr: /* Type */| { | ++++++++++++ error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/stat.rs:475:35 | 475 | let res = path.with_nix_path(|cstr| unsafe { | ^^^^ 476 | 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 | 475 | let res = path.with_nix_path(|cstr: /* Type */| unsafe { | ++++++++++++ error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:481:29 | 481 | path.with_nix_path(|cstr| unsafe { libc::chdir(cstr.as_ptr()) })?; | ^^^^ ---- type must be known at this point | help: consider giving this closure parameter an explicit type | 481 | path.with_nix_path(|cstr: /* Type */| unsafe { libc::chdir(cstr.as_ptr()) })?; | ++++++++++++ error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:1331:29 | 1331 | path.with_nix_path(|cstr| unsafe { libc::unlink(cstr.as_ptr()) })?; | ^^^^ ---- type must be known at this point | help: consider giving this closure parameter an explicit type | 1331 | path.with_nix_path(|cstr: /* Type */| unsafe { libc::unlink(cstr.as_ptr()) })?; | ++++++++++++ error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:212:34 | 212 | let fd = path.with_nix_path(|cstr| unsafe { | ^^^^ 213 | 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 | 212 | let fd = path.with_nix_path(|cstr: /* Type */| unsafe { | ++++++++++++ error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:528:35 | 528 | let res = path.with_nix_path(|cstr| unsafe { | ^^^^ 529 | 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 | 528 | let res = path.with_nix_path(|cstr: /* Type */| unsafe { | ++++++++++++ error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:228:34 | 228 | let fd = path.with_nix_path(|cstr| unsafe { | ^^^^ 229 | 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 | 228 | let fd = path.with_nix_path(|cstr: /* Type */| unsafe { | ++++++++++++ error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:567:35 | 567 | let res = path.with_nix_path(|cstr| unsafe { | ^^^^ 568 | 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 | 567 | let res = path.with_nix_path(|cstr: /* Type */| unsafe { | ++++++++++++ error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:1972:33 | 1972 | 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 | 1972 | template.with_nix_path(|path: /* Type */| path.to_bytes_with_nul().to_owned())?; | ++++++++++++ error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/fcntl.rs:301:25 | 301 | path.with_nix_path(|cstr| unsafe { | ^^^^ ... 308 | cstr.as_ptr(), | ---- type must be known at this point | help: consider giving this closure parameter an explicit type | 301 | path.with_nix_path(|cstr: /* Type */| unsafe { | ++++++++++++ error[E0282]: type annotations needed --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/unistd.rs:3380:35 | 3380 | let res = path.with_nix_path(|cstr| unsafe { | ^^^^ 3381 | libc::access(cstr.as_ptr(), amode.bits()) | ---- type must be known at this point | help: consider giving this closure parameter an explicit type | 3380 | let res = path.with_nix_path(|cstr: /* Type */| unsafe { | ++++++++++++ error[E0609]: no field `sa_sigaction` on type `sigaction` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:692:18 | 692 | (*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/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:740:30 | 740 | match self.sigaction.sa_sigaction { | ^^^^^^^^^^^^ unknown field | = note: available fields are: `sa_handler`, `sa_mask`, `sa_flags` error[E0063]: missing field `sun_len` in initializer of `libc::sockaddr_un` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/addr.rs:78:9 | 78 | c::sockaddr_un { | ^^^^^^^^^^^^^^ missing `sun_len` error[E0063]: missing field `sun_len` in initializer of `libc::sockaddr_un` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/addr.rs:212:13 | 212 | let z = c::sockaddr_un { | ^^^^^^^^^^^^^^ missing `sun_len` error[E0308]: mismatched types --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/read_sockaddr.rs:85:18 | 85 | sa_data: [0; 14], | ^^^^^^^ expected an array with a fixed size of 26 elements, found one with 14 elements error[E0609]: no field `st_atime` on type `&libc::stat` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/fs/mod.rs:168:14 | 168 | self.st_atime as i64 | ^^^^^^^^ unknown field | help: a field with a similar name exists | 168 | self.st_atim as i64 | ~~~~~~~ error[E0609]: no field `st_mtime` on type `&libc::stat` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/fs/mod.rs:172:14 | 172 | self.st_mtime as i64 | ^^^^^^^^ unknown field | help: a field with a similar name exists | 172 | self.st_mtim as i64 | ~~~~~~~ error[E0560]: struct `libc::sockaddr_in` has no field named `sin_zero` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/write_sockaddr.rs:43:9 | 43 | sin_zero: [0; 8_usize], | ^^^^^^^^ `libc::sockaddr_in` does not have this field | = note: all struct fields are already assigned error[E0609]: no field `st_ctime` on type `&libc::stat` --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/fs/mod.rs:176:14 | 176 | self.st_ctime as i64 | ^^^^^^^^ unknown field | help: a field with a similar name exists | 176 | self.st_ctim as i64 | ~~~~~~~ note: erroneous constant encountered --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:395:24 | 395 | if self.next < SIGNALS.len() { | ^^^^^^^ note: erroneous constant encountered --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/nix-0.27.1/src/sys/signal.rs:396:31 | 396 | let next_signal = SIGNALS[self.next]; | ^^^^^^^ Some errors have detailed explanations: E0080, E0081, E0282, E0412, E0425, E0432, E0433, E0531, E0573... For more information about an error, try `rustc --explain E0080`. error: could not compile `nix` (lib) due to 102 previous errors error[E0308]: mismatched types --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/addr.rs:87:23 | 87 | sun_path: [0; 108], | ^^^^^^^^ expected an array with a fixed size of 104 elements, found one with 108 elements error[E0308]: mismatched types --> /home/alexis/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustix-0.38.31/src/backend/libc/net/addr.rs:238:19 | 238 | sun_path: [0; 108], | ^^^^^^^^ expected an array with a fixed size of 104 elements, found one with 108 elements Some errors have detailed explanations: E0063, E0081, E0308, E0412, E0425, E0432, E0531, E0560, E0573... For more information about an error, try `rustc --explain E0063`. error: could not compile `rustix` (lib) due to 292 previous errors