fix build by adding semicolons to macros; deal with copy warning lint

This one shouldn't be `Copy`. (Contains a reference.)