Comments (9)
Yeah, that's the one.
Please use rust 1.76 until this issue is fixed.
from starklings-cairo1.
Before the next scarb release as @shramee mentioned, if you have rustup
, you can switch to v1.7.6.0
by running the following commands:
rustup toolchain install 1.76.0
run rustup default 1.76.0
- this sets your toolchain (cargo and rustc) to v1.76.0
check the respective versions of your toolchain by running:
rustc --version
andcargo --version
Make sure you see 1.76 for both rustc and cargo on your terminal. Then you can proceed to run:
cargo run -r --bin starklings watch
from starklings-cairo1.
Same error here, thanks for creating this issue.
from starklings-cairo1.
This is fixed in scarb and will be released in the next scarb release.
from starklings-cairo1.
Thanks for the instructions @sprtd :D
from starklings-cairo1.
Hi @shramee,
As this bug has been ongoing since March and has not yet been fixed in the latest Scarb release, I propose we add it as a Known Issue to the documentation. Placing a small warning near the installation steps could be very helpful for new users. We can use the solution provided by @sprtd, as it is simple and effective.
Documenting known issues can prevent users from encountering avoidable problems, allowing them to focus on learning Cairo without unnecessary hurdles. Please let me know what you think.
Thank you!
from starklings-cairo1.
I'm getting the same error when I run cargo run -r --bin starklings
from starklings-cairo1.
This is fixed in scarb and will be released in the next scarb release.
I am having the same issue for rustc 1.79.0 (129f3b996 2024-06-10)
from starklings-cairo1.
This is fixed in scarb and will be released in the next scarb release.
I think this is not fixed in latest version:
scarb 2.6.5 (d49f54394 2024-06-11)
cairo: 2.6.4 (https://crates.io/crates/cairo-lang-compiler/2.6.4)
sierra: 1.5.0
from starklings-cairo1.
Related Issues (20)
- About Struct3 exercise Hint HOT 1
- Starknet `storage` resolution error HOT 2
- test1 issue
- Solution Directories Inquiry HOT 1
- Enums 2 Exercise issue HOT 6
- Unnecessary `clone()` usage in move_semantics1.cairo file HOT 2
- cargo build fails HOT 2
- Typo in README
- fix starknet exercise warnings
- add println! exercise HOT 6
- add starknet components exercise HOT 9
- bug: LSP crash with starklings, prelude is not a core submodule. HOT 4
- Error compiling `exercises/starknet/basics/starknet3.cairo:` Missing `IProgressTracker`... HOT 1
- use crate clap HOT 2
- corelib problem HOT 1
- build fails following given steps HOT 1
- Hint for dict3 refers to a dead link HOT 1
- Improve ReadMe Docs UX
- Run `cargo run -r --bin starklings`, failed with error HOT 1
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 starklings-cairo1.