Sections, being part of the normal output are printed immediately. Warnings instead are printed at the end of the execution to be more visible. Therefore I would skip the section and print the warnings enumerating the `deprecated_pods` directly.