chore: Fix up warnings from cargo +beta check. (#7453)

With upcoming release of 1.76 I did a check of current +beta (which
seems to already be at 1.77). These would cause CI pipeline failures
once 1.77 is out.

Release Notes:

- N/A
70e7ea365cPiotr Osiewicz committed on 2/6/2024, 7:36:02 PM· committed by GitHubparent792c832
2 files changedLine totals unavailable