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

Incompatibility conflict with latest version of rust #2130

Open
2 tasks done
Themvp07 opened this issue Feb 13, 2024 · 4 comments
Open
2 tasks done

Incompatibility conflict with latest version of rust #2130

Themvp07 opened this issue Feb 13, 2024 · 4 comments
Labels
bug 🐛 Something isn't working.

Comments

@Themvp07
Copy link

Is there an existing issue?

  • I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

  • This is not a support question.

Bug report for compiling, code snippets, templates, etc.

The latest version of Rust (1.78.0) throws an error when creating the node template. The bug is associated with the STD library required by the substrate implementation but was removed in the latest Rus update.
In this explanation I am sharing the error message displayed in the terminal.

Plus: in my case I had to use version 1.75.0 of rust to be able to continue the quick start procedure
substrate issue

Steps to reproduce the problem

1.Clone the node template repository by running the following command:
$ git clone https://github.com/substrate-developer-hub/substrate-node-template
2.Change to the root of the cloned directory:
$ cd substrate-node-template
3.Create a new branch to save your work by running a command similar to the following:
$ git switch -c my-learning-branch-2023-03-31
4.Compile the node template:
$ cargo build --package node-template --release

@Themvp07 Themvp07 added the bug 🐛 Something isn't working. label Feb 13, 2024
@gui1117
Copy link
Contributor

gui1117 commented Feb 13, 2024

This should be fixed by https://github.com/substrate-developer-hub/substrate-node-template/pull/519

In the meanwhile you can run the command cargo update [email protected] in your project

@gui1117
Copy link
Contributor

gui1117 commented Feb 14, 2024

Actually you would need to update 3 dependencies like this:

@Kofituo
Copy link

Kofituo commented Feb 16, 2024

I'm facing this same error too when using github actions to compile the node template @thiolliere

@gui1117
Copy link
Contributor

gui1117 commented Feb 17, 2024

I'm facing this same error too when using github actions to compile the node template @thiolliere

it should have been fixed with https://github.com/substrate-developer-hub/substrate-node-template/pull/519
Do you use latest code ?

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

No branches or pull requests

3 participants