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

While compiling storage v0.1.0 got an error message #14

Open
iamcryptofennec opened this issue Jul 16, 2024 · 2 comments
Open

While compiling storage v0.1.0 got an error message #14

iamcryptofennec opened this issue Jul 16, 2024 · 2 comments

Comments

@iamcryptofennec
Copy link

image

@hubofvalley
Copy link

same problem

error[E0658]: use of unstable library feature 'slice_first_last_chunk'
--> storage/src/slice_db.rs:216:45
|
216 | let (cur, rest) = key_slice.split_first_chunk::<8>().unwrap();
| ^^^^^^^^^^^^^^^^^
|
= note: see issue #111774 rust-lang/rust#111774 for more information

error[E0658]: use of unstable library feature 'slice_first_last_chunk'
--> storage/src/slice_db.rs:222:45
|
222 | let (cur, rest) = key_slice.split_first_chunk::<32>().unwrap();
| ^^^^^^^^^^^^^^^^^
|
= note: see issue #111774 rust-lang/rust#111774 for more information

For more information about this error, try rustc --explain E0658.
error: could not compile storage (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...

@tgross35
Copy link

tgross35 commented Jul 23, 2024

I'm here as a driveby comment, seeing this crosslinked at the issue. What version of Rust are you on? split_first_chunk and similar were stabilized in 1.77, so you may just need to rustup update.

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