From the SwiftSyntax README:
Swift-CI will automatically run the code generation step whenever a new toolchain (development snapshot or release) is published. It should thus almost never be necessary to perform the above build yourself.
However, this appears to have only worked once:
This makes it hard to use SwiftSyntax using the Swift Package Manager with any changes that have been merged in the last 3 months.