Skip to content
This repository has been archived by the owner on Aug 5, 2024. It is now read-only.

Failed to build the release with 'edition2021' is required #296

Closed
bitcoinwarrior1 opened this issue Jan 18, 2022 · 1 comment · Fixed by #303
Closed

Failed to build the release with 'edition2021' is required #296

bitcoinwarrior1 opened this issue Jan 18, 2022 · 1 comment · Fixed by #303
Labels
bug Something isn't working

Comments

@bitcoinwarrior1
Copy link

bitcoinwarrior1 commented Jan 18, 2022

Using commit: b74af51

Current setup:

Default host: x86_64-apple-darwin
rustup home: /Users/jamessangalli/.rustup

installed toolchains

stable-x86_64-apple-darwin (default)
nightly-x86_64-apple-darwin
1.51.0-x86_64-apple-darwin

installed targets for active toolchain

wasm32-unknown-unknown
x86_64-apple-darwin

active toolchain

stable-x86_64-apple-darwin (default)
rustc 1.58.0 (02072b482 2022-01-11)

Error:

error: failed to load manifest for workspace member /Users/jamessangalli/Documents/projects/substrate-node-template/node

Caused by:
failed to parse manifest at /Users/jamessangalli/Documents/projects/substrate-node-template/node/Cargo.toml

Caused by:
feature edition2021 is required

consider adding cargo-features = ["edition2021"] to the manifest

Anyone encountered this before? Should I downgrade my rustc to a specific version?

Thank you

@bitcoinwarrior1 bitcoinwarrior1 added the bug Something isn't working label Jan 18, 2022
@nuke-web3
Copy link
Contributor

Good catch! paritytech/substrate#10710 updates this, somehow missed here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants