Warn when inspect() used outside of a lazy function