How firm a foundation

I jetted out west early in the morning to take a photo of this little building near a friend’s farm.  It wasn’t until I looked at the photos that I saw the bottom of the building.  Looks like the foundation is a little lacking.  That would explain its sagging.  Unfortunately, once a building starts to bow like this I think the clock starts ticking.  The big barn nearby has already succumbed to the ravages of time.