-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Question/Bug: Solana 1.18.17 crates don't build | Spl-pod 0.1.0 needed for older version of solana #6931
Comments
This was fixed in #6590, but it looks like the version containing the fix was included in patch version 0.4.1. Unfortunately the minimum Solana version it supports is |
This error arises when you have multiple versions of |
I have the solana version locked in at 1.16.17, but even some bumps don't seem to fix, my workaround was really bumping everything to a newer solana version. As it also seems the better options, even by this quote the last issue |
But still "solana-account-decoder" 1.18.17, can't compile because of spl-token-group-interface-0.1.0 |
Yeah, we're still dealing with a few dependency tree issues around the 2.0 release. I'd suggest tracking them over on #6897 then. I think this one is part of that broader effort. |
This should be resolved with #6897 -- please open a new issue if you're still seeing problems though! |
I still use, and many people still use, older versions of Solana, like 16/17, for other projects. It looks like spl-pod 0.1.0 has stopped compiling recently.
Is there any way, or a possible fix, to resolve this problem?
Small part of the error:
error[E0659]: `solana_program` is ambiguous --> /home/goncalo/.cargo/registry/src/index.crates.io-6f17d22bba15001f/spl-pod-0.1.0/src/error.rs:5:1 | 5 | #[spl_program_error] | ^^^^^^^^^^^^^^^^^^^^ ambiguous name | = note: ambiguous because of a conflict between a name from a glob import and an outer scope during import or macro resolution = note: `solana_program` could refer to a crate passed with `--extern` = help: use `::solana_program` to refer to this crate unambiguously
https://solana.stackexchange.com/questions/14948/unable-to-build-rust-program-with-jupiter-core-dependency-for-swapping-sol-to-us
The text was updated successfully, but these errors were encountered: