Update token enum capitalization for latest rust
Change fail! to panic!