Fix Rust breaking changes

* Shadowed lifetimes warning
* Semicolons after macro expansions
* Something to do with cloning slices?