Just ran in to the same issue with Strapi 4.10
After the second try to build it worked.
Regarding this point 3, it could just take to long to build and therefore create a timeout:
https://help.heroku.com/P1AVPANS/why-is-my-node-js-app-crashing-with-an-r10-error