warnings and deprecations were only returned for the top level of a task, this now deals with them in loop deduplication still occurs so only unique ones will be shown to user. fixes #25258