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

Unable to install surrealdb-migrations error[E0658]: use of unstable library feature 'stdsimd' #70

Closed
alveshelio opened this issue Feb 5, 2024 · 4 comments
Labels
bug Something isn't working question Further information is requested

Comments

@alveshelio
Copy link

Describe the bug
When I try to install surrealdb-migrations with cargo install surrealdb-migrations I get this error:
error[E0658]: use of unstable library feature 'stdsimd'

error[E0658]: use of unstable library feature 'stdsimd'
--> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.8.7/src/operations.rs:124:24
|
124 | let res = unsafe { vaesmcq_u8(vaeseq_u8(transmute!(value), transmute!(0u128))) };
| ^^^^^^^^^^
|
= note: see issue #48556 rust-lang/rust#48556 for more information

error[E0658]: use of unstable library feature 'stdsimd'
--> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.8.7/src/operations.rs:124:35
|
124 | let res = unsafe { vaesmcq_u8(vaeseq_u8(transmute!(value), transmute!(0u128))) };
| ^^^^^^^^^
|
= note: see issue #48556 rust-lang/rust#48556 for more information

Compiling quote v1.0.35
error[E0658]: use of unstable library feature 'stdsimd'
--> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.8.7/src/operations.rs:154:24
|
154 | let res = unsafe { vaesimcq_u8(vaesdq_u8(transmute!(value), transmute!(0u128))) };
| ^^^^^^^^^^^
|
= note: see issue #48556 rust-lang/rust#48556 for more information

error[E0658]: use of unstable library feature 'stdsimd'
--> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.8.7/src/operations.rs:154:36
|
154 | let res = unsafe { vaesimcq_u8(vaesdq_u8(transmute!(value), transmute!(0u128))) };
| ^^^^^^^^^
|
= note: see issue #48556 rust-lang/rust#48556 for more information

For more information about this error, try rustc --explain E0658.
error: could not compile ahash (lib) due to 4 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile surrealdb-migrations v1.0.1, intermediate artifacts can be found at /var/folders/k5/5jb6fd397q533zjk9ql2d5pr0000gn/T/cargo-installa1UZKR

Information

  • SurrealDB version: 1.1.1 for macos on aarch64
  • surrealdb-migration version: 1.0.1
@Odonno
Copy link
Owner

Odonno commented Feb 5, 2024

Hi @alveshelio

I am sorry that this error happened. It will be hard for me to debug though. It might be related to macos, or could it be related to the Rust installed version?

Are you able to share the installed version of Rust on your machine?

@Odonno Odonno added bug Something isn't working question Further information is requested labels Feb 5, 2024
@alveshelio
Copy link
Author

Salut David,

Thank you for getting back.

I'm using rustc 1.70.0 (90c541806 2023-05-31) on Mac 14.2.1 (23C71). I hope this helps :)

@ghost
Copy link

ghost commented Feb 9, 2024

The stdsimd feature got removed a few days ago.
You need to override your rust version to a previous version for your project until this changes, or until a new version of surrealdb_migrations comes out that uses up-to-date dependencies.

@alveshelio
Copy link
Author

@timlagrande Thank you for your help.

I was able to install surrealdb-migrations by upgrading rustc to version 1.76.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants