Describe the problem you are trying to solve
I forgot to login before using cargo publish. It started building the crate to verify it, but when it was finished it gave an error about not being logged in. When I logged in I had to wait for it getting built again.
Describe the solution you'd like
Either error immediately after running cargo publish without logging in first or ask for an api key.