Skip to content
Archive
← r/solana
1
100%
u/LifeTelevision1146 7 hours ago Dev/Tech

Cargo and blake version clash

Anyone else here facing Cargo and blake version clash? And how did you solve it? I've been at this for over 24hrs and it's frustrating.
4 comments held Reddit says 1 on reddit ↗
  1. u/AutoModerator moderator pinned 1 7 hours ago
    WARNING: IMPORTANT: Protect Your Crypto from Scammers **1) Please READ this post to stay safe:** https://www.reddit.com/r/solana/comments/… **2) NEVER trust DMs** from anyone offering “help” or “support” with your funds — they are scammers. **3) NEVER share your wallet’s Seed Phrase or Private Key.** Do not copy & paste them into any websites or Telegram bots sent to you. **4) IGNORE comments claiming they can help you** by sharing random links or asking you to DM them. **5) Mods and Community Managers will NEVER DM you first** about your wallet or funds. **6) Keep Price Talk in the Stickied Weekly Thread** located under the “Community” section on the right sidebar. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/solana) if you have any questions or concerns.*
  2. u/Cautious_Guess_6621 1 7 hours ago
    Took me forever to figure out too. For me the issue was I didn't had the right feature flags set in Cargo.toml, check if you got the solana-program crate with blake3 feature enabled. The version mismatch is super annoying cause the error messages dont tell you nothing useful.
  3. u/LifeTelevision1146 OP 1 6 hours ago
    blake is precisely the problem. It has a 2021 version and 2024 version, latest cargo version is rejecting the 2024 version, while I'm unable to revert to the 2021 version. It's extremely testy LOL. I need to submit this very simple contract for a hackathon and this is becoming the biggest hurdle LOL.
  4. u/LifeTelevision1146 OP 1 6 hours ago
    Update solved and thanks for the pointer 💯