-
Notifications
You must be signed in to change notification settings - Fork 223
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
nargo compile fails with "Error: The backend encountered an error" #2790
Comments
Additional Context for device: result for lshw -short
|
Can you try running |
I did presently. No changes. The entire error message is: "backend encountered an error" |
Running on nightly should provide more information when this error occurs. This assumes you get similar errors when writing standard Noir programs (as nightly won't compile Aztec contracts). |
so i just do a noirup -n and retry? (Yes, the issue does replicate while doing a nargo prove and a nargo compile as well) |
Yes, that's correct. |
After doing that and running nargo prove, the error is: |
@harshnambiar can you try with the latest nightly and see if this issue is resolved for you? |
Closing this as stale for now. Feel free to comment / reopen if the issue is experienced with newer versions of Nargo. |
Aim
The goal was to compile a smart contract but whether the command is called directly or is called implicitly during the execution of 'aztec-cli compile .', the error is always the same:
Error: The backend encountered an error
Location:
tooling/nargo_cli/src/cli/mod.rs:90:5
Expected Behavior
The contract should compile
Bug
The contract does not compile and the above mentioned error shows up.
To Reproduce
Installation Method
None
Nargo Version
nargo 0.11.1-aztec.0
Additional Context
I have tried to do the same with noirup -v aztec, but that did not work either.
I tried to uninstall nargo and then reinstall that, but to no avail.
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered: