As long as the compost bin is ventilated and not too warm then he should be alright in there. I have to tell you though that I think that toad is very sick. I hope I am proven wrong.