You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cargo install cargo-web
Updating registry `https://github.com/rust-lang/crates.io-index`
Installing cargo-web v0.6.10
...
Compiling atty v0.2.9
error[E0428]: the name `is` is defined multiple times
--> /Users/stephen/.cargo/registry/src/github.com-1ecc6299db9ec823/atty-0.2.9/src/lib.rs:164:1
|
40 | pub fn is(stream: Stream) -> bool {
| --------------------------------- previous definition of the value `is` here
...
164 | pub fn is(_stream: Stream) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `is` redefined here
|
= note: `is` must be defined only once in the value namespace of this module
error: aborting due to previous error
For more information about this error, try `rustc --explain E0428`.
error: Could not compile `atty`.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `cargo-web v0.6.10`, intermediate artifacts can be found at `/var/folders/dn/hvqfd0nn4wq2yn57_bdvj2ph0000gn/T/cargo-installGHNJ67`
Caused by:
build failed
The build appears to be broken due to downstream changes in the atty crate. Looks like softprops/atty#21 is potentially the same cause.
The text was updated successfully, but these errors were encountered:
Unfortunately I just found out that this is 100% due to my local Rust installation. Somehow cargo is trying to build for wasm by default, which was causing this issue for me. See softprops/atty#26
The build appears to be broken due to downstream changes in the
atty
crate. Looks like softprops/atty#21 is potentially the same cause.The text was updated successfully, but these errors were encountered: