This has been happening an awful lot for me lately as well. Here's an example error message:
+ rustup show
Default host: x86_64-apple-darwin
rustup home: /Users/local/.rustup
info: syncing channel updates for 'stable-x86_64-apple-darwin'
error: failed to download file error=Reqwest(reqwest::Error { kind: Request, url: "https://static.rust-lang.org/dist/channel-rust-stable.toml.sha256", source: hyper_util::client::legacy::Error(Connect, ConnectError("dns error", Custom { kind: Uncategorized, error: "failed to lookup address information: nodename nor servname provided, or not known" })) })
To debug I've tried hitting that same URL from Xcode Cloud using curl as well and get a similar DNS error, so it seems the error is with the Xcode Cloud DNS setup rather than rustup
Topic:
Developer Tools & Services
SubTopic:
Xcode Cloud
Tags: