ivanceras / svgbob

Convert your ascii diagram scribbles into happy little SVG
http://ivanceras.github.io/svgbob-editor/
Apache License 2.0
3.91k stars 112 forks source link

install broke #34

Closed haroldcarr closed 5 years ago

haroldcarr commented 5 years ago

I just tried

curl https://sh.rustup.rs -sSf | sh
cargo install svgbob_cli

and got

cargo install svgbob_cli
    Updating registry `https://github.com/rust-lang/crates.io-index`
   Compiling unicode-width v0.1.5
   Compiling ansi_term v0.11.0
   Compiling vec_map v0.8.1
   Compiling libc v0.2.47
.cargo/registry/src/github.com-1ecc6299db9ec823/ansi_term-0.11.0/src/ansi.rs:25:9: 25:28 error: the `?` operator is not stable (see issue #31436)
.cargo/registry/src/github.com-1ecc6299db9ec823/ansi_term-0.11.0/src/ansi.rs:25         write!(f, "\x1B[")?;
                                                                                        ^~~~~~~~~~~~~~~~~~~

and a whole lot more like that.

bjorn3 commented 5 years ago

You will need to update rustc. The ? operator got stabilized many releases ago. Judging from the error format, your rustc is 2 years old.

haroldcarr commented 5 years ago

I know this is the forum, but in case you know off-the-top-of-your-head, I installed rust specially and only to build this project. I installed via

curl https://sh.rustup.rs -sSf | sh

What do I do now to update rustc?

bjorn3 commented 5 years ago

What do I do now to update rustc?

$ rustup update