Errors and warnings are printed to stderr.