How to fix split open roof
Don't use carpet. Water will go right through that. Buy a tarp with metal rings, and use rachet straps or ropes to fasten that to the base of the shed. Example: https://youtu.be/2X6qlhyKSjM

Hardware stores and home improvement stores sell tarps. Walmart even sells them.