ESP-C3-32S trouble

What is your current platformio.ini? You should start from Broken ESP32-C3 config/build after moving to arduino-esp32 v2.0.0-rc1 - #5 by basirk and apply the known fixes (remove qio), then adapt partition table and variant as needed.

Which configuration are you using in the Arduino IDE for reference?