Updated to new version of Rust
Fix various warnings.