Fix attribute deprication warnings

1. `warning: phase(syntax) is a deprecated synonym for phase(plugin)`
2. `warning: the #[crate_id] attribute is deprecated for the #[crate_name] attribute`