Comments (4)
Got to the root of the problem. Everything broke when I introduced generic-asset-pallet again. The problem was that I took the code out of older repo and changed it to beta.7 so my cargo.lock was good but my Cargo.toml had version
[dependencies.generic-asset]
git = 'https://github.com/paritytech/substrate.git'
default-features = false
package = 'pallet-generic-asset'
version = '2.0.0-alpha.7'
instead of tag
[dependencies.generic-asset]
git = 'https://github.com/paritytech/substrate.git'
default-features = false
package = 'pallet-generic-asset'
tag = ‘v2.0.0-alpha.7'
that broke the Cargo and it threw error at completely different package.
from substrate-node-template.
It looks like it's a Cargo error. I've removed cached substrate repo from ~/.cargo/git/checkouts
did cargo clean
reverted Cargo.toml and cargo.lock back 1.0.5 and this is the error I get RN.
The repo is being downloaded into ~/.cargo/git/checkouts/...
and there's a proper version of the file.
[K@JPMBP2 substrate-node-template]$ (master)* cargo build --release
error: failed to download `substrate-wasm-builder-runner v1.0.5 (https://github.com/paritytech/substrate.git#a2512e83)`
Caused by:
unable to get packages from source
Caused by:
failed to find substrate-wasm-builder-runner v1.0.5 (https://github.com/paritytech/substrate.git#a2512e83) in path source
note: this is an unexpected cargo internal error
note: we would appreciate a bug report: https://github.com/rust-lang/cargo/issues/
note: cargo 1.45.0-nightly (cb06cb269 2020-05-08)```
from substrate-node-template.
it looks like it's related to this. rust-lang/cargo#8120
and this rust-lang/cargo#4007
but I can't seem to get it working by removing registry as suggested.
from substrate-node-template.
It works after re-downloading the whole repo, updating rust and clearing everything... I don't know if it was my bad however or if it was really a bug. Closing.
from substrate-node-template.
Related Issues (20)
- the trait `MaxEncodedLen` is not implemented for `std::vec::Vec<u32>` HOT 1
- Don't use default weights in the runtime HOT 2
- Multiple version conflict HOT 2
- failed to get frame-benchmarking as a dependency of package HOT 2
- failed to run custom build command for `tikv-jemalloc-sys v0.4.3+5.2.1-patched.2` HOT 1
- warning: "jemalloc support for `x86_64-pc-windows-msvc` is untested" error: failed to run custom build command for `tikv-jemalloc-sys v0.4.3+5.2.1-patched.2` HOT 12
- BUG: Build is failing for Ubuntu WSL in Windows 10 HOT 6
- build failed
- build failed
- build failed HOT 2
- Build error HOT 33
- ecryptfs => Filename to long HOT 1
- Docker image version to use on versions
- Fix broken FRAME link HOT 1
- Build error when trying to create a function that takes a `T::AccountId` along with `Origin`. HOT 1
- Add benchmarks to test runs HOT 1
- Close this repo to PRs HOT 5
- error: failed to start node HOT 7
- It's better to use an image sourced from paritytech dockerhub registry. And automate its' creation via CI.
- Missing `frame-weight-template.hbs` from file tree
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from substrate-node-template.