The ESP32-C6 requires the Arduino core 3.x which is unfortunately not officially available for PlatformIO and may never be available - See Support Arduino ESP32 v3.0 based on ESP-IDF v5.1 · Issue #1225 · platformio/platform-espressif32 · GitHub
But there is the community platform “pioarduino” to fill this gap.
Give it a try.