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

update rust dependency #72

Closed
wants to merge 1 commit into from
Closed

Conversation

BenWhiteJam
Copy link

If there are certain version dependencies then these should be taken care of

error: failed to compile `pop-cli v0.1.0 (https://github.com/r0gue-io/pop-cli#7dc2e5dd)`, intermediate artifacts can be found at `/var/folders/_0/x9pp72wj13551p5tqynmrmpr0000gn/T/cargo-installf10s9A`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Caused by:
  package `subxt-metadata v0.34.0` cannot be built because it requires rustc 1.74.0 or newer, while the currently active rustc version is 1.72.0
  Either upgrade to rustc 1.74.0 or newer, or use
  cargo update -p [email protected] --precise ver
  where `ver` is the latest version of `subxt-metadata` supporting rustc 1.72.0

If there are certain version dependencies then these should be taken care of

```
error: failed to compile `pop-cli v0.1.0 (https://github.com/r0gue-io/pop-cli#7dc2e5dd)`, intermediate artifacts can be found at `/var/folders/_0/x9pp72wj13551p5tqynmrmpr0000gn/T/cargo-installf10s9A`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Caused by:
  package `subxt-metadata v0.34.0` cannot be built because it requires rustc 1.74.0 or newer, while the currently active rustc version is 1.72.0
  Either upgrade to rustc 1.74.0 or newer, or use
  cargo update -p [email protected] --precise ver
  where `ver` is the latest version of `subxt-metadata` supporting rustc 1.72.0
```
@weezy20
Copy link
Contributor

weezy20 commented Mar 20, 2024

Hi @BenWhiteJam. Thanks for your interest in pop-cli and thanks for contributing. We found a better way that will automate this process for users without having to run rustup update. You can find it here #73. Meanwhile, we are checking if cargo install --git respects this solution. If it does, we go with #73, otherwise we include your tip in the readme. Please feel free to raise other issues/contributions if you find something of concern.

@weezy20 weezy20 closed this Mar 20, 2024
@weezy20 weezy20 reopened this Mar 20, 2024
@weezy20
Copy link
Contributor

weezy20 commented Mar 20, 2024

Okay so we confirmed that #73 works with cargo install --git as well. Closing this in favour of that. Thanks again for bringing this to our attention @BenWhiteJam

@weezy20 weezy20 closed this Mar 20, 2024
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

Successfully merging this pull request may close these issues.

2 participants