swift package update and build doesn’t work

After performing swift package update the command line gets stuck at fetching and nothing happens after that:

Updating https://github.com/apple/indexstore-db.git
Updated https://github.com/apple/indexstore-db.git (4.11s)
Fetching https://github.com/apple/swift-package-manager.git from cache

I want to build SourceKit-LSP from source and have the same issue with swift build I’m also pretty sure that there’s nothing wrong with the swift installation and my network.

So what is going wrong here?