AleoNet / snarkVM

A Virtual Machine for Zero-Knowledge Executions

Home Page:https://snarkvm.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Unable to install using `cargo install --path .`

zklim opened this issue · comments

commented

🐛 Bug Report

Unable to install using cargo install --path .

Screenshot 2024-01-04 at 4 50 11 PM

Steps to Reproduce

  1. git clone snarkVM repo
  2. git pull testnet3 branch
  3. cargo install --path .

Expected Behavior

Expected to install snarkVM but failed with

error[E0658]: use of unstable library feature 'stdsimd'
   --> /Users/zklim/.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),...
    |                        ^^^^^^^^^^
    |
    = note: see issue #48556 <https://github.com/rust-lang/rust/issues/48556> for more information

error[E0658]: use of unstable library feature 'stdsimd'
   --> /Users/zklim/.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),...
    |                                   ^^^^^^^^^
    |
    = note: see issue #48556 <https://github.com/rust-lang/rust/issues/48556> for more information

error[E0658]: use of unstable library feature 'stdsimd'
   --> /Users/zklim/.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)...
    |                        ^^^^^^^^^^^
    |
    = note: see issue #48556 <https://github.com/rust-lang/rust/issues/48556> for more information

error[E0658]: use of unstable library feature 'stdsimd'
   --> /Users/zklim/.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)...
    |                                    ^^^^^^^^^
    |
    = note: see issue #48556 <https://github.com/rust-lang/rust/issues/48556> for more information

Your Environment

  • snarkVM Version: snarkvm v0.16.15
  • Rust Version: rustc 1.71.1 (eb26296b5 2023-08-03)
  • Computer OS: MacOS Sonoma 14.2.1 (23C71)

This is a known issue from: tkaitchuck/aHash#195

Updating to Rust 1.72 or later fixes the issue.