Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo install soptify-tui failed. #1108

Closed
friendbear opened this issue Nov 17, 2023 · 5 comments
Closed

cargo install soptify-tui failed. #1108

friendbear opened this issue Nov 17, 2023 · 5 comments

Comments

@friendbear
Copy link

✦2 ➜ cargo install spotify-tui
    Updating crates.io index
  Installing spotify-tui v0.25.0
  Downloaded unicode-width v0.1.11
  Downloaded unicode-ident v1.0.12
  Downloaded want v0.3.1
  Downloaded tinyvec_macros v0.1.1
  Downloaded ryu v1.0.15
  Downloaded ppv-lite86 v0.2.17
  Downloaded percent-encoding v2.3.0
  Downloaded signal-hook-registry v1.4.1
  Downloaded termcolor v1.4.0
  Downloaded slab v0.4.9
  Downloaded byteorder v1.5.0
  Downloaded smallvec v1.11.2
  Downloaded form_urlencoded v1.2.0
  Downloaded quote v1.0.33
  Downloaded matches v0.1.10
  Downloaded mime v0.3.17
  Downloaded either v1.9.0
  Downloaded futures-io v0.3.29
  Downloaded futures-executor v0.3.29
  Downloaded itoa v1.0.9
  Downloaded futures-sink v0.3.29
  Downloaded futures-macro v0.3.29
  Downloaded futures-core v0.3.29
  Downloaded linked-hash-map v0.5.6
  Downloaded anyhow v1.0.75
  Downloaded bitflags v2.4.1
  Downloaded unicode-bidi v0.3.13
  Downloaded pin-project-lite v0.2.13
  Downloaded num_cpus v1.16.0
  Downloaded net2 v0.2.39
  Downloaded futures-task v0.3.29
  Downloaded iana-time-zone v0.1.58
  Downloaded futures-channel v0.3.29
  Downloaded ipnet v2.9.0
  Downloaded pin-project v1.1.3
  Downloaded bytemuck v1.14.0
  Downloaded proc-macro2 v1.0.69
  Downloaded httparse v1.8.0
  Downloaded addr2line v0.21.0
  Downloaded lock_api v0.4.11
  Downloaded once_cell v1.18.0
  Downloaded log v0.4.20
  Downloaded getrandom v0.2.11
  Downloaded url v2.4.1
  Downloaded base64 v0.13.1
  Downloaded serde v1.0.192
  Downloaded native-tls v0.2.11
  Downloaded parking_lot_core v0.8.6
  Downloaded cc v1.0.83
  Downloaded bytes v1.5.0
  Downloaded backtrace v0.3.69
  Downloaded num-traits v0.2.17
  Downloaded miniz_oxide v0.7.1
  Downloaded openssl-sys v0.9.95
  Downloaded unicode-segmentation v1.10.1
  Downloaded http v0.2.11
  Downloaded hashbrown v0.12.3
  Downloaded memchr v2.6.4
  Downloaded unicode-normalization v0.1.22
  Downloaded serde_json v1.0.108
  Downloaded aho-corasick v1.1.2
  Downloaded syn v1.0.109
  Downloaded chrono v0.4.31
  Downloaded syn v2.0.39
  Downloaded regex v1.10.2
  Downloaded gimli v0.28.0
  Downloaded object v0.32.1
  Downloaded openssl v0.10.59
  Downloaded idna v0.4.0
  Downloaded regex-automata v0.4.3
  Downloaded libc v0.2.150
  Downloaded tracing-core v0.1.32
  Downloaded openssl-macros v0.1.1
  Downloaded futures-util v0.3.29
  Downloaded encoding_rs v0.8.33
  Downloaded rustc-demangle v0.1.23
  Downloaded tracing v0.1.40
  Downloaded regex-syntax v0.8.2
  Downloaded pin-project-internal v1.1.3
  Downloaded serde_yaml v0.8.26
  Downloaded scopeguard v1.2.0
  Downloaded unicode-xid v0.2.4
  Downloaded unicase v2.7.0
  Downloaded thiserror-impl v1.0.50
  Downloaded signal-hook v0.3.17
  Downloaded futures v0.3.29
  Downloaded try-lock v0.2.4
  Downloaded vcpkg v0.2.15
  Downloaded thiserror v1.0.50
  Downloaded indexmap v1.9.3
  Downloaded serde_derive v1.0.192
  Downloaded pkg-config v0.3.27
  Downloaded 92 crates (8.6 MB) in 1.07s (largest was `encoding_rs` at 1.4 MB)
