Swift-format build error help

Hi, Not sure where to ask for help on this. I am trying to build swift-format git:(release/5.7) after running swift build I get the following output. I'm not sure where to start to fix this or know where the problem is. Thanks in advanced for any help.

➜  swift-format git:(release/5.7) swift build
Updating https://github.com/apple/swift-syntax
Updating https://github.com/apple/swift-tools-support-core.git
Updating https://github.com/apple/swift-argument-parser.git
Updated https://github.com/apple/swift-argument-parser.git (0.64s)
Updated https://github.com/apple/swift-tools-support-core.git (0.64s)
Updated https://github.com/apple/swift-syntax (0.64s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Updating https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.2.7 (0.02s)
Updated https://github.com/apple/swift-system.git (0.55s)
Computing version for https://github.com/apple/swift-syntax
Computed https://github.com/apple/swift-syntax at 0.50700.0 (0.03s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.1.4 (0.02s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.1.1 (0.02s)
error: Couldn’t check out revision ‘04d4497be6b88e524a71778d828790e9589ae1c4’:
    fatal: reference is not a tree: 04d4497be6b88e524a71778d828790e9589ae1c4
error: ExitCode(rawValue: 1)
[0/1] Planning build%