Per https://www.reddit.com/r/awesomewm/comments/ams2gt/keygrabber_example_in_documentation/:
The docs for awful.keygrabber refer to non-existing functions select_previous and select_next. Specifically, this seems to be in tests/examples/text/awful/keygrabber/alttab.lua.