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

Installation fails #48

Closed
karimStekelenburg opened this issue Feb 10, 2022 · 3 comments
Closed

Installation fails #48

karimStekelenburg opened this issue Feb 10, 2022 · 3 comments

Comments

@karimStekelenburg
Copy link

When following the installation guide in the README, the installation fails with the following error:

λ cargo install aries-cli
    Updating crates.io index
  Downloaded aries-cli v0.1.0
  Downloaded 1 crate (22.0 KB) in 0.44s
  Installing aries-cli v0.1.0
  Downloaded checked_int_cast v1.0.0
  Downloaded malloc_buf v0.0.6
  Downloaded objc v0.2.7
  Downloaded objc_id v0.1.1
  Downloaded objc-foundation v0.1.1
  Downloaded ordered-multimap v0.3.1
  Downloaded qr2term v0.2.3
  Downloaded yaml-rust v0.3.5
  Downloaded signal-hook-mio v0.2.1
  Downloaded parking_lot v0.11.2
  Downloaded smallvec v1.8.0
  Downloaded signal-hook v0.3.13
  Downloaded qrcode v0.12.0
  Downloaded parking_lot_core v0.9.1
  Downloaded rust-ini v0.17.0
  Downloaded ahash v0.4.7
  Downloaded core-foundation-sys v0.8.3
  Downloaded fnv v1.0.7
  Downloaded hashbrown v0.9.1
  Downloaded core-foundation v0.9.3
  Downloaded clap v2.34.0
  Downloaded cfg-if v1.0.0
  Downloaded crossterm v0.23.0
  Downloaded colored v2.0.0
  Downloaded httpdate v1.0.2
  Downloaded hyper-tls v0.5.0
  Downloaded itoa v1.0.1
  Downloaded ipnet v2.3.1
  Downloaded mime v0.3.16
  Downloaded log v0.4.14
  Downloaded mio v0.7.14
  Downloaded h2 v0.3.11
  Downloaded linked-hash-map v0.5.4
  Downloaded lazy_static v1.4.0
  Downloaded matches v0.1.9
  Downloaded hashbrown v0.11.2
  Downloaded instant v0.1.12
  Downloaded tinyvec_macros v0.1.0
  Downloaded security-framework-sys v2.6.1
  Downloaded num_cpus v1.13.1
  Downloaded native-tls v0.2.8
  Downloaded remove_dir_all v0.5.3
  Downloaded rand_core v0.6.3
  Downloaded proc-macro2 v1.0.36
  Downloaded slab v0.4.5
  Downloaded tempfile v3.3.0
  Downloaded tokio-macros v1.7.0
  Downloaded tinyvec v1.5.1
  Downloaded serde_json v1.0.78
  Downloaded reqwest v0.11.9
  Downloaded syn v1.0.86
  Downloaded hyper v0.14.17
  Downloaded socket2 v0.4.4
  Downloaded serde_derive v1.0.136
  Downloaded serde v1.0.136
  Downloaded try-lock v0.2.3
  Downloaded unicode-width v0.1.9
  Downloaded unicode-bidi v0.3.7
  Downloaded url v2.2.2
  Downloaded unicode-normalization v0.1.19
  Downloaded tracing-core v0.1.22
  Downloaded want v0.3.0
  Downloaded vec_map v0.8.2
  Downloaded yaml-rust v0.4.5
  Downloaded tokio v1.16.1
  Downloaded tracing v0.1.30
  Downloaded bytes v1.1.0
  Downloaded http-body v0.4.4
  Downloaded futures-util v0.3.21
  Downloaded indexmap v1.8.0
  Downloaded rand_chacha v0.3.1
  Downloaded quote v1.0.15
  Downloaded tower-service v0.3.1
  Downloaded security-framework v2.6.1
  Downloaded idna v0.2.3
  Downloaded http v0.2.6
  Downloaded atty v0.2.14
  Downloaded fastrand v1.7.0
  Downloaded pin-utils v0.1.0
  Downloaded percent-encoding v2.1.0
  Downloaded getrandom v0.2.4
  Downloaded block v0.1.6
  Downloaded bitflags v1.3.2
  Downloaded ansi_term v0.12.1
  Downloaded form_urlencoded v1.0.1
  Downloaded base64 v0.13.0
  Downloaded autocfg v1.1.0
  Downloaded unicode-xid v0.2.2
  Downloaded tokio-native-tls v0.3.0
  Downloaded textwrap v0.11.0
  Downloaded signal-hook-registry v1.4.0
  Downloaded scopeguard v1.1.0
  Downloaded libc v0.2.117
  Downloaded ryu v1.0.9
  Downloaded rand v0.8.4
  Downloaded strsim v0.8.0
  Downloaded serde_urlencoded v0.7.1
  Downloaded memchr v2.4.1
  Downloaded encoding_rs v0.8.30
  Downloaded once_cell v1.9.0
  Downloaded ppv-lite86 v0.2.16
  Downloaded pin-project-lite v0.2.8
  Downloaded futures-task v0.3.21
  Downloaded futures-sink v0.3.21
  Downloaded httparse v1.6.0
  Downloaded futures-channel v0.3.21
  Downloaded futures-core v0.3.21
  Downloaded clipboard v0.5.0
  Downloaded dlv-list v0.2.3
  Downloaded parking_lot_core v0.8.5
  Downloaded parking_lot v0.12.0
  Downloaded lock_api v0.4.6
  Downloaded async-trait v0.1.52
  Downloaded tokio-util v0.6.9
  Downloaded 114 crates (7.1 MB) in 1.11s (largest was `encoding_rs` at 1.4 MB)
   Compiling libc v0.2.117
   Compiling cfg-if v1.0.0
   Compiling proc-macro2 v1.0.36
   Compiling unicode-xid v0.2.2
   Compiling syn v1.0.86
   Compiling log v0.4.14
   Compiling smallvec v1.8.0
   Compiling scopeguard v1.1.0
   Compiling parking_lot_core v0.8.5
   Compiling pin-project-lite v0.2.8
   Compiling bytes v1.1.0
   Compiling lazy_static v1.4.0
   Compiling core-foundation-sys v0.8.3
   Compiling futures-core v0.3.21
   Compiling memchr v2.4.1
   Compiling bitflags v1.3.2
   Compiling itoa v1.0.1
   Compiling once_cell v1.9.0
   Compiling autocfg v1.1.0
   Compiling futures-task v0.3.21
   Compiling fnv v1.0.7
   Compiling serde_derive v1.0.136
   Compiling futures-util v0.3.21
   Compiling pin-utils v0.1.0
   Compiling matches v0.1.9
   Compiling hashbrown v0.11.2
   Compiling fastrand v1.7.0
   Compiling signal-hook v0.3.13
   Compiling native-tls v0.2.8
   Compiling tinyvec_macros v0.1.0
   Compiling futures-channel v0.3.21
   Compiling httparse v1.6.0
   Compiling parking_lot_core v0.9.1
   Compiling futures-sink v0.3.21
   Compiling ppv-lite86 v0.2.16
   Compiling serde v1.0.136
   Compiling remove_dir_all v0.5.3
   Compiling slab v0.4.5
   Compiling percent-encoding v2.1.0
   Compiling try-lock v0.2.3
   Compiling tower-service v0.3.1
   Compiling unicode-bidi v0.3.7
   Compiling ryu v1.0.9
   Compiling encoding_rs v0.8.30
   Compiling ahash v0.4.7
   Compiling serde_json v1.0.78
   Compiling httpdate v1.0.2
   Compiling async-trait v0.1.52
   Compiling checked_int_cast v1.0.0
   Compiling block v0.1.6
   Compiling unicode-width v0.1.9
   Compiling ansi_term v0.12.1
   Compiling base64 v0.13.0
   Compiling vec_map v0.8.2
   Compiling linked-hash-map v0.5.4
   Compiling ipnet v2.3.1
   Compiling mime v0.3.16
   Compiling strsim v0.8.0
   Compiling yaml-rust v0.3.5
   Compiling instant v0.1.12
   Compiling lock_api v0.4.6
   Compiling tracing-core v0.1.22
   Compiling indexmap v1.8.0
   Compiling http v0.2.6
   Compiling tinyvec v1.5.1
   Compiling form_urlencoded v1.0.1
   Compiling hashbrown v0.9.1
   Compiling qrcode v0.12.0
   Compiling textwrap v0.11.0
   Compiling yaml-rust v0.4.5
   Compiling tracing v0.1.30
   Compiling http-body v0.4.4
   Compiling unicode-normalization v0.1.19
   Compiling want v0.3.0
   Compiling signal-hook-registry v1.4.0
   Compiling mio v0.7.14
   Compiling num_cpus v1.13.1
   Compiling getrandom v0.2.4
   Compiling core-foundation v0.9.3
   Compiling security-framework-sys v2.6.1
   Compiling tempfile v3.3.0
   Compiling malloc_buf v0.0.6
   Compiling socket2 v0.4.4
   Compiling atty v0.2.14
   Compiling quote v1.0.15
   Compiling parking_lot v0.11.2
   Compiling idna v0.2.3
   Compiling rand_core v0.6.3
   Compiling security-framework v2.6.1
   Compiling objc v0.2.7
   Compiling clap v2.34.0
   Compiling colored v2.0.0
   Compiling parking_lot v0.12.0
   Compiling signal-hook-mio v0.2.1
   Compiling rand_chacha v0.3.1
   Compiling url v2.2.2
   Compiling objc_id v0.1.1
   Compiling crossterm v0.23.0
   Compiling rand v0.8.4
   Compiling objc-foundation v0.1.1
   Compiling qr2term v0.2.3
   Compiling dlv-list v0.2.3
   Compiling clipboard v0.5.0
   Compiling ordered-multimap v0.3.1
   Compiling rust-ini v0.17.0
   Compiling tokio-macros v1.7.0
   Compiling tokio v1.16.1
   Compiling tokio-util v0.6.9
   Compiling tokio-native-tls v0.3.0
   Compiling h2 v0.3.11
   Compiling serde_urlencoded v0.7.1
   Compiling hyper v0.14.17
   Compiling hyper-tls v0.5.0
   Compiling reqwest v0.11.9
   Compiling aries-cli v0.1.0
