rustix icon indicating copy to clipboard operation
rustix copied to clipboard

More compilation errors on Android (version 1.1.2)

Open chenxiaolong opened this issue 4 months ago • 4 comments

I updated one of my Android projects from version rustix 1.0.8 to 1.1.2 and started encountering many compilation failures. They all seem to be similar to what was fixed in #1513/#1514 and appear to be introduced by fda7cbe6b8c6ebcfd18652ca1ca3e8177f9e0d6a.

EDIT: This is with the fs, net, process, and thread features enabled.

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/syscalls.rs:670:9
    |
670 |     use linux_raw_sys::general::__kernel_clockid_t as clockid_t;
    |         ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
 --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/setns.rs:9:5
  |
9 | use linux_raw_sys::general::{
  |     ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
  |
  = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/futex.rs:32:25
   |
32 |         const SIZE_U8 = linux_raw_sys::general::FUTEX2_SIZE_U8;
   |                         ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/futex.rs:34:26
   |
34 |         const SIZE_U16 = linux_raw_sys::general::FUTEX2_SIZE_U16;
   |                          ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/futex.rs:36:26
   |
36 |         const SIZE_U32 = linux_raw_sys::general::FUTEX2_SIZE_U32;
   |                          ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/futex.rs:38:26
   |
38 |         const SIZE_U64 = linux_raw_sys::general::FUTEX2_SIZE_U64;
   |                          ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/futex.rs:40:27
   |
40 |         const SIZE_MASK = linux_raw_sys::general::FUTEX2_SIZE_MASK;
   |                           ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/futex.rs:43:22
   |
43 |         const NUMA = linux_raw_sys::general::FUTEX2_NUMA;
   |                      ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/futex.rs:46:25
   |
46 |         const PRIVATE = linux_raw_sys::general::FUTEX2_PRIVATE;
   |                         ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/futex.rs:88:26
   |
88 | pub const WAITERS: u32 = linux_raw_sys::general::FUTEX_WAITERS;
   |                          ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/futex.rs:91:29
   |
91 | pub const OWNER_DIED: u32 = linux_raw_sys::general::FUTEX_OWNER_DIED;
   |                             ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/syscalls.rs:353:18
    |
353 |     header: &mut linux_raw_sys::general::__user_cap_header_struct,
    |                  ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/syscalls.rs:354:29
    |
354 |     data: &mut [MaybeUninit<linux_raw_sys::general::__user_cap_data_struct>],
    |                             ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/syscalls.rs:358:24
    |
358 |             hdrp: *mut linux_raw_sys::general::__user_cap_header_struct,
    |                        ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/syscalls.rs:359:24
    |
359 |             data: *mut linux_raw_sys::general::__user_cap_data_struct
    |                        ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/syscalls.rs:367:25
    |
367 |                 .cast::<linux_raw_sys::general::__user_cap_data_struct>(),
    |                         ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/syscalls.rs:375:18
    |
375 |     header: &mut linux_raw_sys::general::__user_cap_header_struct,
    |                  ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

   Compiling regex-automata v0.4.10
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/syscalls.rs:376:13
    |
376 |     data: &[linux_raw_sys::general::__user_cap_data_struct],
    |             ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/syscalls.rs:380:24
    |
380 |             hdrp: *mut linux_raw_sys::general::__user_cap_header_struct,
    |                        ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/backend/libc/thread/syscalls.rs:381:26
    |
381 |             data: *const linux_raw_sys::general::__user_cap_data_struct
    |                          ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:28:28
   |
28 |         const CHOWN = 1 << linux_raw_sys::general::CAP_CHOWN;
   |                            ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:30:35
   |
30 |         const DAC_OVERRIDE = 1 << linux_raw_sys::general::CAP_DAC_OVERRIDE;
   |                                   ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:32:38
   |
32 |         const DAC_READ_SEARCH = 1 << linux_raw_sys::general::CAP_DAC_READ_SEARCH;
   |                                      ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:34:29
   |
34 |         const FOWNER = 1 << linux_raw_sys::general::CAP_FOWNER;
   |                             ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:36:29
   |
36 |         const FSETID = 1 << linux_raw_sys::general::CAP_FSETID;
   |                             ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:38:27
   |
38 |         const KILL = 1 << linux_raw_sys::general::CAP_KILL;
   |                           ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:40:29
   |
40 |         const SETGID = 1 << linux_raw_sys::general::CAP_SETGID;
   |                             ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:42:29
   |
42 |         const SETUID = 1 << linux_raw_sys::general::CAP_SETUID;
   |                             ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:44:30
   |
44 |         const SETPCAP = 1 << linux_raw_sys::general::CAP_SETPCAP;
   |                              ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:46:38
   |
46 |         const LINUX_IMMUTABLE = 1 << linux_raw_sys::general::CAP_LINUX_IMMUTABLE;
   |                                      ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:48:39
   |
48 |         const NET_BIND_SERVICE = 1 << linux_raw_sys::general::CAP_NET_BIND_SERVICE;
   |                                       ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:50:36
   |
50 |         const NET_BROADCAST = 1 << linux_raw_sys::general::CAP_NET_BROADCAST;
   |                                    ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:52:32
   |
52 |         const NET_ADMIN = 1 << linux_raw_sys::general::CAP_NET_ADMIN;
   |                                ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:54:30
   |
54 |         const NET_RAW = 1 << linux_raw_sys::general::CAP_NET_RAW;
   |                              ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:56:31
   |
56 |         const IPC_LOCK = 1 << linux_raw_sys::general::CAP_IPC_LOCK;
   |                               ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:58:32
   |
58 |         const IPC_OWNER = 1 << linux_raw_sys::general::CAP_IPC_OWNER;
   |                                ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:60:33
   |
60 |         const SYS_MODULE = 1 << linux_raw_sys::general::CAP_SYS_MODULE;
   |                                 ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:62:32
   |
62 |         const SYS_RAWIO = 1 << linux_raw_sys::general::CAP_SYS_RAWIO;
   |                                ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:64:33
   |
64 |         const SYS_CHROOT = 1 << linux_raw_sys::general::CAP_SYS_CHROOT;
   |                                 ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:66:33
   |
66 |         const SYS_PTRACE = 1 << linux_raw_sys::general::CAP_SYS_PTRACE;
   |                                 ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:68:32
   |
68 |         const SYS_PACCT = 1 << linux_raw_sys::general::CAP_SYS_PACCT;
   |                                ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:70:32
   |
70 |         const SYS_ADMIN = 1 << linux_raw_sys::general::CAP_SYS_ADMIN;
   |                                ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:72:31
   |
72 |         const SYS_BOOT = 1 << linux_raw_sys::general::CAP_SYS_BOOT;
   |                               ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:74:31
   |
74 |         const SYS_NICE = 1 << linux_raw_sys::general::CAP_SYS_NICE;
   |                               ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:76:35
   |
76 |         const SYS_RESOURCE = 1 << linux_raw_sys::general::CAP_SYS_RESOURCE;
   |                                   ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:78:31
   |
78 |         const SYS_TIME = 1 << linux_raw_sys::general::CAP_SYS_TIME;
   |                               ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:80:37
   |
80 |         const SYS_TTY_CONFIG = 1 << linux_raw_sys::general::CAP_SYS_TTY_CONFIG;
   |                                     ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:82:28
   |
82 |         const MKNOD = 1 << linux_raw_sys::general::CAP_MKNOD;
   |                            ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:84:28
   |
84 |         const LEASE = 1 << linux_raw_sys::general::CAP_LEASE;
   |                            ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:86:34
   |
86 |         const AUDIT_WRITE = 1 << linux_raw_sys::general::CAP_AUDIT_WRITE;
   |                                  ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:88:36
   |
88 |         const AUDIT_CONTROL = 1 << linux_raw_sys::general::CAP_AUDIT_CONTROL;
   |                                    ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:90:30
   |
90 |         const SETFCAP = 1 << linux_raw_sys::general::CAP_SETFCAP;
   |                              ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:92:35
   |
92 |         const MAC_OVERRIDE = 1 << linux_raw_sys::general::CAP_MAC_OVERRIDE;
   |                                   ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:94:32
   |
94 |         const MAC_ADMIN = 1 << linux_raw_sys::general::CAP_MAC_ADMIN;
   |                                ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:96:29
   |
96 |         const SYSLOG = 1 << linux_raw_sys::general::CAP_SYSLOG;
   |                             ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
  --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:98:33
   |
98 |         const WAKE_ALARM = 1 << linux_raw_sys::general::CAP_WAKE_ALARM;
   |                                 ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
   |
   = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:100:36
    |
100 |         const BLOCK_SUSPEND = 1 << linux_raw_sys::general::CAP_BLOCK_SUSPEND;
    |                                    ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:102:33
    |
102 |         const AUDIT_READ = 1 << linux_raw_sys::general::CAP_AUDIT_READ;
    |                                 ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:104:30
    |
104 |         const PERFMON = 1 << linux_raw_sys::general::CAP_PERFMON;
    |                              ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:106:26
    |
106 |         const BPF = 1 << linux_raw_sys::general::CAP_BPF;
    |                          ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:108:41
    |
108 |         const CHECKPOINT_RESTORE = 1 << linux_raw_sys::general::CAP_CHECKPOINT_RESTORE;
    |                                         ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:143:35
    |
143 |     let mut data = [MaybeUninit::<linux_raw_sys::general::__user_cap_data_struct>::uninit(); 2];
    |                                   ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:146:26
    |
146 |         let mut header = linux_raw_sys::general::__user_cap_header_struct {
    |                          ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:147:22
    |
147 |             version: linux_raw_sys::general::_LINUX_CAPABILITY_VERSION_3,
    |                      ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:171:22
    |
171 |     let mut header = linux_raw_sys::general::__user_cap_header_struct {
    |                      ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:172:18
    |
172 |         version: linux_raw_sys::general::_LINUX_CAPABILITY_VERSION_3,
    |                  ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:176:9
    |
176 |         linux_raw_sys::general::__user_cap_data_struct {
    |         ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/libcap.rs:181:9
    |
181 |         linux_raw_sys::general::__user_cap_data_struct {
    |         ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:192:23
    |
192 |     ChangeOwnership = linux_raw_sys::general::CAP_CHOWN,
    |                       ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:196:19
    |
196 |     DACOverride = linux_raw_sys::general::CAP_DAC_OVERRIDE,
    |                   ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:200:21
    |
200 |     DACReadSearch = linux_raw_sys::general::CAP_DAC_READ_SEARCH,
    |                     ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:205:17
    |
205 |     FileOwner = linux_raw_sys::general::CAP_FOWNER,
    |                 ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:212:17
    |
212 |     FileSetID = linux_raw_sys::general::CAP_FSETID,
    |                 ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:216:12
    |
216 |     Kill = linux_raw_sys::general::CAP_KILL,
    |            ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:219:18
    |
219 |     SetGroupID = linux_raw_sys::general::CAP_SETGID,
    |                  ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:222:17
    |
222 |     SetUserID = linux_raw_sys::general::CAP_SETUID,
    |                 ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:231:32
    |
231 |     SetPermittedCapabilities = linux_raw_sys::general::CAP_SETPCAP,
    |                                ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:233:22
    |
233 |     LinuxImmutable = linux_raw_sys::general::CAP_LINUX_IMMUTABLE,
    |                      ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:236:22
    |
236 |     NetBindService = linux_raw_sys::general::CAP_NET_BIND_SERVICE,
    |                      ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:238:20
    |
238 |     NetBroadcast = linux_raw_sys::general::CAP_NET_BROADCAST,
    |                    ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:248:16
    |
248 |     NetAdmin = linux_raw_sys::general::CAP_NET_ADMIN,
    |                ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:252:14
    |
252 |     NetRaw = linux_raw_sys::general::CAP_NET_RAW,
    |              ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:255:15
    |
255 |     IPCLock = linux_raw_sys::general::CAP_IPC_LOCK,
    |               ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:257:16
    |
257 |     IPCOwner = linux_raw_sys::general::CAP_IPC_OWNER,
    |                ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:259:20
    |
259 |     SystemModule = linux_raw_sys::general::CAP_SYS_MODULE,
    |                    ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:262:19
    |
262 |     SystemRawIO = linux_raw_sys::general::CAP_SYS_RAWIO,
    |                   ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:264:24
    |
264 |     SystemChangeRoot = linux_raw_sys::general::CAP_SYS_CHROOT,
    |                        ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:266:26
    |
266 |     SystemProcessTrace = linux_raw_sys::general::CAP_SYS_PTRACE,
    |                          ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:268:31
    |
268 |     SystemProcessAccounting = linux_raw_sys::general::CAP_SYS_PACCT,
    |                               ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:295:19
    |
295 |     SystemAdmin = linux_raw_sys::general::CAP_SYS_ADMIN,
    |                   ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:297:18
    |
297 |     SystemBoot = linux_raw_sys::general::CAP_SYS_BOOT,
    |                  ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:304:18
    |
304 |     SystemNice = linux_raw_sys::general::CAP_SYS_NICE,
    |                  ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:313:22
    |
313 |     SystemResource = linux_raw_sys::general::CAP_SYS_RESOURCE,
    |                      ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:316:18
    |
316 |     SystemTime = linux_raw_sys::general::CAP_SYS_TIME,
    |                  ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:318:23
    |
318 |     SystemTTYConfig = linux_raw_sys::general::CAP_SYS_TTY_CONFIG,
    |                       ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:320:16
    |
320 |     MakeNode = linux_raw_sys::general::CAP_MKNOD,
    |                ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:322:13
    |
322 |     Lease = linux_raw_sys::general::CAP_LEASE,
    |             ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:324:18
    |
324 |     AuditWrite = linux_raw_sys::general::CAP_AUDIT_WRITE,
    |                  ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:326:20
    |
326 |     AuditControl = linux_raw_sys::general::CAP_AUDIT_CONTROL,
    |                    ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:329:27
    |
329 |     SetFileCapabilities = linux_raw_sys::general::CAP_SETFCAP,
    |                           ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:334:19
    |
334 |     MACOverride = linux_raw_sys::general::CAP_MAC_OVERRIDE,
    |                   ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:340:16
    |
340 |     MACAdmin = linux_raw_sys::general::CAP_MAC_ADMIN,
    |                ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:342:17
    |
342 |     SystemLog = linux_raw_sys::general::CAP_SYSLOG,
    |                 ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:344:17
    |
344 |     WakeAlarm = linux_raw_sys::general::CAP_WAKE_ALARM,
    |                 ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:346:20
    |
346 |     BlockSuspend = linux_raw_sys::general::CAP_BLOCK_SUSPEND,
    |                    ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:348:17
    |
348 |     AuditRead = linux_raw_sys::general::CAP_AUDIT_READ,
    |                 ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:351:29
    |
351 |     PerformanceMonitoring = linux_raw_sys::general::CAP_PERFMON,
    |                             ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:384:29
    |
384 |     BerkeleyPacketFilters = linux_raw_sys::general::CAP_BPF,
    |                             ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `linux_raw_sys`
   --> /media/scratch/rustup/cargo/registry/src/index.crates.io-1949cf8c6b5b557f/rustix-1.1.2/src/thread/prctl.rs:387:25
    |
387 |     CheckpointRestore = linux_raw_sys::general::CAP_CHECKPOINT_RESTORE,
    |                         ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `linux_raw_sys`
    |
    = help: if you wanted to use a crate named `linux_raw_sys`, use `cargo add linux_raw_sys` to add it to your `Cargo.toml`

chenxiaolong avatar Sep 13 '25 02:09 chenxiaolong

is there any progress related to this cause it is really being problem for android operating systems and we can't compile the rustix/wamtime runtime to android which seem to be the only runtime currently support component model.

rinthnoid avatar Sep 20 '25 07:09 rinthnoid

I am working on fixes for this issue, and I'll keep this issue updated.

sunfishcode avatar Sep 20 '25 16:09 sunfishcode

Glad to know that 😊, Thanks @sunfishcode

rinthnoid avatar Sep 20 '25 17:09 rinthnoid

just submitted a pr (as of my best knowledge) for this, glad to know any feedback from devs! https://github.com/bytecodealliance/rustix/pull/1528

HemantKArya avatar Oct 01 '25 16:10 HemantKArya

I am working on fixes for this issue, and I'll keep this issue updated.

Any progress? @sunfishcode

CanerKaraca23 avatar Dec 18 '25 13:12 CanerKaraca23