Yeah don’t keep a lizard in that for more than a few days. You aren’t meeting any of the lizards basic needs, especially appropriate temperature and lighting.
This enclosure is too small. There is no drainage layer for the soil. The lizards can easily overheat in that enclosure, too. A novel idea, but ultimately ineffective.