Updated to latest Rust, fixed warnings