error build log
```
==> cargo install
Last 150 lines from /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/rubyfmt/01.cargo:
--> librubyfmt/src/ripper_tree_types.rs:1413:16
|
1413 | NotPresent(bool),
| ---------- ^^^^
| |
| field in this variant
|
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
1413 | NotPresent(()),
| ~~
error: field `3` is never read
--> librubyfmt/src/ripper_tree_types.rs:1424:5
|
1420 | pub struct ArgsAddBlock(
| ------------ field in this struct
...
1424 | pub StartEnd,
| ^^^^^^^^^^^^
|
= note: `ArgsAddBlock` has derived impls for the traits `Clone` and `Debug`, but these are 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
|
1424 | (),
| ~~
error: field `0` is never read
--> librubyfmt/src/ripper_tree_types.rs:1430:16
|
1430 | EmptyParen((paren_tag, bool)),
| ---------- ^^^^^^^^^^^^^^^^^
| |
| field in this variant
|
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
1430 | EmptyParen(()),
| ~~
error: field `1` is never read
--> librubyfmt/src/ripper_tree_types.rs:1933:35
|
1933 | pub struct Period(pub period_tag, pub String, pub LineCol);
| ------ ^^^^^^^^^^
| |
| field in this struct
|
= note: `Period` has derived impls for the traits `Clone` and `Debug`, but these are 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
|
1933 | pub struct Period(pub period_tag, (), pub LineCol);
| ~~
|
2114 | Period(()),
| ~~
error: field `0` is never read
--> librubyfmt/src/ripper_tree_types.rs:2115:8
|
2115 | Op(Operator),
| -- ^^^^^^^^
| |
| field in this variant
|
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
2115 | Op(()),
| ~~
error: field `0` is never read
--> librubyfmt/src/ripper_tree_types.rs:2280:35
|
2280 | EmptyBecauseParamsWerePresent(bool),
| ----------------------------- ^^^^
| |
| field in this variant
|
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
2280 | EmptyBecauseParamsWerePresent(()),
| ~~
error: field `0` is never read
--> librubyfmt/src/ripper_tree_types.rs:2281:36
|
2281 | NilBecauseParamsWereNotPresent(Option<()>),
| ------------------------------ ^^^^^^^^^^
| |
| field in this variant
|
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
2281 | NilBecauseParamsWereNotPresent(()),
| ~~
error: could not compile `rubyfmt` (lib) due to 17 previous errors
```
seeing some build errors while upgrading rust to 1.79.0
error build log
``` ==> cargo install Last 150 lines from /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/rubyfmt/01.cargo: --> librubyfmt/src/ripper_tree_types.rs:1413:16 | 1413 | NotPresent(bool), | ---------- ^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 1413 | NotPresent(()), | ~~ error: field `3` is never read --> librubyfmt/src/ripper_tree_types.rs:1424:5 | 1420 | pub struct ArgsAddBlock( | ------------ field in this struct ... 1424 | pub StartEnd, | ^^^^^^^^^^^^ | = note: `ArgsAddBlock` has derived impls for the traits `Clone` and `Debug`, but these are 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 | 1424 | (), | ~~ error: field `0` is never read --> librubyfmt/src/ripper_tree_types.rs:1430:16 | 1430 | EmptyParen((paren_tag, bool)), | ---------- ^^^^^^^^^^^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 1430 | EmptyParen(()), | ~~ error: field `1` is never read --> librubyfmt/src/ripper_tree_types.rs:1933:35 | 1933 | pub struct Period(pub period_tag, pub String, pub LineCol); | ------ ^^^^^^^^^^ | | | field in this struct | = note: `Period` has derived impls for the traits `Clone` and `Debug`, but these are 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 | 1933 | pub struct Period(pub period_tag, (), pub LineCol); | ~~ | 2114 | Period(()), | ~~ error: field `0` is never read --> librubyfmt/src/ripper_tree_types.rs:2115:8 | 2115 | Op(Operator), | -- ^^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 2115 | Op(()), | ~~ error: field `0` is never read --> librubyfmt/src/ripper_tree_types.rs:2280:35 | 2280 | EmptyBecauseParamsWerePresent(bool), | ----------------------------- ^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 2280 | EmptyBecauseParamsWerePresent(()), | ~~ error: field `0` is never read --> librubyfmt/src/ripper_tree_types.rs:2281:36 | 2281 | NilBecauseParamsWereNotPresent(Option<()>), | ------------------------------ ^^^^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 2281 | NilBecauseParamsWereNotPresent(()), | ~~ error: could not compile `rubyfmt` (lib) due to 17 previous errors ```