You must, per documentation, upload the filesystem to the ESP32 separately, using the “Upload File System image” project task.
That’s because the people at Arduino-ESP32 did a release which compiles with these warnings. They already resolved it so it will be gone in the next release, see How to get rid of "warning: initialization from incompatible pointer type [-Wincompatible-pointer-types"].