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

Build fail with unknown feature const_atomic_bool_new #7

Closed
conao3 opened this issue Mar 10, 2019 · 2 comments
Closed

Build fail with unknown feature const_atomic_bool_new #7

conao3 opened this issue Mar 10, 2019 · 2 comments

Comments

@conao3
Copy link
Contributor

conao3 commented Mar 10, 2019

Hi.
cargo build --release is fail with below error. And cargo update is also failed.
Any ideas?

cargo build

$ cargo build --release
   Compiling typenum v1.9.0
   Compiling scopeguard v0.3.3
   Compiling rayon-core v1.3.0
   Compiling libc v0.2.34
   Compiling winapi-build v0.1.1
   Compiling either v1.4.0
   Compiling lazy_static v0.2.11
   Compiling void v1.0.2
   Compiling cfg-if v0.1.2
   Compiling nodrop v0.1.12
   Compiling lazy_static v1.0.0
   Compiling winapi v0.2.8
   Compiling version_check v0.1.3
   Compiling constant_time_eq v0.1.3
   Compiling regex-syntax v0.4.2
   Compiling utf8-ranges v1.0.0
   Compiling cc v1.0.3
   Compiling matches v0.1.6
   Compiling byte-tools v0.2.0
   Compiling serde v1.0.27
   Compiling unicode-normalization v0.1.5
   Compiling fake-simd v0.1.2
   Compiling dtoa v0.4.2
   Compiling fnv v1.0.6
   Compiling yansi v0.3.4
   Compiling safemem v0.2.0
   Compiling same-file v0.1.3
   Compiling siphasher v0.2.2
error[E0635]: unknown feature `const_atomic_bool_new`
 --> /Users/conao/.cargo/registry/src/github.com-1ecc6299db9ec823/yansi-0.3.4/src/lib.rs:1:40
  |
1 | #![cfg_attr(feature="nightly", feature(const_atomic_bool_new))]
  |                                        ^^^^^^^^^^^^^^^^^^^^^

   Compiling itoa v0.3.4
error: aborting due to previous error

For more information about this error, try `rustc --explain E0635`.
error: Could not compile `yansi`.
warning: build failed, waiting for other jobs to finish...
error: build failed

cargo update

rwf2/Rocket#433 is recommends running cargo update, but it also fails.

$ cargo update
    Updating git repository `https://github.com/SergioBenitez/ring`
    Updating crates.io index
    Updating git repository `https://github.com/SergioBenitez/Rocket`
error: failed to select a version for the requirement `untrusted = "^0.5"`
  candidate versions found which didn't match: 0.6.2
  location searched: crates.io index
required by package `ring v0.11.1 (https://github.com/SergioBenitez/ring?branch=v0.11#267d0500)`
    ... which is depended on by `cookie v0.9.1`
    ... which is depended on by `rocket v0.3.17 (https://github.com/SergioBenitez/Rocket?branch=v0.3#5ee9fbd2)`
    ... which is depended on by `rocket_codegen v0.3.17 (https://github.com/SergioBenitez/Rocket?branch=v0.3#5ee9fbd2)`
    ... which is depended on by `tokei_rs v0.1.0 (/Users/conao/Develop/git/tokei_rs)`

rustup show

$ rustup show
Default host: x86_64-apple-darwin

installed toolchains
--------------------

stable-x86_64-apple-darwin
nightly-x86_64-apple-darwin (default)

active toolchain
----------------

nightly-x86_64-apple-darwin (directory override for '/Users/conao/Develop/git/tokei_rs')
rustc 1.35.0-nightly (26b4cb484 2019-03-09)
@XAMPPRocky
Copy link
Owner

Thank you for your issue! This should no longer be the case as the dependencies are now up to date.

@conao3
Copy link
Contributor Author

conao3 commented Jun 30, 2019

OK. Thanks!

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

Successfully merging a pull request may close this issue.

2 participants