'planks of wood'?? Do you mean planks or do you mean battens?
Anyway, the wet might be blown-in rain. I assume the roof isn't felted? In which case any blown precipitation (rain, sleet, snow, etc.) can get in.
The frosty nail thing might be condesation (from a bathroom maybe). This...