Skip to content

ipnet build error #66307

New issue

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

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

Already on GitHub? # to your account

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.heygears.com-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.

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

No branches or pull requests

3 participants