error: failed to compile `spotify-tui v0.25.0`, intermediate artifacts can be found at `/tmp/cargo-installEU47L2`

Caused by:
  package `regex v1.10.2` cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.64.0

~ took 4m49s 
✦ ❯ neofetch
             ...-:::::-...                 kumagai@mikumiku 
          .-MMMMMMMMMMMMMMM-.              ---------------- 
      .-MMMM`..-:::::::-..`MMMM-.          OS: Linux Mint 21 x86_64 
    .:MMMM.:MMMMMMMMMMMMMMM:.MMMM:.        Host: Swift SF314-56 V1.14 
   -MMM-M---MMMMMMMMMMMMMMMMMMM.MMM-       Kernel: 5.15.0-88-generic 
 `:MMM:MM`  :MMMM:....::-...-MMMM:MMM:`    Uptime: 1 day, 16 hours, 18 mins 
 :MMM:MMM`  :MM:`  ``    ``  `:MMM:MMM:    Packages: 2815 (dpkg), 7 (flatpak) 
.MMM.MMMM`  :MM.  -MM.  .MM-  `MMMM.MMM.   Shell: bash 5.1.16 
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:   Resolution: 1920x1080, 1920x1080 
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM:MMM:   DE: Cinnamon 5.4.12 
:MMM:MMMM`  :MM.  -MM-  .MM:  `MMMM-MMM:   WM: Mutter 
.MMM.MMMM`  :MM:--:MM:--:MM:  `MMMM.MMM.   WM Theme: Mint-Y 
 :MMM:MMM-  `-MMMMMMMMMMMM-`  -MMM-MMM:    Theme: Mint-Y-Dark-Purple [GTK2/3] 
  :MMM:MMM:`                `:MMM:MMM:     Icons: Mint-X-Purple [GTK2/3] 
   .MMM.MMMM:--------------:MMMM.MMM.      Terminal: gnome-terminal 
     '-MMMM.-MMMMMMMMMMMMMMM-.MMMM-'       CPU: Intel i5-8265U (8) @ 3.900GHz 
       '.-MMMM``--:::::--``MMMM-.'         GPU: Intel WhiskeyLake-U GT2 [UHD Graphics 620] 
            '-MMMMMMMMMMMMM-'              Memory: 4372MiB / 7786MiB 
               ``-:::::-``
                                                                   
                                                                   


Please fix it

@friendbear
Copy link
Author

Try it.

sudo apt-get install pkg-config libssl-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
pkg-config is already the newest version (0.29.2-1ubuntu3).
libssl-dev is already the newest version (3.0.2-0ubuntu1.12).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

~ took 2s 
✦ ➜ cargo install spotify-tui
    Updating crates.io index
  Installing spotify-tui v0.25.0
error: failed to compile `spotify-tui v0.25.0`, intermediate artifacts can be found at `/tmp/cargo-installGQAEHu`

Caused by:
  package `addr2line v0.21.0` cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.64.0

@apprehensions
Copy link

https://github.com/aome510/spotify-player

@friendbear
Copy link
Author

@apprehensions
ありがとうございます!。動作確認しました。
また rustup update することで spotify-tui もInstall できました。

@apprehensions
Copy link

apprehensions commented Nov 17, 2023

spotify-tuiは時代遅れで、spotify_playerにはたくさんの特徴と素晴らしい機能があることを忘れないでください。

@friendbear
Copy link
Author

I Love Music! Thank's @apprehensions san

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants