Production build of same code fails to generate functions

I have code that builds when I merge into branches. When I merge into develop, it builds and works properly:

However, for my deploy pipeline, I deploy from main. Having taken that same code, checking out main, merging in develop, and then pushing (so now develop and main should be the exact same code) the main branch fails to build functions

Seeing as the code is identical, I can’t figure out what the difference would be that would cause this failure.