Canop / clima

A minimal viewer for Termimad
MIT License
30 stars 7 forks source link

Build fails on v0.1 tag #10

Closed savchenko closed 2 years ago

savchenko commented 2 years ago

Fresh checkout:

   [...]
   Compiling hyper v0.14.17
   Compiling hyper-tls v0.5.0
   Compiling reqwest v0.11.10
   Compiling clima v0.1.0 (/home/user/clima)
error: there is no argument named `user`
  --> src/open.rs:56:60
   |
56 |                 format!("https://raw.githubusercontent.com/{user}/{repo}/master/README.md")
   |                                                            ^^^^^^

error: there is no argument named `repo`
  --> src/open.rs:56:67
   |
56 |                 format!("https://raw.githubusercontent.com/{user}/{repo}/master/README.md")
   |                                                                   ^^^^^^

error: there is no argument named `user`
  --> src/open.rs:66:60
   |
66 |                 format!("https://raw.githubusercontent.com/{user}/{repo}/{path}")
   |                                                            ^^^^^^

error: there is no argument named `repo`
  --> src/open.rs:66:67
   |
66 |                 format!("https://raw.githubusercontent.com/{user}/{repo}/{path}")
   |                                                                   ^^^^^^

error: there is no argument named `path`
  --> src/open.rs:66:74
   |
66 |                 format!("https://raw.githubusercontent.com/{user}/{repo}/{path}")
   |                                                                          ^^^^^^

error: could not compile `clima` due to 5 previous errors

Environment:

$ cargo --version
cargo 1.56.0 (4ed5d137b 2021-10-04)
$ rustc --version
rustc 1.56.1 (59eed8a2a 2021-11-01)
Canop commented 2 years ago

You need a more recent rust compiler. Please run rustup update and compile clima again.

savchenko commented 2 years ago

That was quick! Works with 1.60/stable.