Skip to content

Instantly share code, notes, and snippets.

@cfallin
Created August 29, 2021 18:17
Show Gist options
  • Save cfallin/7ccade106d5ba97da24373d14e68c3b6 to your computer and use it in GitHub Desktop.
Save cfallin/7ccade106d5ba97da24373d14e68c3b6 to your computer and use it in GitHub Desktop.
error[E0425]: cannot find value `EMULTIHOP` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/io/error.rs:359:43
|
359 | pub const MULTIHOP: Self = Self(libc::EMULTIHOP);
| ^^^^^^^^^ not found in `libc`
error[E0425]: cannot find value `ENOLINK` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/io/error.rs:435:41
|
435 | pub const NOLINK: Self = Self(libc::ENOLINK);
| ^^^^^^^ help: a constant with a similar name exists: `EMLINK`
|
::: /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.99/src/unix/bsd/netbsdlike/mod.rs:283:1
|
283 | pub const EMLINK: ::c_int = 31;
| ------------------------------- similarly named constant `EMLINK` defined here
error[E0425]: cannot find value `MAP_SHARED_VALIDATE` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/io/types.rs:68:39
|
68 | const SHARED_VALIDATE = libc::MAP_SHARED_VALIDATE;
| ^^^^^^^^^^^^^^^^^^^ not found in `libc`
error[E0425]: cannot find value `MAP_DENYWRITE` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/io/types.rs:75:33
|
75 | const DENYWRITE = libc::MAP_DENYWRITE;
| ^^^^^^^^^^^^^ not found in `libc`
error[E0425]: cannot find value `MAP_FIXED_NOREPLACE` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/io/types.rs:78:39
|
78 | const FIXED_NOREPLACE = libc::MAP_FIXED_NOREPLACE;
| ^^^^^^^^^^^^^^^^^^^ not found in `libc`
error[E0425]: cannot find value `MAP_GROWSDOWN` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/io/types.rs:81:33
|
81 | const GROWSDOWN = libc::MAP_GROWSDOWN;
| ^^^^^^^^^^^^^ not found in `libc`
error[E0425]: cannot find value `MAP_HUGETLB` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/io/types.rs:84:31
|
84 | const HUGETLB = libc::MAP_HUGETLB;
| ^^^^^^^^^^^ not found in `libc`
error[E0425]: cannot find value `MAP_HUGE_2MB` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/io/types.rs:87:32
|
87 | const HUGE_2MB = libc::MAP_HUGE_2MB;
| ^^^^^^^^^^^^ not found in `libc`
error[E0425]: cannot find value `MAP_HUGE_1GB` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/io/types.rs:90:32
|
90 | const HUGE_1GB = libc::MAP_HUGE_1GB;
| ^^^^^^^^^^^^ not found in `libc`
error[E0425]: cannot find value `MAP_LOCKED` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/io/types.rs:93:30
|
93 | const LOCKED = libc::MAP_LOCKED;
| ^^^^^^^^^^ not found in `libc`
error[E0425]: cannot find value `MAP_POPULATE` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/io/types.rs:99:32
|
99 | const POPULATE = libc::MAP_POPULATE;
| ^^^^^^^^^^^^ help: a constant with a similar name exists: `MAP_PRIVATE`
|
::: /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.99/src/unix/bsd/netbsdlike/mod.rs:224:1
|
224 | pub const MAP_PRIVATE: ::c_int = 0x0002;
| ---------------------------------------- similarly named constant `MAP_PRIVATE` defined here
error[E0425]: cannot find value `MAP_SYNC` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/io/types.rs:105:28
|
105 | const SYNC = libc::MAP_SYNC;
| ^^^^^^^^ help: a constant with a similar name exists: `MS_SYNC`
|
::: /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.99/src/unix/bsd/netbsdlike/openbsd/mod.rs:830:1
|
830 | pub const MS_SYNC: ::c_int = 0x0002;
| ------------------------------------ similarly named constant `MS_SYNC` defined here
error[E0425]: cannot find value `O_DIRECT` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/io/types.rs:122:30
|
122 | const DIRECT = libc::O_DIRECT;
| ^^^^^^^^ not found in `libc`
error[E0425]: cannot find value `AF_NETLINK` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/net/types.rs:46:42
|
46 | pub const NETLINK: Self = Self(libc::AF_NETLINK as _);
| ^^^^^^^^^^ help: a constant with a similar name exists: `AF_HYLINK`
|
::: /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.99/src/unix/bsd/netbsdlike/mod.rs:434:1
|
434 | pub const AF_HYLINK: ::c_int = 15;
| ---------------------------------- similarly named constant `AF_HYLINK` defined here
error[E0425]: cannot find value `IPPROTO_DCCP` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/net/types.rs:79:18
|
79 | Dccp = libc::IPPROTO_DCCP,
| ^^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_ICMP`
|
::: /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.99/src/unix/mod.rs:279:1
|
279 | pub const IPPROTO_ICMP: ::c_int = 1;
| ------------------------------------ similarly named constant `IPPROTO_ICMP` defined here
error[E0425]: cannot find value `IPPROTO_MTP` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/net/types.rs:92:17
|
92 | Mtp = libc::IPPROTO_MTP,
| ^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_TP`
|
::: /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.99/src/unix/bsd/netbsdlike/openbsd/mod.rs:894:1
|
894 | pub const IPPROTO_TP: ::c_int = 29;
| ----------------------------------- similarly named constant `IPPROTO_TP` defined here
error[E0425]: cannot find value `IPPROTO_BEETPH` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/net/types.rs:100:20
|
100 | Beetph = libc::IPPROTO_BEETPH,
| ^^^^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_EGP`
|
::: /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.99/src/unix/bsd/netbsdlike/openbsd/mod.rs:887:1
|
887 | pub const IPPROTO_EGP: ::c_int = 8;
| ----------------------------------- similarly named constant `IPPROTO_EGP` defined here
error[E0425]: cannot find value `IPPROTO_COMP` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/net/types.rs:112:18
|
112 | Comp = libc::IPPROTO_COMP,
| ^^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_CARP`
|
::: /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.99/src/unix/bsd/netbsdlike/openbsd/mod.rs:926:1
|
926 | pub const IPPROTO_CARP: ::c_int = 112;
| -------------------------------------- similarly named constant `IPPROTO_CARP` defined here
error[E0425]: cannot find value `IPPROTO_SCTP` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/net/types.rs:114:18
|
114 | Sctp = libc::IPPROTO_SCTP,
| ^^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_ICMP`
|
::: /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.99/src/unix/mod.rs:279:1
|
279 | pub const IPPROTO_ICMP: ::c_int = 1;
| ------------------------------------ similarly named constant `IPPROTO_ICMP` defined here
error[E0425]: cannot find value `IPPROTO_UDPLITE` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/net/types.rs:117:21
|
117 | Udplite = libc::IPPROTO_UDPLITE,
| ^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_UDP`
|
::: /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.99/src/unix/mod.rs:282:1
|
282 | pub const IPPROTO_UDP: ::c_int = 17;
| ------------------------------------ similarly named constant `IPPROTO_UDP` defined here
error[E0425]: cannot find value `IPPROTO_MPTCP` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/net/types.rs:133:19
|
133 | Mptcp = libc::IPPROTO_MPTCP,
| ^^^^^^^^^^^^^ help: a constant with a similar name exists: `IPPROTO_TCP`
|
::: /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.99/src/unix/mod.rs:281:1
|
281 | pub const IPPROTO_TCP: ::c_int = 6;
| ----------------------------------- similarly named constant `IPPROTO_TCP` defined here
error[E0425]: cannot find value `TCGETS` in crate `libc`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/syscalls.rs:1158:19
|
1158 | libc::TCGETS,
| ^^^^^^ not found in `libc`
error[E0063]: missing fields `__d_padding` and `d_off` in initializer of `dirent`
--> /home/cfallin/.cargo/registry/src/github.com-1ecc6299db9ec823/rsix-0.18.0/src/imp/libc/fs/dir.rs:136:22
|
136 | let mut dirent = libc_dirent {
| ^^^^^^^^^^^ missing `__d_padding` and `d_off`
error: aborting due to 23 previous errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment