-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Lots of warnings on forc init
-> forc test
, considering cleanup
#4709
Comments
Manifest key warnings seems related to forc-pkg manifest parser. Other warnings are emitted from compiling the std lib, added appropriate tags for them. Also not sure if you are aware of it but, this output seems to be emitted from an outdated version of the forc and compiler |
Some of those have already been fixed in #4648. |
@gr00vytvniks the warnings produced here are just duplicates of the same warning, you would just need to dedup them if you want to claim this issue |
I think this issue is due to different warnings coming from different projects so I guess there is nothing to de-duplicate. Basically forc searches for std library after checking out sway repo. And there are couple of projects it checks before finding std library. So the warnings are actually coming from different places. For example |
Steps to close this issue:
Basically |
## Description We will be fixing #4709, but the one thing more important than fixing it might be ensuring that it does not happen again. Until we have the bandwidth to introduce nice CLI testing suite I am adding myself as code owner to forc-pkg. Since forc-pkg lives between the compiler and forc, it is seeing lots of traffic and I will try to make sure nothing changes in terms of user experience during those changes. Feel free to close this, if you feel like we might have a better way of ensuring this before we got the CLI testing suite ready.
) ## Description This PR removes unused keys in sway reference so that warnings do not appear while searching for std after creating a new project with `forc init`. Closes #4709 Co-authored-by: Kaya Gökalp <kaya.gokalp@fuel.sh>
I'm getting a huge set of warnings when I run
forc init
, thenforc test
out of the box.The default example and test should not have all these warnings and repeated warning statements. Default examples should be always up to date and not produce warnings.
The text was updated successfully, but these errors were encountered: