(fix) fix warnings for latest cargo