Skip to content

Update rust version to 1.81 #8258

Update rust version to 1.81

Update rust version to 1.81 #8258

GitHub Actions / clippy failed Sep 30, 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.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check failure on line 150 in massa-versioning/src/versioning_factory.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `0` is never read

error: field `0` is never read
   --> massa-versioning/src/versioning_factory.rs:150:12
    |
150 |         V1(TestAddressV1),
    |         -- ^^^^^^^^^^^^^
    |         |
    |         field in this variant
    |
    = note: `TestAddress` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
    |
150 |         V1(()),
    |            ~~

Check failure on line 149 in massa-versioning/src/versioning_factory.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

field `0` is never read

error: field `0` is never read
   --> massa-versioning/src/versioning_factory.rs:149:12
    |
149 |         V0(TestAddressV0),
    |         -- ^^^^^^^^^^^^^
    |         |
    |         field in this variant
    |
    = note: `TestAddress` 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)]`
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
    |
149 |         V0(()),
    |            ~~