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

Fix benchmarks (after 1.58.1 update) #639

Merged
merged 1 commit into from
Jan 30, 2022
Merged

Conversation

maurolacy
Copy link
Contributor

@maurolacy maurolacy commented Jan 28, 2022

Required for edition2021 feature. I'm now getting the following error in CI:

  ...
  Downloaded uint v0.9.2
error: failed to compile `cosmwasm-vm v1.0.0-beta4`, intermediate artifacts can be found at `/tmp/cargo-installFy1UUa`

Caused by:
  failed to parse manifest at `/usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/uint-0.9.2/Cargo.toml`

Caused by:
  feature `edition2021` is required

  this Cargo does not support nightly features, but if you
  switch to nightly channel you can add
  `cargo-features = ["edition2021"]` to enable this feature
  ...

Swtching to current stable seems to be the simplest / stablest way to solve this.

Update: Parts of this PR were sneakily merged in #462. The remaining here is for fixing the benchmarks in CI, which run on main and broke after merging #462.

@maurolacy maurolacy merged commit 50dcbc7 into main Jan 30, 2022
@maurolacy maurolacy deleted the CI-update-rust-stable branch January 30, 2022 12:37
@maurolacy maurolacy changed the title Update rust version in CI to current stable (1.58.1) Fix benchmarks (after 1.58.1 update) Jan 31, 2022
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