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 fails #47

Closed
ghost opened this issue Jul 17, 2017 · 2 comments
Closed

cargo install fails #47

ghost opened this issue Jul 17, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 17, 2017

cargo is failing to compile this package (I'm new to rust BTW...)

   Compiling bitflags v0.9.1
   Compiling unicode-bidi v0.3.4
error: struct field shorthands are unstable (see issue #37340)
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/explicit.rs:180:32
    |
180 |         self.vec.push(Status { level, status });
    |                                ^^^^^

error: struct field shorthands are unstable (see issue #37340)
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/explicit.rs:180:39
    |
180 |         self.vec.push(Status { level, status });
    |                                       ^^^^^^

error: struct field shorthands are unstable (see issue #37340)
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/lib.rs:226:13
    |
226 |             text,
    |             ^^^^

error: struct field shorthands are unstable (see issue #37340)
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/lib.rs:227:13
    |
227 |             original_classes,
    |             ^^^^^^^^^^^^^^^^

error: struct field shorthands are unstable (see issue #37340)
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/lib.rs:228:13
    |
228 |             paragraphs,
    |             ^^^^^^^^^^

error: struct field shorthands are unstable (see issue #37340)
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/lib.rs:303:13
    |
303 |             text,
    |             ^^^^

error: struct field shorthands are unstable (see issue #37340)
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/lib.rs:304:13
    |
304 |             original_classes,
    |             ^^^^^^^^^^^^^^^^

error: struct field shorthands are unstable (see issue #37340)
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/lib.rs:305:13
    |
305 |             paragraphs,
    |             ^^^^^^^^^^

error: struct field shorthands are unstable (see issue #37340)
   --> .cargo/registry/src/github.com-1ecc6299db9ec823/unicode-bidi-0.3.4/src/lib.rs:306:13
    |
306 |             levels,
    |             ^^^^^^

error: aborting due to 9 previous errors

Is this something I am doing wrong or a problem on your side?
Here is the bug in rust's github
rust-lang/rust#37340

@ghost
Copy link
Author

ghost commented Jul 17, 2017

BTW I am running
cargo-0.17.0:0
rust-1.16.0

@Manishearth
Copy link
Member

Update to latest Rust, it should get fixed.

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

1 participant