I have used swift package add-dependency https://github.com/nvzqz/RandomKit.git --from 5.2.3 command to add package dependency and tried to build the project using command swift build i'm getting following output:
Fetched https://github.com/nvzqz/RandomKit.git from cache (0.88s)
Computing version for https://github.com/nvzqz/RandomKit.git
error: the Swift tools version specification is missing a label; consider inserting 'swift-tools-version:' between the comment marker and the version specifier
error: ExitCode(rawValue: 1)
[0/1] Planning build%```