Ellipsis-Labs / solana-verifiable-build

CLI tool for deterministically building and verifying executable against on-chain programs or buffer accounts
155 stars 28 forks source link

Failed to install `solana-verify` #46

Closed swaroop-osec closed 8 months ago

swaroop-osec commented 8 months ago

While attempting to install the new version of solana-verify, I encountered this error.

error[E0423]: expected function, found macro `transmute`
   --> /Users/swaroopmaddu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.8.4/src/operations.rs:128:15
    |
128 |         xor ^ transmute::<_, u128>(vaesmcq_u8(vaeseq_u8(value, transmute!(0u128))))
    |               ^^^^^^^^^^^^^^^^^^^^ not a function
    |
help: consider importing one of these items instead
    |
1   + use core::mem::transmute;
    |
1   + use std::mem::transmute;
    |
1   + use zerocopy::macro_util::core_reexport::intrinsics::transmute;
    |

error[E0423]: expected function, found macro `transmute`
   --> /Users/swaroopmaddu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/ahash-0.8.4/src/operations.rs:161:15
    |
161 |         xor ^ transmute::<_, u128>(vaesimcq_u8(vaesdq_u8(value, transmute!(0u128))))
    |               ^^^^^^^^^^^^^^^^^^^^ not a function
    |
help: consider importing one of these items instead
    |
1   + use core::mem::transmute;
    |
1   + use std::mem::transmute;
    |
1   + use zerocopy::macro_util::core_reexport::intrinsics::transmute;
    |

For more information about this error, try `rustc --explain E0423`.
error: could not compile `ahash` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
error: failed to compile `solana-verify v0.2.7`
jarry-xiao commented 8 months ago

What version of rust are you using?

swaroop-osec commented 8 months ago

Ah, I was using rustc 1.77.0-nightly. I tried it on the stable version, and it worked. We can close this issue.

annajjk88 commented 2 months ago

Dorito