print warning to stderr