Cannot build with latest framework-espidf @ 3.50100.0 (5.1.0)

Duplicate of Code that Compiles in Espressidf does not in Platformio.