warnings::compat is equivalent to warnings