Skip to content

[Merged by Bors] - 1.57.0 lints#2850

Closed
realbigsean wants to merge 6 commits intosigp:unstablefrom
realbigsean:1.57.0-lints
Closed

[Merged by Bors] - 1.57.0 lints#2850
realbigsean wants to merge 6 commits intosigp:unstablefrom
realbigsean:1.57.0-lints

Conversation

@realbigsean
Copy link
Member

Issue Addressed

New rust lints

Proposed Changes

  • Boxing some enum variants
  • removing some unused fields (is the validator lockfile unused? seemed so to me)

Additional Info

  • some error fields were marked as dead code but are logged out in areas
  • left some dead fields in our ef test code because I assume they are useful for debugging?

@divagant-martian
Copy link
Contributor

for the record, this is the source of the new dead_code warnings: rust-lang/rust#85200
I would suggest moving the fields to be _field instead of wrapping the whole variant in allow unused

@realbigsean realbigsean added the ready-for-review The code is ready for review label Dec 2, 2021
@realbigsean realbigsean added work-in-progress PR is a work-in-progress and removed ready-for-review The code is ready for review labels Dec 2, 2021
@realbigsean realbigsean added ready-for-review The code is ready for review and removed work-in-progress PR is a work-in-progress labels Dec 2, 2021
Copy link
Member

@michaelsproul michaelsproul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

bors r+

bors bot pushed a commit that referenced this pull request Dec 3, 2021
## Issue Addressed

New rust lints

## Proposed Changes

- Boxing some enum variants
- removing some unused fields (is the validator lockfile unused? seemed so to me)

## Additional Info

- some error fields were marked as dead code but are logged out in areas
- left some dead fields in our ef test code because I assume they are useful for debugging?

Co-authored-by: realbigsean <seananderson33@gmail.com>
@michaelsproul michaelsproul added ready-for-merge This PR is ready to merge. and removed ready-for-review The code is ready for review labels Dec 3, 2021
@bors
Copy link

bors bot commented Dec 3, 2021

Timed out.

@michaelsproul
Copy link
Member

michaelsproul commented Dec 3, 2021

Don't know if it's a Windows regression in Rust 1.57.0 or just flaky CI but the Windows build exceeded the 2h timeout: https://github.com/sigp/lighthouse/actions/runs/1533104768

I'll retry it, but if it fails again we'll have bump the timeout in ./bors.toml

bors retry

bors bot pushed a commit that referenced this pull request Dec 3, 2021
## Issue Addressed

New rust lints

## Proposed Changes

- Boxing some enum variants
- removing some unused fields (is the validator lockfile unused? seemed so to me)

## Additional Info

- some error fields were marked as dead code but are logged out in areas
- left some dead fields in our ef test code because I assume they are useful for debugging?

Co-authored-by: realbigsean <seananderson33@gmail.com>
@bors
Copy link

bors bot commented Dec 3, 2021

Build failed:

@michaelsproul
Copy link
Member

bors retry

bors bot pushed a commit that referenced this pull request Dec 3, 2021
## Issue Addressed

New rust lints

## Proposed Changes

- Boxing some enum variants
- removing some unused fields (is the validator lockfile unused? seemed so to me)

## Additional Info

- some error fields were marked as dead code but are logged out in areas
- left some dead fields in our ef test code because I assume they are useful for debugging?

Co-authored-by: realbigsean <seananderson33@gmail.com>
@bors
Copy link

bors bot commented Dec 3, 2021

@bors bors bot changed the title 1.57.0 lints [Merged by Bors] - 1.57.0 lints Dec 3, 2021
@bors bors bot closed this Dec 3, 2021
@realbigsean realbigsean deleted the 1.57.0-lints branch November 21, 2023 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge This PR is ready to merge.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants