I am following the guide here, and am running into an issue when cloning the swift repository for the first time:
/Users/username/Downloads/swift-project/ninja failed (ret=128): ['git', 'fetch', '--recurse-submodules=yes', '--tags']
kex_exchange_identification: read: Operation timed out
banner exchange: Connection to 126.96.36.199 port 22: Operation timed out
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
update-checkout failed, fix errors and try again
I have taken the following steps:
$ ninja --version 1.10.2 $ cmake --version cmake version 3.22.2 // I have not installed sccache because of issues > 0.2.14 and I am cloning the repo as a one-off.
mkdir swift-project cd swift-project
git clone firstname.lastname@example.org:apple/swift.git swift cd swift utils/update-checkout --clone-with-ssh
I don't understand what I am doing wrong, this seems like a foundational step. I meet the macOS requirements, use Xcode 13.2, meet the disk space requirements, and python installation requirements.
I have uploaded my SSH keys to my GitHub account and other ssh commands worked. I have also tried deleting some folders and re-cloning those repositories. Note that iCloud Drive is not an issue here since I have cloned the swift-project into my Downloads folder.
I hope you can help! I would be interested to understand how swift works.