error[E0554]: `#![feature]` may not be used on the stable release channel
 --> $HOME/.cargo/registry/src/github.aaakk.us.kg-1ecc6299db9ec823/aries-cli-0.1.0/src/main.rs:6:12
  |
6 | #![feature(iter_zip)]
  |            ^^^^^^^^

For more information about this error, try `rustc --explain E0554`.
error: failed to compile `aries-cli v0.1.0`, intermediate artifacts can be found at `/var/folders/tt/l0mq4_tj0vs26brlh1r3b03w0000gn/T/cargo-installi14Ln4`

Caused by:
  could not compile `aries-cli` due to previous error

Since I didn't have the Rust toolbelt installed on my system, it's worth mentioning that I installed it prior to attempting to install the aries-cli by following the official installation guide.

@berendsliedrecht
Copy link
Member

Ah the iter_zip (awesome function) is only enabled in nightly versions.

To install nightly:

rustup default nightly

To set nightly:

rustup default nightly

To set back to stable:

rustup default stable

I will add this to the docs or more likely replace the iter_zip with a stable feature.

Thanks for the report :)

@karimStekelenburg
Copy link
Author

I think we can solve this by adding a Prerequisites section to the README. This is a good place to explain how to install Rust and the fact that it needs to be nightly :)

@karimStekelenburg
Copy link
Author

Verified that the latest version works with the stable version of Rust. I still think that we need to add a prerequisites section to the README, but I'll close this one and add a new issue.

gitbook-com bot pushed a commit that referenced this issue Apr 5, 2022
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