See this is based on the assumption that "you did it for the project" or "to learn and grow", but failure (for me) is based on goals and one's inability to meet them. If your goal was to "create a project", you have succeeded even in the face of "failure", unless you never created your project. Most of us, however, have goals: get 100 users, design a great user experience, play 45 shows in a band, get a record deal, get famous.
I don't think you can repurpose your project as a learning experiment... even if you learned, what was the goal?