Skip to content
This repository was archived by the owner on Aug 3, 2023. It is now read-only.

Can't Install on Ubuntu with Cargo #1113

Closed
justinh00k opened this issue Feb 29, 2020 · 1 comment
Closed

Can't Install on Ubuntu with Cargo #1113

justinh00k opened this issue Feb 29, 2020 · 1 comment

Comments

@justinh00k
Copy link

justinh00k commented Feb 29, 2020

🐛 Bug Report

Environment

  • operating system:
  • output of rustc -V: 1.39.0

Steps to reproduce

cargo install wrangler --features vendored-openssl

What did you expect to see?

Installation of Wrangler.

What did you see instead?

Compiling chrome-devtools-rs v0.0.0-alpha.0
error[E0658]: the #[non_exhaustive] attribute is an experimental feature
--> /root/.cargo/registry/src/github.ghproxy.top-1ecc6299db9ec823/chrome-devtools-rs-0 .0.0-alpha.0/src/domain/runtime/event/mod.rs:12:1
|
12 | #[non_exhaustive]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see rust-lang/rust#44 109

error[E0658]: the #[non_exhaustive] attribute is an experimental feature
--> /root/.cargo/registry/src/github.ghproxy.top-1ecc6299db9ec823/chrome-devtools-rs-0 .0.0-alpha.0/src/domain/runtime/method/mod.rs:15:1
|
15 | #[non_exhaustive]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see rust-lang/rust#44 109

error[E0658]: the #[non_exhaustive] attribute is an experimental feature
--> /root/.cargo/registry/src/github.ghproxy.top-1ecc6299db9ec823/chrome-devtools-rs-0 .0.0-alpha.0/src/domain/runtime/method/mod.rs:33:1
|
33 | #[non_exhaustive]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see rust-lang/rust#44 109

error[E0658]: the #[non_exhaustive] attribute is an experimental feature
--> /root/.cargo/registry/src/github.ghproxy.top-1ecc6299db9ec823/chrome-devtools-rs-0 .0.0-alpha.0/src/domain/mod.rs:15:1
|
15 | #[non_exhaustive]
| ^^^^^^^^^^^^^^^^^
|
= note: for more information, see rust-lang/rust#44 109

error: aborting due to 4 previous errors

For more information about this error, try rustc --explain E0658.
error: failed to compile wrangler v1.8.0, intermediate artifacts can be found at /tmp/cargo-installZ5X1eK

Caused by:
could not compile chrome-devtools-rs.

@EverlastingBugstopper
Copy link
Contributor

Hey @justinh00k - #[non_exhaustive] was introduced in rust 1.40.0 - you will need to run rustup update in order for installation to work.

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

No branches or pull requests

2 participants