Update to latest rustc and fix some warnings