-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Compiling error #16
Labels
question
Further information is requested
Comments
I'm guessing you're using an older version of |
You're right rustc versión is 1.43. thank you.
Obtener Outlook para Android<https://aka.ms/ghei36>
…________________________________
From: Alexis Sellier <notifications@github.com>
Sent: Sunday, January 24, 2021 11:16:15 AM
To: cloudhead/nakamoto <nakamoto@noreply.github.com>
Cc: Francisco Marcos Herrero <fmarcosh@hotmail.com>; Author <author@noreply.github.com>
Subject: Re: [cloudhead/nakamoto] Compiling error (#16)
I'm guessing you're using an older version of rustc. Range::is_empty was added in 1.47
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#16 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABCALMN3JOVI6C5JGYT6C63S3PXO7ANCNFSM4WQNBGIQ>.
|
Sorry. I was using a rustc version 1.43. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In a Ubuntu 20.04 LTS on Windows Subsystem Linux v2 I got the following error with cargo build:
Compiling nakamoto-p2p v0.2.0 (/home/paco/nakamoto/p2p)
error[E0658]: use of unstable library feature 'range_is_empty': recently added
--> p2p/src/protocol/spvmgr.rs:541:30
|
541 | debug_assert!(!range.is_empty());
| ^^^^^^^^
|
= note: see issue #48111 rust-lang/rust#48111 for more information
error[E0658]: use of unstable library feature 'range_is_empty': recently added
--> p2p/src/protocol/spvmgr.rs:543:18
|
543 | if range.is_empty() {
| ^^^^^^^^
|
= note: see issue #48111 rust-lang/rust#48111 for more information
error: aborting due to 2 previous errors
For more information about this error, try
rustc --explain E0658
.error: could not compile
nakamoto-p2p
.To learn more, run the command again with --verbose.
The text was updated successfully, but these errors were encountered: