The dotenv! macro should have more using friendly error messages. In particular it should indicate where the parsing error was in the .env file.
dotenv!
.env
Activity