-
Notifications
You must be signed in to change notification settings - Fork 54
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
Encounted error upon run seahorse build #110
Comments
Got this to work by bumping up the
|
I'm also getting this issue when testing out the basic fizzbuzz contract. I'm on ubuntu 22.04 and even tried a dockerized 22.04 instance to rule out any conflicts with my pre-existing cargo installs but no luck, Steps to reproduce are:
I've tried running |
seahorse build
✗ Compiling test2... (note: if this is your first time building, it might take a few minutes)
Error: anchor build -p test2 failed:
This is most likely a bug in the Seahorse compiler!
If you want to help the project, you can report this:
Thanks!
[2024-03-31T22:07:11.737876806Z ERROR cargo_build_sbf] Failed to obtain package metadata:
cargo metadata
exited with an error: warning: virtual workspace defaulting toresolver = "1"
despite one or more workspace members being on edition 2021 which impliesresolver = "2"
note: to keep the current resolver, specify
workspace.resolver = "1"
in the workspace root's manifestnote: to use the edition 2021 resolver, specify
workspace.resolver = "2"
in the workspace root's manifestnote: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
Updating crates.io index
error: failed to select a version for
spl-associated-token-account
.... required by package
anchor-spl v0.29.0
... which satisfies dependency
anchor-spl = "^0.29.0"
of packagetest2 v0.1.0 (/mnt/d/test_Seahorse/test2/programs/test2)
versions that meet the requirements
^2.2
are: 2.3.1, 2.3.0, 2.2.0The text was updated successfully, but these errors were encountered: