get_if_addrs 0.5.3

Return interface IP addresses on Posix and windows systems
Documentation
Build #1503919 2024-11-07T05:32:53.279211+00:00
# rustc version
rustc 1.84.0-nightly (854980293 2024-11-06)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/get_if_addrs-0.5.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/get_if_addrs-0.5.3/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241106-1.84.0-nightly-854980293\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 1f40ebaccb3bc46b086f80300ea649ef44367dd0fc59bfb499bc3d2c1a3564b5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "1f40ebaccb3bc46b086f80300ea649ef44367dd0fc59bfb499bc3d2c1a3564b5", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: list_interfaces
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting get_if_addrs v0.5.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: lint `exceeding_bitshifts` has been renamed to `arithmetic_overflow`
[INFO] [stderr]   --> src/lib.rs:21:5
[INFO] [stderr]    |
[INFO] [stderr] 21 |     exceeding_bitshifts, mutable_transmutes, no_mangle_const_items, unknown_crate_types, warnings
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^ help: use the new name: `arithmetic_overflow`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(renamed_and_removed_lints)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: lint `plugin_as_library` has been removed: plugins have been deprecated and retired
[INFO] [stderr]   --> src/lib.rs:25:27
[INFO] [stderr]    |
[INFO] [stderr] 25 |     overflowing_literals, plugin_as_library, private_no_mangle_fns, private_no_mangle_statics,
[INFO] [stderr]    |                           ^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]   --> src/lib.rs:21:90
[INFO] [stderr]    |
[INFO] [stderr] 21 |     exceeding_bitshifts, mutable_transmutes, no_mangle_const_items, unknown_crate_types, warnings
[INFO] [stderr]    |                                                                                          ^^^^^^^^
[INFO] [stderr]    = note: `#[warn(renamed_and_removed_lints)]` implied by `#[warn(warnings)]`
[INFO] [stderr] 
[INFO] [stderr] warning: lint `private_no_mangle_fns` has been removed: no longer a warning, `#[no_mangle]` functions always exported
[INFO] [stderr]   --> src/lib.rs:25:46
[INFO] [stderr]    |
[INFO] [stderr] 25 |     overflowing_literals, plugin_as_library, private_no_mangle_fns, private_no_mangle_statics,
[INFO] [stderr]    |                                              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `private_no_mangle_statics` has been removed: no longer a warning, `#[no_mangle]` statics always exported
[INFO] [stderr]   --> src/lib.rs:25:69
[INFO] [stderr]    |
[INFO] [stderr] 25 |     overflowing_literals, plugin_as_library, private_no_mangle_fns, private_no_mangle_statics,
[INFO] [stderr]    |                                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons
[INFO] [stderr]   --> src/lib.rs:34:5
[INFO] [stderr]    |
[INFO] [stderr] 34 |     box_pointers, missing_copy_implementations, missing_debug_implementations,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr]   --> src/lib.rs:38:5
[INFO] [stderr]    |
[INFO] [stderr] 38 |     feature = "cargo-clippy",
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `clippy`
[INFO] [stderr]    = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]`
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr]   --> src/lib.rs:41:13
[INFO] [stderr]    |
[INFO] [stderr] 41 | #![cfg_attr(feature = "cargo-clippy", allow(use_debug, too_many_arguments))]
[INFO] [stderr]    |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `clippy`
[INFO] [stderr]    = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `nacl`
[INFO] [stderr]    --> src/lib.rs:194:59
[INFO] [stderr]     |
[INFO] [stderr] 194 |     #[cfg(any(target_os = "linux", target_os = "android", target_os = "nacl"))]
[INFO] [stderr]     |                                                           ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 more
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr]    --> src/lib.rs:173:24
[INFO] [stderr]     |
[INFO] [stderr] 173 |             #[cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))]
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `clippy`
[INFO] [stderr]     = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr]    --> src/lib.rs:182:24
[INFO] [stderr]     |
[INFO] [stderr] 182 |             #[cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))]
[INFO] [stderr]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected values for `feature` are: `clippy`
[INFO] [stderr]     = help: consider adding `cargo-clippy` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: `get_if_addrs` (lib doc) generated 10 warnings (run `cargo fix --lib -p get_if_addrs` to apply 1 suggestion)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/get_if_addrs/index.html
[INFO] running `Command { std: "docker" "inspect" "1f40ebaccb3bc46b086f80300ea649ef44367dd0fc59bfb499bc3d2c1a3564b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f40ebaccb3bc46b086f80300ea649ef44367dd0fc59bfb499bc3d2c1a3564b5", kill_on_drop: false }`
[INFO] [stdout] 1f40ebaccb3bc46b086f80300ea649ef44367dd0fc59bfb499bc3d2c1a3564b5