Skip to content
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

Report toolchain xxx is not installed #52

Closed
XuJiandong opened this issue Dec 29, 2021 · 2 comments
Closed

Report toolchain xxx is not installed #52

XuJiandong opened this issue Dec 29, 2021 · 2 comments
Assignees

Comments

@XuJiandong
Copy link
Collaborator

XuJiandong commented Dec 29, 2021

Describe the bug
Build https://github.com/nervosnetwork/godwoken-scripts with 0.7.2:
❯ capsule --version
Capsule 0.7.2
❯ capsule build
Building contract state-validator
error: toolchain 'nightly-2021-08-16-x86_64-unknown-linux-gnu' is not installed
error: docker container exit with code Some(1)

The capsule.toml file: https://github.com/nervosnetwork/godwoken-scripts/blob/master/capsule.toml#L5
It might be the problem of the following:

[rust]
workspace_dir = "contracts"
toolchain = "nightly-2021-08-16"

The image should be download automatically.

Screenshots
If applicable, add screenshots to help explain your problem. (The command and the output)

Additional context
Please post the following informations:

  • Output of capsule --version
  • Output of ckb-cli --version
  • Rerun your command with RUST_BACKTRACE=1 RUST_LOG=capsule=trace environment, then post the output as a file.
@TheWaWaR
Copy link
Contributor

I think the right way it stick the docker_image version:
godwokenrises/godwoken-scripts#103

@blckngm
Copy link
Collaborator

blckngm commented Apr 13, 2023

Problem already solved.

FWIW, using cross can help with similar problems in the future: #84

@blckngm blckngm closed this as completed Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants