Skip to content
This repository was archived by the owner on Feb 27, 2026. It is now read-only.

error: failed to select a version for the requirement aes = "^0.2" #14

@satindergrewal

Description

@satindergrewal

Hi,

I'm trying to compile zec paper wallet from code but it's keep giving me error for aes dependency. I checked on https://crates.io/crates/aes/versions which shows the specific version of aes which is used at git hash of librustzcash dependency got deleted about 3 years ago.

I'm not a rust native programmer. Can you please help fix this issue?
Would very much appreciate your help on it.

Thanks
Satinder

Her the log trying to compile zecpaperwallet as of current state:

➜  Downloads git clone https://github.com/adityapk00/zecpaperwallet.git
Cloning into 'zecpaperwallet'...
remote: Enumerating objects: 768, done.
remote: Total 768 (delta 0), reused 0 (delta 0), pack-reused 768
Receiving objects: 100% (768/768), 523.41 KiB | 933.00 KiB/s, done.
Resolving deltas: 100% (413/413), done.
➜  Downloads cd zecpaperwallet/cli
➜  cli git:(master) cargo build --release
    Updating crates.io index
    Updating git repository `https://github.com/zcash/librustzcash`
error: failed to select a version for the requirement `aes = "^0.2"`
candidate versions found which didn't match: 0.8.1, 0.8.0, 0.7.5, ...
location searched: crates.io index
required by package `zcash_primitives v0.0.0 (https://github.com/zcash/librustzcash?rev=5a48d179b8434a0318e7e19dda506e245a904092#5a48d179)`
    ... which satisfies git dependency `zcash_primitives` of package `zecpaperlib v0.1.0 (/Users/satinder/Downloads/zecpaperwallet/lib)`
    ... which satisfies path dependency `zecpaperlib` of package `zecpaperwallet v0.1.0 (/Users/satinder/Downloads/zecpaperwallet/cli)`
➜  cli git:(master)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions