Closed armaniferrante closed 3 years ago
Interesting, I see only zeroize:1.2.0
in dependencies:
$ cargo tree -p zeroize -i
Updating git repository `https://github.com/project-serum/serum-dex`
zeroize v1.2.0
├── curve25519-dalek v2.1.2
│ ├── solana-crate-features v1.7.4
│ │ └── solana-sdk v1.7.4
│ │ ├── anchor-cli v0.11.1 (/home/kirill/projects/anchor/cli)
│ │ ├── anchor-client v0.11.1 (/home/kirill/projects/anchor/client)
│ │ │ └── anchor-cli v0.11.1 (/home/kirill/projects/anchor/cli)
│ │ ├── serum-common v0.1.0 (https://github.com/project-serum/serum-dex#576e5d2e)
│ │ │ └── anchor-cli v0.11.1 (/home/kirill/projects/anchor/cli)
│ │ ├── solana-account-decoder v1.7.4
│ │ │ ├── solana-client v1.7.4
│ │ │ │ ├── anchor-cli v0.11.1 (/home/kirill/projects/anchor/cli)
│ │ │ │ ├── anchor-client v0.11.1 (/home/kirill/projects/anchor/client) (*)
│ │ │ │ └── serum-common v0.1.0 (https://github.com/project-serum/serum-dex#576e5d2e) (*)
│ │ │ └── solana-transaction-status v1.7.4
│ │ │ └── solana-client v1.7.4 (*)
│ │ ├── solana-clap-utils v1.7.4
│ │ │ ├── solana-client v1.7.4 (*)
│ │ │ ├── solana-faucet v1.7.4
│ │ │ │ └── solana-client v1.7.4 (*)
│ │ │ └── solana-net-utils v1.7.4
│ │ │ └── solana-client v1.7.4 (*)
│ │ ├── solana-client v1.7.4 (*)
│ │ ├── solana-config-program v1.7.4
│ │ │ ├── solana-account-decoder v1.7.4 (*)
│ │ │ ├── solana-runtime v1.7.4
│ │ │ │ └── solana-transaction-status v1.7.4 (*)
│ │ │ └── solana-stake-program v1.7.4
│ │ │ └── solana-runtime v1.7.4 (*)
│ │ ├── solana-faucet v1.7.4 (*)
│ │ ├── solana-measure v1.7.4
│ │ │ └── solana-runtime v1.7.4 (*)
│ │ ├── solana-metrics v1.7.4
│ │ │ ├── solana-faucet v1.7.4 (*)
│ │ │ ├── solana-measure v1.7.4 (*)
│ │ │ ├── solana-runtime v1.7.4 (*)
│ │ │ ├── solana-stake-program v1.7.4 (*)
│ │ │ └── solana-vote-program v1.7.4
│ │ │ ├── solana-account-decoder v1.7.4 (*)
│ │ │ ├── solana-client v1.7.4 (*)
│ │ │ ├── solana-runtime v1.7.4 (*)
│ │ │ ├── solana-stake-program v1.7.4 (*)
│ │ │ └── solana-transaction-status v1.7.4 (*)
│ │ ├── solana-net-utils v1.7.4 (*)
│ │ ├── solana-remote-wallet v1.7.4
│ │ │ └── solana-clap-utils v1.7.4 (*)
│ │ ├── solana-runtime v1.7.4 (*)
│ │ ├── solana-secp256k1-program v1.7.4
│ │ │ └── solana-runtime v1.7.4 (*)
│ │ ├── solana-stake-program v1.7.4 (*)
│ │ ├── solana-transaction-status v1.7.4 (*)
│ │ ├── solana-version v1.7.4
│ │ │ ├── solana-client v1.7.4 (*)
│ │ │ ├── solana-faucet v1.7.4 (*)
│ │ │ └── solana-net-utils v1.7.4 (*)
│ │ ├── solana-vote-program v1.7.4 (*)
│ │ └── spl-token v2.0.8
│ │ └── serum-common v0.1.0 (https://github.com/project-serum/serum-dex#576e5d2e) (*)
│ └── solana-program v1.7.4
│ ├── anchor-cli v0.11.1 (/home/kirill/projects/anchor/cli)
│ ├── anchor-lang v0.11.1 (/home/kirill/projects/anchor/lang)
│ │ ├── anchor-cli v0.11.1 (/home/kirill/projects/anchor/cli)
│ │ ├── anchor-client v0.11.1 (/home/kirill/projects/anchor/client) (*)
│ │ └── anchor-spl v0.11.1 (/home/kirill/projects/anchor/spl)
│ ├── anchor-spl v0.11.1 (/home/kirill/projects/anchor/spl)
│ ├── serum-borsh v0.8.1-serum.1
│ │ └── serum-common v0.1.0 (https://github.com/project-serum/serum-dex#576e5d2e) (*)
│ ├── serum_dex v0.3.1 (https://github.com/project-serum/serum-dex?branch=armani/auth#2037a646)
│ │ └── anchor-spl v0.11.1 (/home/kirill/projects/anchor/spl)
│ ├── solana-sdk v1.7.4 (*)
│ ├── spl-associated-token-account v1.0.2
│ │ └── solana-transaction-status v1.7.4 (*)
│ ├── spl-memo v3.0.1
│ │ ├── solana-faucet v1.7.4 (*)
│ │ └── solana-transaction-status v1.7.4 (*)
│ └── spl-token v3.1.1
│ ├── anchor-spl v0.11.1 (/home/kirill/projects/anchor/spl)
│ ├── serum_dex v0.3.1 (https://github.com/project-serum/serum-dex?branch=armani/auth#2037a646) (*)
│ ├── solana-account-decoder v1.7.4 (*)
│ ├── solana-transaction-status v1.7.4 (*)
│ └── spl-associated-token-account v1.0.2 (*)
├── curve25519-dalek v3.0.2
│ └── ed25519-dalek v1.0.1
│ ├── ed25519-dalek-bip32 v0.1.1
│ │ └── solana-sdk v1.7.4 (*)
│ ├── solana-crate-features v1.7.4 (*)
│ └── solana-sdk v1.7.4 (*)
├── ed25519-dalek v1.0.1 (*)
└── tiny-bip39 v0.8.0
└── solana-clap-utils v1.7.4 (*)
Interesting, I see only
zeroize:1.2.0
in dependencies:$ cargo tree -p zeroize -i Updating git repository `https://github.com/project-serum/serum-dex` zeroize v1.2.0 ├── curve25519-dalek v2.1.2 │ ├── solana-crate-features v1.7.4 │ │ └── solana-sdk v1.7.4 │ │ ├── anchor-cli v0.11.1 (/home/kirill/projects/anchor/cli) │ │ ├── anchor-client v0.11.1 (/home/kirill/projects/anchor/client) │ │ │ └── anchor-cli v0.11.1 (/home/kirill/projects/anchor/cli) │ │ ├── serum-common v0.1.0 (https://github.com/project-serum/serum-dex#576e5d2e) │ │ │ └── anchor-cli v0.11.1 (/home/kirill/projects/anchor/cli) │ │ ├── solana-account-decoder v1.7.4 │ │ │ ├── solana-client v1.7.4 │ │ │ │ ├── anchor-cli v0.11.1 (/home/kirill/projects/anchor/cli) │ │ │ │ ├── anchor-client v0.11.1 (/home/kirill/projects/anchor/client) (*) │ │ │ │ └── serum-common v0.1.0 (https://github.com/project-serum/serum-dex#576e5d2e) (*) │ │ │ └── solana-transaction-status v1.7.4 │ │ │ └── solana-client v1.7.4 (*) │ │ ├── solana-clap-utils v1.7.4 │ │ │ ├── solana-client v1.7.4 (*) │ │ │ ├── solana-faucet v1.7.4 │ │ │ │ └── solana-client v1.7.4 (*) │ │ │ └── solana-net-utils v1.7.4 │ │ │ └── solana-client v1.7.4 (*) │ │ ├── solana-client v1.7.4 (*) │ │ ├── solana-config-program v1.7.4 │ │ │ ├── solana-account-decoder v1.7.4 (*) │ │ │ ├── solana-runtime v1.7.4 │ │ │ │ └── solana-transaction-status v1.7.4 (*) │ │ │ └── solana-stake-program v1.7.4 │ │ │ └── solana-runtime v1.7.4 (*) │ │ ├── solana-faucet v1.7.4 (*) │ │ ├── solana-measure v1.7.4 │ │ │ └── solana-runtime v1.7.4 (*) │ │ ├── solana-metrics v1.7.4 │ │ │ ├── solana-faucet v1.7.4 (*) │ │ │ ├── solana-measure v1.7.4 (*) │ │ │ ├── solana-runtime v1.7.4 (*) │ │ │ ├── solana-stake-program v1.7.4 (*) │ │ │ └── solana-vote-program v1.7.4 │ │ │ ├── solana-account-decoder v1.7.4 (*) │ │ │ ├── solana-client v1.7.4 (*) │ │ │ ├── solana-runtime v1.7.4 (*) │ │ │ ├── solana-stake-program v1.7.4 (*) │ │ │ └── solana-transaction-status v1.7.4 (*) │ │ ├── solana-net-utils v1.7.4 (*) │ │ ├── solana-remote-wallet v1.7.4 │ │ │ └── solana-clap-utils v1.7.4 (*) │ │ ├── solana-runtime v1.7.4 (*) │ │ ├── solana-secp256k1-program v1.7.4 │ │ │ └── solana-runtime v1.7.4 (*) │ │ ├── solana-stake-program v1.7.4 (*) │ │ ├── solana-transaction-status v1.7.4 (*) │ │ ├── solana-version v1.7.4 │ │ │ ├── solana-client v1.7.4 (*) │ │ │ ├── solana-faucet v1.7.4 (*) │ │ │ └── solana-net-utils v1.7.4 (*) │ │ ├── solana-vote-program v1.7.4 (*) │ │ └── spl-token v2.0.8 │ │ └── serum-common v0.1.0 (https://github.com/project-serum/serum-dex#576e5d2e) (*) │ └── solana-program v1.7.4 │ ├── anchor-cli v0.11.1 (/home/kirill/projects/anchor/cli) │ ├── anchor-lang v0.11.1 (/home/kirill/projects/anchor/lang) │ │ ├── anchor-cli v0.11.1 (/home/kirill/projects/anchor/cli) │ │ ├── anchor-client v0.11.1 (/home/kirill/projects/anchor/client) (*) │ │ └── anchor-spl v0.11.1 (/home/kirill/projects/anchor/spl) │ ├── anchor-spl v0.11.1 (/home/kirill/projects/anchor/spl) │ ├── serum-borsh v0.8.1-serum.1 │ │ └── serum-common v0.1.0 (https://github.com/project-serum/serum-dex#576e5d2e) (*) │ ├── serum_dex v0.3.1 (https://github.com/project-serum/serum-dex?branch=armani/auth#2037a646) │ │ └── anchor-spl v0.11.1 (/home/kirill/projects/anchor/spl) │ ├── solana-sdk v1.7.4 (*) │ ├── spl-associated-token-account v1.0.2 │ │ └── solana-transaction-status v1.7.4 (*) │ ├── spl-memo v3.0.1 │ │ ├── solana-faucet v1.7.4 (*) │ │ └── solana-transaction-status v1.7.4 (*) │ └── spl-token v3.1.1 │ ├── anchor-spl v0.11.1 (/home/kirill/projects/anchor/spl) │ ├── serum_dex v0.3.1 (https://github.com/project-serum/serum-dex?branch=armani/auth#2037a646) (*) │ ├── solana-account-decoder v1.7.4 (*) │ ├── solana-transaction-status v1.7.4 (*) │ └── spl-associated-token-account v1.0.2 (*) ├── curve25519-dalek v3.0.2 │ └── ed25519-dalek v1.0.1 │ ├── ed25519-dalek-bip32 v0.1.1 │ │ └── solana-sdk v1.7.4 (*) │ ├── solana-crate-features v1.7.4 (*) │ └── solana-sdk v1.7.4 (*) ├── ed25519-dalek v1.0.1 (*) └── tiny-bip39 v0.8.0 └── solana-clap-utils v1.7.4 (*)
It's probably picking up the lock file. The examples aren't locked, so the build broke yesterday when zeroize was upgraded to 1.4.0.
Ah, right. I removed Cargo.lock
and zeroize:1.4.0
is here.
hey, how are you guys? How did u fix this?. im struggling with this error.
zeroize
was pinned to 1.3.0
: https://github.com/project-serum/anchor/pull/539/files
sorry, im new to all this. i just started using anchor and rust. could you elaborate more?. I created a anchor project, it automatically generates a lock file with zeroize-1.4.1
in it.
Looks like maybe a transitive dependency changed.