local-ip-address icon indicating copy to clipboard operation
local-ip-address copied to clipboard

error: build failed

Open magicse opened this issue 1 year ago • 1 comments

Compiling local-ip-address v0.5.2 error[E0599]: no variant or associated item named LookupTable found for enum RtmF in the current scope --> /root/.cargo/registry/src/github.com-1285ae84e5963aae/local-ip-address-0.5.2/src/linux.rs:39:43 | 39 | rtm_flags: RtmFFlags::new(&[RtmF::LookupTable]), | ^^^^^^^^^^^ variant or associated item not found in RtmF

error[E0599]: no variant or associated item named LookupTable found for enum RtmF in the current scope --> /root/.cargo/registry/src/github.com-1285ae84e5963aae/local-ip-address-0.5.2/src/linux.rs:195:43 | 195 | rtm_flags: RtmFFlags::new(&[RtmF::LookupTable]), | ^^^^^^^^^^^ variant or associated item not found in RtmF

error[E0599]: no variant or associated item named LookupTable found for enum RtmF in the current scope --> /root/.cargo/registry/src/github.com-1285ae84e5963aae/local-ip-address-0.5.2/src/linux.rs:256:43 | 256 | rtm_flags: RtmFFlags::new(&[RtmF::LookupTable]), | ^^^^^^^^^^^ variant or associated item not found in RtmF

For more information about this error, try rustc --explain E0599. error: could not compile local-ip-address due to 3 previous errors warning: build failed, waiting for other jobs to finish... error: build failed bash-5.1# mc

magicse avatar Mar 07 '23 20:03 magicse

Hi @magicse! Thanks for sharing this issue! Yes this looks related to our latest version, looks like we must add more environment tests and use some conditional compilation logic to avoid this.

@cgzones is already working on this PR https://github.com/EstebanBorai/local-ip-address/pull/108 which will help improve this behavior.

@cgzones what do you think about yanking https://github.com/EstebanBorai/local-ip-address/releases/tag/v0.5.2?

LeoBorai avatar Mar 07 '23 21:03 LeoBorai