Use eprintln instead of warn to avoid missing deprecated message
@@ -538,8 +538,8 @@ fn config_from_env() -> Result<EnvConfig> {
if env::var("SCCACHE_GCS_OAUTH_URL").is_ok() {
- warn!("SCCACHE_GCS_OAUTH_URL has been deprecated");
- warn!("if you intend to use vm metadata for auth, please set correct service account intead");
+ eprintln!("SCCACHE_GCS_OAUTH_URL has been deprecated");
+ eprintln!("if you intend to use vm metadata for auth, please set correct service account intead");
}
let credential_url = env::var("SCCACHE_GCS_CREDENTIALS_URL").ok();
