This happens way too often (see the image below). Especially today.
I used this snippet from the offical Rust website to install rustup: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
Run ci_post_clone.sh script
Run command: 'cd /Volumes/workspace/repository/apps/app/ios/ci_scripts && /Volumes/workspace/repository/apps/app/ios/ci_scripts/ci_post_clone.sh'
info: downloading installer
warn: curl: (6) Could not resolve host: static.rust-lang.org
curl: (6) Could not resolve host: static.rust-lang.org
curl: (6) Could not resolve host: static.rust-lang.org
curl: (6) Could not resolve host: static.rust-lang.org
error: command failed: downloader https://static.rust-lang.org/rustup/dist/x86_64-apple-darwin/rustup-init /var/folders/6h/_32gb9js77g6c54h3q7g6q1h0000gn/T/tmp.yave38jqWa/rustup-init x86_64-apple-darwin
Error: Command exited with non-zero exit-code: 1
Warning: Running ci_post_clone.sh script failed (exited with code 1). Executable scripts are run using the interpreter specified in the shebang line.