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

The RUNTIME_DIR 'runtime' does not look like a Cargo project with version 0.9.0 or later #28

Open
atodorov opened this issue Jan 31, 2024 · 1 comment

Comments

@atodorov
Copy link

Switching from v0.8.0 to 0.9.0 or later seems to fail with:

Srtool build of chain creditcoin
  β•‘ 🧰 Substrate Runtime Toolbox - srtool v0.12.0 🧰
  β•‘ - by Chevdor -
  info: using existing install for '1.73.0-x86_64-unknown-linux-gnu'
  info: override toolchain for '/build' set to '1.73.0-x86_64-unknown-linux-gnu'
  β•‘
  β•‘ 1.73.0-x86_64-unknown-linux-gnu unchanged - rustc 1.73.0 (cc66ad468 2023-10-03)
  β•‘
  β•‘ πŸ— Building creditcoin3-runtime as release using rustc 1.73.0 (cc66ad468 2023-10-03)
  β•‘ ⏳ That can take a little while, be patient... subsequent builds may be faster.
  β•‘ Since you have to wait a little, you may want to learn more about Substrate runtimes:
  β•‘ https://docs.substrate.io/learn/architecture/
  toml: No such file or directory (os error 2)
  β•‘ !!! The RUNTIME_DIR 'runtime' does not look like a Cargo project. Is it pointing to the folder of your runtime crate?
  parse error: Invalid numeric literal at line 1, column 4

Works fine with version 0.8.0.

Full logs at:
https://github.com/gluwa/creditcoin3/actions/runs/7715917088/job/21031526965?pr=195

Latest PR switching from 0.8.0 to 0.9.2 -> gluwa/creditcoin3#195 (there are closed PRs in the same repo trying to upgrade to 0.9.0 and 0.9.1 but logs have probably expired).

@JulianToledano
Copy link

for me its the other way around. I had to downgrade to 0.8.0 and now I'm getting that same message.

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

2 participants