I was trying out swift:5.7-slim (which seems to be swift:5.7-jammy-slim) and the swift command couldn't be found. The library files seem to be present, but the swift command in /usr/bin/swift is missing.
This also seems to be the case for swift:5.7-centos7-slim.
On the swift:5.7-jammy version, the command can be found.
I hope this is the right place to raise this bug.
If not, I would appreciate a pointer where to raise this issue.