print warnings for package import not in conventional way