print warnings to stderr