-
Notifications
You must be signed in to change notification settings - Fork 992
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
Get error while build grin #2830
Comments
Some recent changes require rust |
The app should probably be less cryptic about this and check for the rust version before running into errors. |
Agreed with @Giszmo, it would be more friendly to require the right version of Rust at compile time instead of breaking at the first incompatibility. Maybe by using a build script? https://doc.rust-lang.org/cargo/reference/build-scripts.html |
@antiochp |
I try to build the grin node today
i got following error
Compiling grin_servers v1.1.0-beta.2
(/media/extendgrin/servers)
error[E0599]: no method named
checked_sub
found for typestd::time::Instant
in the current scope--> servers/src/grin/dandelion_monitor.rs:51:6
|
51 | .checked_sub(Duration::from_secs(20))
| ^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try
rustc --explain E0599
.error: Could not compile
grin_servers
.I am using ubuntu 18.04 Rust version in rustc 1.31.0
The text was updated successfully, but these errors were encountered: