I’m not sure what people use those actions for normally, but since we suppress output and the build still reports BUILD SUCCEEDED, there is no way to see that these actions have failed.
However, this problem also occurs with Xcode.app (no red), so it won’t be any different than what people are used to, but it would be nice to do the better thing, not just what Xcode.app does.