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

ipnet build error #66307

Closed
sallyyu0 opened this issue Nov 11, 2019 · 1 comment
Closed

ipnet build error #66307

sallyyu0 opened this issue Nov 11, 2019 · 1 comment

Comments

@sallyyu0
Copy link

sallyyu0 commented Nov 11, 2019

Getting following errors today, any ideas please?

Compiling lock_api v0.3.1
error[E0658]: use of unstable library feature 'iter_nth_back'
--> /home/zzz/.cargo/registry/src/github.jparrowsec.cn-1ecc6299db9ec823/ipnet-2.1.0/src/ipext.rs:638:5
|
638 | / fn nth_back(&mut self, n: usize) -> OptionSelf::Item {
639 | | match *self {
640 | | IpAddrRange::V4(ref mut a) => a.nth_back(n).map(IpAddr::V4),
641 | | IpAddrRange::V6(ref mut a) => a.nth_back(n).map(IpAddr::V6),
642 | | }
643 | | }
| |_____^
|
= note: for more information, see #56995

error[E0658]: use of unstable library feature 'iter_nth_back'

...
error: aborting due to 5 previous errors

For more information about this error, try rustc --explain E0658.
error: Could not compile ipnet.
warning: build failed, waiting for other jobs to finish...
error: build failed

@sfackler
Copy link
Member

That method was stabilized in the 1.37 release. You'll need to update your Rust distribution.

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

3 participants