Updated to latest Rust

I am not 100% sure I've done the right thing here. Please review the changes.

* Fixed the lifetime on `AudioSpec`
* Fixed warnings