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

error occurs: cargo clippy --workspace --all-targets --all-features -- -D warnings #346

Open
Kynea0b opened this issue Feb 13, 2024 · 0 comments

Comments

@Kynea0b
Copy link
Contributor

Kynea0b commented Feb 13, 2024

Error

Rust version:

 % cargo version
cargo 1.69.0 (6e9a83356 2023-04-12)

This command results in an error:

cargo clippy --workspace --all-targets --all-features -- -D warnings

Error:

error[E0658]: use of unstable library feature 'error_generic_member_access'
 --> packages/crypto/src/errors.rs:8:10
  |
8 | #[derive(Error, Debug)]
  |          ^^^^^
  |
  = note: see issue #99301 <https://github.com/rust-lang/rust/issues/99301> for more information
  = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0658]: use of unstable library feature 'provide_any'
 --> packages/crypto/src/errors.rs:8:10
  |
8 | #[derive(Error, Debug)]
  |          ^^^^^
  |
  = note: see issue #96024 <https://github.com/rust-lang/rust/issues/96024> for more information
  = note: this error originates in the derive macro `Error` (in Nightly builds, run with -Z macro-backtrace for more info)

error[E0554]: `#![feature]` may not be used on the stable release channel
 --> packages/crypto/src/lib.rs:5:45
  |
5 | #![cfg_attr(feature = "backtraces", feature(backtrace))]
  |                                             ^^^^^^^^^

error: the feature `backtrace` has been stable since 1.65.0 and no longer requires an attribute to enable
 --> packages/crypto/src/lib.rs:5:45
  |
5 | #![cfg_attr(feature = "backtraces", feature(backtrace))]
  |                                             ^^^^^^^^^
  |
  = note: `-D stable-features` implied by `-D warnings`

Some errors have detailed explanations: E0554, E0658.
For more information about an error, try `rustc --explain E0554`.
error: could not compile `cosmwasm-crypto` due to 4 previous errors
warning: build failed, waiting for other jobs to finish...

Refs: a PR and an issue in related upstream

CosmWasm/cosmwasm#1613
CosmWasm/cosmwasm#1623

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