collect and repeat all warnings in the end