chore: Upgrade testing infrastructure #7
GitHub Actions / clippy
failed
Aug 5, 2024 in 0s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.80.0 (051478957 2024-07-21)
- cargo 1.80.0 (376290515 2024-07-16)
- clippy 0.1.80 (0514789 2024-07-21)
Annotations
Check failure on line 32 in sdk/tests/compat.rs
github-actions / clippy
fields `uncompressed_remote_size` and `uncompressed_embedded_size` are never read
error: fields `uncompressed_remote_size` and `uncompressed_embedded_size` are never read
--> sdk/tests/compat.rs:32:5
|
29 | pub struct CompatAssetDetails {
| ------------------ fields in this struct
...
32 | uncompressed_remote_size: Option<usize>,
| ^^^^^^^^^^^^^^^^^^^^^^^^
33 | // This one should always be defined.
34 | uncompressed_embedded_size: usize,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `CompatAssetDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]`
Check failure on line 159 in sdk/tests/compat.rs
github-actions / clippy
unused variable: `original_asset`
error: unused variable: `original_asset`
--> sdk/tests/compat.rs:159:17
|
159 | let original_asset = fs::read(fixtures_path.join(&asset_details.asset))?;
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_original_asset`
|
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
Loading