Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build subscriptions example #89

Open
0xtmphey opened this issue May 15, 2023 · 0 comments
Open

Cannot build subscriptions example #89

0xtmphey opened this issue May 15, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@0xtmphey
Copy link

After cloning the repo, running anchor build in subscriptions folder gives the following error:

Failed to obtain package metadata: `cargo metadata` exited with an error: warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
package:   ~/Projects/crypto/examples/subscriptions/programs/subscriptions/Cargo.toml
workspace: ~/Projects/crypto/examples/subscriptions/Cargo.toml
    Updating git repository `https://github.com/clockwork-xyz/anchor`
error: failed to load source for dependency `anchor-lang`

Caused by:
  Unable to update https://github.com/clockwork-xyz/anchor?branch=0.25.0-solana.1.13.4#27531b40

Caused by:
  object not found - no match for id (27531b40333fd55c9526a8efc0d0e08cb5673522); class=Odb (9); code=NotFound (-3)

I tried deleting Cargo.lock but then the build fails with different conflicts in dependency resolution.

Environment
rustc 1.69.0 (84c898d65 2023-04-16)
cargo 1.69.0 (6e9a83356 2023-04-12)
solana-cli 1.10.26 (src:1a0b783b; feat:1425680972)
anchor-cli 0.27.0
OS
macOS Ventura 13.2.1

@mwrites mwrites self-assigned this May 15, 2023
@mwrites mwrites added the bug Something isn't working label May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants