Add the_posts_pagination to the error message
Memory limit increase

Attempt to bump the memory limit to the maximum (default: 256M) when
doing the theme-check. This won't work on a lot of host, but it should
work on most development environments, which is what matters, really.