error[E0432]: unresolved imports `libc::freeifaddrs`, `libc::getifaddrs`, `libc::ifaddrs`
--> /home/ribbon/.cargo/registry/src/index.crates.io-6f17d22bba15001f/if-addrs-0.10.2/src/posix.rs:11:12
|
11 | use libc::{freeifaddrs, getifaddrs, ifaddrs};
| ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^ no `ifaddrs` in the root
| | |
| | no `getifaddrs` in the root
| no `freeifaddrs` in the root
error[E0425]: cannot find function `do_broadcast` in module `ifaddrs`
--> /home/ribbon/.cargo/registry/src/index.crates.io-6f17d22bba15001f/if-addrs-0.10.2/src/lib.rs:156:40
|
156 | match ifaddrs::do_broadcast(&ifaddr) {
| ^^^^^^^^^^^^ not found in `ifaddrs`
|
note: found an item that was configured out
--> /home/ribbon/.cargo/registry/src/index.crates.io-6f17d22bba15001f/if-addrs-0.10.2/src/posix.rs:16:8
|
16 | pub fn do_broadcast(ifaddr: &ifaddrs) -> Option<IpAddr> {
| ^^^^^^^^^^^^
note: found an item that was configured out
--> /home/ribbon/.cargo/registry/src/index.crates.io-6f17d22bba15001f/if-addrs-0.10.2/src/posix.rs:30:8
|
30 | pub fn do_broadcast(ifaddr: &ifaddrs) -> Option<IpAddr> {
| ^^^^^^^^^^^^
error[E0425]: cannot find function `do_broadcast` in module `ifaddrs`
--> /home/ribbon/.cargo/registry/src/index.crates.io-6f17d22bba15001f/if-addrs-0.10.2/src/lib.rs:176:40
|
176 | match ifaddrs::do_broadcast(&ifaddr) {
| ^^^^^^^^^^^^ not found in `ifaddrs`
|
note: found an item that was configured out
--> /home/ribbon/.cargo/registry/src/index.crates.io-6f17d22bba15001f/if-addrs-0.10.2/src/posix.rs:16:8
|
16 | pub fn do_broadcast(ifaddr: &ifaddrs) -> Option<IpAddr> {
| ^^^^^^^^^^^^
note: found an item that was configured out
--> /home/ribbon/.cargo/registry/src/index.crates.io-6f17d22bba15001f/if-addrs-0.10.2/src/posix.rs:30:8
|
30 | pub fn do_broadcast(ifaddr: &ifaddrs) -> Option<IpAddr> {
| ^^^^^^^^^^^^
Compiling clap_builder v4.4.6
Some errors have detailed explanations: E0425, E0432.
For more information about an error, try `rustc --explain E0425`.