Swift run --quiet is not quiet

I'm trying to use swift run --quiet to get just the output from the executable. I thought that --quiet would work given the description "Decrease verbosity to only include error output." but, no matter what I do, I keep getting build output on stderr:

[1/1] Write swift-version-62C46B7DD7C58376.txt
Build complete! (0.09s)

Is there a way to disable these messages?

1 Like

I believe this was fixed but may have regressed - see e.g.

and also

(you may want to file a new issue or provide a PR if possible to fix it...)

2 Likes

Thank you hassila, I'm stuck on Xcode 15.4 for the next month but I'll check after I upgrade and submit an issue if needed.

At least it's good to know --quiet means what I think it means.