Fixed warnings for the latest rust.