add missing import in autoall.py (from warnings import warn)