Хочу собрать zola. Что он от меня хочет? Compiling csv-core v0.1.10
Compiling num_cpus v1.13.1
Compiling time v0.1.43
Compiling getrandom v0.2.4
Compiling time v0.3.6
Compiling filetime v0.2.15
Compiling socket2 v0.4.3
error[E0412]: cannot find type `ip_mreqn` in crate `libc`
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.3/src/sys/unix.rs:1013:12
|
1013 | ) -> libc::ip_mreqn {
| ^^^^^^^^ help: a struct with a similar name exists: `ip_mreq`
|
::: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.113/src/unix/bsd/netbsdlike/openbsd/mod.rs:50:1
|
50 | / s! {
51 | | pub struct glob_t {
52 | | pub gl_pathc: ::size_t,
53 | | pub gl_matchc: ::size_t,
... |
419 | | }
420 | | }
| |_- similarly named struct `ip_mreq` defined here
error[E0422]: cannot find struct, variant or union type `ip_mreqn` in crate `libc`
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.3/src/sys/unix.rs:1015:75
|
1015 | crate::socket::InterfaceIndexOrAddress::Index(interface) => libc::ip_mreqn {
| ^^^^^^^^ help: a struct with a similar name exists: `ip_mreq`
|
::: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.113/src/unix/bsd/netbsdlike/openbsd/mod.rs:50:1
|
50 | / s! {
51 | | pub struct glob_t {
52 | | pub gl_pathc: ::size_t,
53 | | pub gl_matchc: ::size_t,
... |
419 | | }
420 | | }
| |_- similarly named struct `ip_mreq` defined here
error[E0422]: cannot find struct, variant or union type `ip_mreqn` in crate `libc`
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/socket2-0.4.3/src/sys/unix.rs:1020:77
|
1020 | crate::socket::InterfaceIndexOrAddress::Address(interface) => libc::ip_mreqn {
| ^^^^^^^^ help: a struct with a similar name exists: `ip_mreq`
|
::: /root/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.113/src/unix/bsd/netbsdlike/openbsd/mod.rs:50:1
|
50 | / s! {
51 | | pub struct glob_t {
52 | | pub gl_pathc: ::size_t,
53 | | pub gl_matchc: ::size_t,
... |
419 | | }
420 | | }
| |_- similarly named struct `ip_mreq` defined here
Some errors have detailed explanations: E0412, E0422.
For more information about an error, try `rustc --explain E0412`.
error: could not compile `socket2` due to 3 previous errors
warning: build failed, waiting for other jobs to finish...
error: build failed