Git Product home page Git Product logo

Comments (9)

shramee avatar shramee commented on July 23, 2024 3

Yeah, that's the one.
Please use rust 1.76 until this issue is fixed.

from starklings-cairo1.

sprtd avatar sprtd commented on July 23, 2024 3

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:

  1. rustup toolchain install 1.76.0
  2. 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 and cargo --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.

carlosvaztec avatar carlosvaztec commented on July 23, 2024 1

Same error here, thanks for creating this issue.

from starklings-cairo1.

shramee avatar shramee commented on July 23, 2024 1

This is fixed in scarb and will be released in the next scarb release.

from starklings-cairo1.

shramee avatar shramee commented on July 23, 2024 1

Thanks for the instructions @sprtd :D

from starklings-cairo1.

renzobanegass avatar renzobanegass commented on July 23, 2024 1

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.

Zeegaths avatar Zeegaths commented on July 23, 2024

I'm getting the same error when I run cargo run -r --bin starklings

from starklings-cairo1.

linghuccc avatar linghuccc commented on July 23, 2024

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.

linghuccc avatar linghuccc commented on July 23, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.