Git Product home page Git Product logo

Comments (9)

romanz avatar romanz commented on July 28, 2024

It seems you are using an older Rust toolchain...
Could you run cargo --version to verify?

from electrs.

kirillkovalenko avatar kirillkovalenko commented on July 28, 2024
~/electrs$ cargo --version
cargo 0.26.0

from electrs.

romanz avatar romanz commented on July 28, 2024

Very weird... did you install it with rustup?
Could you switch to stable (1.27) and try to re-build it?

$ rustup install stable
$ cargo +stable build --release

from electrs.

kirillkovalenko avatar kirillkovalenko commented on July 28, 2024

it does not work for me.

$ sudo rustup install stable
sudo: rustup: command not found
$ sudo apt-get install rustup
E: Unable to locate package rustup

from electrs.

romanz avatar romanz commented on July 28, 2024

You can install it from https://rustup.rs/ (or https://github.com/rust-lang-nursery/rustup.rs/#other-installation-methods)

from electrs.

kirillkovalenko avatar kirillkovalenko commented on July 28, 2024

apparently I'm not smart enough to copy with this issue

$ curl https://sh.rustup.rs -sSf | sh
info: downloading installer
error: it looks like you have an existing installation of Rust at:
error: /usr/bin
error: rustup cannot be installed alongside Rust. Please uninstall first
error: if this is what you want, restart the installation with `-y'
error: cannot install while Rust is installed

from electrs.

romanz avatar romanz commented on July 28, 2024

No worries... it's indeed tricky.
How did you install Rust in the first place?

from electrs.

kirillkovalenko avatar kirillkovalenko commented on July 28, 2024

I guess rust gets installed as a dependency after I did sudo apt-get install cargo.

from electrs.

romanz avatar romanz commented on July 28, 2024

Indeed...
I suggest using rustup for getting the latest Rust.

from electrs.

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.