-
Notifications
You must be signed in to change notification settings - Fork 7
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
Compiling Errors When Using on Solana Contracts #114
Comments
This project is awesome though :) I'm looking to build some stuff on top of this. |
This seems to be from out-dated dependencies for the specified Rust toolchain. I tried increasing to nightly but kept running into issues. I'd love some help trying to fix this. |
@mdulin2 I'm very sorry for not replying when you opened the issue. I haven't reproduced your exact issue, but the lints definitely need to be updated. I have updated the lints' toolchains and dependencies, but one of the I will do my best to respond within the next few days. |
Yes! Most of the lints build on my machine locally now. Thanks for taking the time to fix it! |
The arbitrary CPI lint is still giving me errors when I try to build it though:
|
This warning surprises me:
What should happen is Can you think of why that might not be happening? Do you have another |
I struggle with a lot of the Rust build things - I'm still pretty new to it. Thanks for your patience! I used a directory override to be the same one on the We're all good now :) |
I'm glad to hear it! Please let me know if you run into any more problems. In the meantime, is it okay if we close this issue? |
I've tried running the lints on the built-in Solana test contracts and on personal projects with the current toolchains that are set up. However, I keep getting errors in
solana-program
:When I tried to change the toolchain to the nightly setup, I also got build errors within
clippy
.Am I missing something here? I am happy to admit fault on compiling the code but would appreciate some guidance on running the built-in Solana test contracts for the specific lints.
The text was updated successfully, but these errors were encountered: