impierce / identity-wallet

A Tauri-based Identity Wallet for people to manage Decentralized Identities and Verifiable Credentials.
https://www.impierce.com
Apache License 2.0
17 stars 4 forks source link

[Bug] Clippy fails after update to Rust v1.78.0 #224

Open maiertech opened 1 month ago

maiertech commented 1 month ago

Description

The Rust lint tasks in the GitHub Action started failing today. This seems to be an issue introduced with Rust v1.78.0.

Hardware Specification

n/a

Steps to Reproduce the Bug

  1. Run rustup update.
  2. Verify that you have v1.78.0.
  3. Run Clippy in identity-wallet and unime/src-tauri: cargo clippy --all-targets --all-features -- -D warnings.

Note: if you run cargo clippy you will see warnings only.

Expected Behaviour

Clippy should run without throwing errors or warnings.

Actual Behaviour

Clippy fails with errors and/or warnings.

Errors

clippy

maiertech commented 1 month ago

Workaround in #225 (not a fix).

daniel-mader commented 1 month ago

It might be worth to introduce a toolchain.toml as described here. This prevents different Rust versions in the Cargo.toml files and in GitHub Actions.